Question

Difficulty: EasyMethods of Deploying and Operating in AWS

A developer is writing a custom Java application that needs to insert records into an Amazon DynamoDB table. Which of the following should the developer use to interact with DynamoDB programmatically within the application code?

  1. A
    AWS Management Console
  2. B
    AWS Command Line Interface (CLI)
  3. AWS Software Development Kit (SDK)Answer
  4. D
    AWS CloudFormation

Answer

AWS Software Development Kit (SDK)
The AWS Software Development Kit (SDK) is the correct choice because it provides language-specific libraries and APIs (such as for Java, Python, or .NET) that allow developers to programmatically interact with AWS services directly from their application code.

Step-by-Step Solution

1
Identify the requirement of programmatically interacting with AWS services (inserting database records) directly from application source code.
Requires a tool that provides programming libraries and APIs.
The application code needs to communicate directly with Amazon DynamoDB APIs using a programming language (like Java).
2
Evaluate the available AWS operating and deployment tools (Console, CLI, SDK, CloudFormation) against this programmatic requirement.
The AWS SDK is designed specifically for programmatic service interaction within application code.
While the Console is graphical, the CLI is shell-based, and CloudFormation is for resource provisioning, the SDK provides the libraries needed for developer code.

Key Concept

AWS Software Development Kit (SDK) is used for programmatically interacting with AWS services within application code.
Rate this question