nerdexam
Amazon

DVA-C02 · Question #58

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…

The correct answer is B. Retry the batch operation with exponential backoff and randomized delay. D. Increase the provisioned read capacity of the DynamoDB tables that the operation accesses. For B: "If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still…

Submitted by ahmad_uae· Mar 5, 2026Troubleshooting and Optimization

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.)

Options

  • ARetry the batch operation immediately.
  • BRetry the batch operation with exponential backoff and randomized delay.
  • CUpdate the application to use an AWS software development kit (AWS SDK) to make the
  • DIncrease the provisioned read capacity of the DynamoDB tables that the operation accesses.
  • EIncrease the provisioned write capacity of the DynamoDB tables that the operation accesses.

How the community answered

(28 responses)
  • A
    7% (2)
  • B
    50% (14)
  • C
    14% (4)
  • E
    29% (8)

Explanation

For B: "If DynamoDB returns any unprocessed items, you should retry the batch operation on those items. However, we strongly recommend that you use an exponential backoff algorithm. If you retry the batch operation immediately, the underlying read or write requests can still fail due to throttling on the individual tables" For D: "The most likely cause of a failed read or a failed write is throttling. For BatchGetItem, one or more of the tables in the batch request does not have enough provisioned read capacity to support the operation." Extracted from Error Handling Documentation: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html #BatchOperations

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice