0 votes
in AWS by

A company is adding items to an Amazon DynamoDB table from an AWS Lambda function that is written in Python. A developer needs to implement a solution that inserts records in the DynamoDB table and performs automatic retry when the insert fails.
Which solution meets these requirements with MINIMUM code changes?

  • A. Configure the Python code to run the AWS CLI through shell to call the PutItem operation
  • B. Call the PutItem operation from Python by using the DynamoDB HTTP API
  • C. Queue the items in AWS Glue, which will put them into the DynamoDB table
  • D. Use the AWS software development kit (SDK) for Python (boto3) to call the PutItem operation

1 Answer

0 votes
by

Correct answer is :- 

  • D. Use the AWS software development kit (SDK) for Python (boto3) to call the PutItem operations

Related questions

0 votes
asked Apr 19 in AWS by DavidAnderson
0 votes
asked Apr 17 by DavidAnderson
...