An application inserts items into a DynamoDB table configured with provisioned capacity. The app runs on a burstable 'nano' EC2 instance and is failing with ProvisionedThroughputExceededException. Which actions should the developer take to address this? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: Reduce the request rate to DynamoDB by implementing exponential backoff., Switch the DynamoDB table from provisioned capacity mode to on-demand capacity mode..
Why this is the answer
ProvisionedThroughputExceededException indicates that the application is attempting to consume more throughput than provisioned for the DynamoDB table. Reducing the request rate to DynamoDB by implementing exponential backoff is a standard and effective client-side strategy. It retries failed requests with progressively longer delays, preventing the client from overwhelming the table and allowing it to recover. Switching to on-demand capacity mode allows DynamoDB to automatically scale throughput based on actual workload, eliminating ProvisionedThroughputExceededException errors. This is a server-side solution that removes the need for manual capacity planning. Moving to a larger EC2 instance would not directly solve the DynamoDB throughput issue, as the bottleneck is the DynamoDB table's capacity, not the EC2 instance's compute power. Increasing RCUs (Read Capacity Units) is incorrect because the error is related to write operations (inserting items), not reads. Increasing the request rate would exacerbate the problem.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed