Amazon

DVA-C02 practice question 7

AWS Certified Developer - Associate (DVA-C02) · free question 7 of 20

Question

A developer has an application that makes batch requests directly to Amazon DynamoDB by using the BatchGetItem low-level API operation. The responses frequently return values in the UnprocessedKeys element. Which actions should the developer take to increase the resiliency of the application when the batch response includes values in UnprocessedKeys? (Choose two.)
  • A. Retry the batch operation immediately.
  • B. Retry the batch operation with exponential backoff and randomized delay. Correct
  • C. Update the application to use an AWS software development kit (AWS SDK) to make the requests.
  • D. Increase the provisioned read capacity of the DynamoDB tables that the operation accesses. Correct
  • E. Increase the provisioned write capacity of the DynamoDB tables that the operation accesses.

Explanation

According to AWS documentation, when UnprocessedKeys are returned in a BatchGetItem response, it indicates that some items could not be processed due to insufficient read capacity. To increase resiliency, the developer should retry the batch operation with exponential backoff and randomized delay (B) to avoid overwhelming DynamoDB, and also consider increasing the provisioned read capacity of the DynamoDB tables (D) to handle the request load effectively.

Need the theory? Learn it free in the DVA-C02 course on Godlike Academy

Practice the whole free set

Answer all 20 free DVA-C02 questions with instant feedback, or unlock all 557 questions with Learn and Exam modes.