Data Ingestion and Transformation

A DynamoDB BatchWriteItem request succeeds but returns entries in UnprocessedItems during a traffic spike. What should the ingestion application do next?

Show the answer

Correct answerA. Retry only unprocessed items with exponential backoff

AWhy this is right: Retrying only unprocessed writes with increasing delays allows recovery without repeating completed work.

BWhy not this: Immediate full-batch retries add pressure and repeat writes that DynamoDB already completed.

CWhy not this: Immediate concurrent retries can worsen throttling by increasing the request rate.

DWhy not this: A successful BatchWriteItem response can still contain writes that were not processed.

UnprocessedItems identifies writes that DynamoDB did not complete. Retrying those items with exponential backoff reduces pressure during throttling; immediately retrying the entire batch adds load and repeats completed writes.