
Answer-first summary for fast verification
Answer: Implement exponential backoff in the application code upon encountering the error., Adopt AWS SDKs for DynamoDB integration, which include automatic retry logic.
The correct answers are A and B. Implementing exponential backoff (A) is a cost-effective way to handle the ProvisionedThroughputExceededException error as it helps manage retries more efficiently, reducing the likelihood of hitting throughput limits repeatedly. Using AWS SDKs for DynamoDB (B) is also recommended because these SDKs have built-in best practices, including automatic retry logic with exponential backoff, which can help mitigate throughput exceedance errors. Options C, D, and E involve additional costs and may not be as cost-effective as implementing exponential backoff and using AWS SDKs.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
An EC2-deployed application using DynamoDB encounters ProvisionedThroughputExceededException during writes. Identify the most cost-effective solutions to mitigate this error (select two):
A
Implement exponential backoff in the application code upon encountering the error.
B
Adopt AWS SDKs for DynamoDB integration, which include automatic retry logic.
C
Enhance the table's read and write capacity.
D
Deploy a DAX cluster to improve the table's performance.
E
Establish an additional DynamoDB table to balance the load.
No comments yet.