Question

Difficulty: MediumMethods of Deploying and Operating in AWS

A fleet of Internet of Things (IoT) sensors deployed in the field needs to programmatically send temperature telemetry data directly to an Amazon DynamoDB table. The sensors run custom Python applications. Which AWS tool or interface should be embedded in the sensors' Python code to enable this programmatic data ingestion?

  1. AWS Software Development Kit (SDK)Answer
  2. B
    AWS Command Line Interface (CLI)
  3. C
    AWS Management Console
  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 API libraries (such as Boto3 for Python) that allow application code to interact programmatically and natively with AWS services like Amazon DynamoDB. This is the standard, secure, and most performant way to send data to AWS from custom applications.

Step-by-Step Solution

1
Analyze the access requirements of the scenario.
The IoT sensors run custom Python code and must programmatically interact with Amazon DynamoDB to ingest runtime telemetry data.
Understanding the mode of interaction (programmatic vs. manual) and the environment (code execution vs. command line) narrows down the appropriate tool.
2
Evaluate the capabilities of the available AWS interaction methods.
The AWS SDK provides APIs and libraries specifically built for programming languages like Python. The AWS Management Console is for manual graphical tasks, the AWS CLI is for command-line shell execution, and AWS CloudFormation is for infrastructure provisioning.
Comparing the primary design purpose of each tool allows selection of the one matching the programmatic requirements.
3
Select the correct option based on the evaluation.
The AWS SDK (specifically the Boto3 library for Python) is chosen as the standard method for application-level integration.
It natively implements the DynamoDB API operations directly within the Python runtime of the sensors.

Key Concept

AWS programmatic access methods and tools, specifically the AWS SDK, and how they contrast with other deployment and management tools like the CLI, Console, and CloudFormation.
Rate this question