Which actions should the developer take to increase the resiliency of the application when the batch response includes values in UnprocessedKeys?
(Choose two.)
Retry the batch operation immediately.
Retry the batch operation with exponential backoff and randomized delay.
Update the application to use an AWS software development kit (AWS SDK) to make the requests.
Increase the provisioned read capacity of the DynamoDB tables that the operation accesses.
Increase the provisioned write capacity of the DynamoDB tables that the operation accesses.
Explanations:
Retrying immediately may overload the system and is likely to result in repeated throttling, as DynamoDB applies rate limits to prevent resource strain.
Exponential backoff with randomized delay is recommended for handling throttling in DynamoDB, reducing repeated load and allowing the system to recover.
Using the AWS SDK does not address throttling directly. The SDK can help implement best practices, but retry logic still needs to be coded explicitly.
Increasing the read capacity can prevent throttling on read-heavy workloads, reducing the likelihood of UnprocessedKeys in the response.
Write capacity affects write operations, not BatchGetItem, which is a read-only operation; thus, this will not help with UnprocessedKeys in this case.