
Answer-first summary for fast verification
Answer: Implement exponential backoff to reduce request frequency to DynamoDB., Switch the DynamoDB table's capacity mode to on-demand.
To resolve the ProvisionedThroughputExceededException error, the developer should take the following actions: 1. Implement exponential backoff (Option C): By reducing the frequency of requests to DynamoDB through exponential backoff, the application can better handle bursts of data insertion requests without overwhelming the provisioned capacity. 2. Switch to on-demand capacity mode (Option E): Changing the DynamoDB table's capacity mode from provisioned to on-demand allows DynamoDB to automatically manage throughput capacity, accommodating various request rates without requiring manual adjustment of provisioned capacity settings. Therefore, the correct options are C and E.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
An application on a burstable nano EC2 instance is failing with a ProvisionedThroughputExceededException error due to exceeding the provisioned capacity of its DynamoDB table. What two actions can resolve this issue?
A
Upgrade the EC2 instance size.
B
Raise the provisioned read capacity units for the DynamoDB table.
C
Implement exponential backoff to reduce request frequency to DynamoDB.
D
Decrease the retry delay to increase request frequency to DynamoDB.
E
Switch the DynamoDB table's capacity mode to on-demand.