Question

Difficulty: EasyMethods of Deploying and Operating in AWS

An application developer needs to write a custom Java program that programmatically interacts with AWS services, such as reading data from an Amazon DynamoDB table. Additionally, the developer wants to write local shell scripts on their computer to automate the creation of testing environments. Which TWO of the following tools or methods should the developer use to perform these actions? (Select TWO)

  1. AWS Software Development Kit (SDK)Answer
  2. AWS Command Line Interface (CLI)Answer
  3. C
    AWS CloudFormation
  4. D
    AWS Account Root User credentials
  5. E
    Amazon Elastic Compute Cloud (Amazon EC2)

Answer

AWS Software Development Kit (SDK) and AWS Command Line Interface (CLI)
The AWS SDK provides Java libraries enabling the application to connect to and retrieve data from DynamoDB programmatically. The AWS CLI allows the developer to write shell scripts that run on their local computer to automate AWS resource creation from the terminal.

Step-by-Step Solution

1
Identify the programmatic integration requirement
The requirement to run custom Java application code that reads from DynamoDB points to the AWS SDK.
AWS SDKs provide language-specific APIs to integrate AWS services programmatically.
2
Identify the local scripting automation requirement
The requirement to run command-line scripts to automate resource creation points to the AWS CLI.
AWS CLI is the standard tool for executing AWS commands directly from a terminal or local shell scripts.

Key Concept

AWS Programmatic Interaction Methods (SDK and CLI)
Rate this question