Data Operations and Support

A Boto3 application calls DynamoDB BatchWriteItem and receives HTTP 200, but UnprocessedItems contains several writes. Which action completes the writes without unnecessarily resubmitting successful items?

Show the answer

Correct answerA. Retry only UnprocessedItems with exponential backoff.

AWhy this is right: UnprocessedItems identifies the remaining writes, and exponential backoff reduces pressure on the table.

BWhy not this: Paginators retrieve successive pages of results; they do not complete unprocessed batch writes.

CWhy not this: Resubmitting successful writes adds unnecessary requests; the response identifies the writes that still need processing.

DWhy not this: HTTP 200 can contain partial failures that require application handling, even when SDK request retries are enabled.

BatchWriteItem can return HTTP 200 with writes that were not processed; retry those items with exponential backoff. SDK request retries do not replace handling partial failures reported in a successful response.