AWS Certified Developer – Associate — Question 396
A developer has built an application that inserts data into an Amazon DynamoDB table. The table is configured to use provisioned capacity. The application is deployed on a burstable nano Amazon EC2 Instance. The application logs show that the application has been failing because of a
ProvisionedThroughputExceedException error.
Which actions should the developer take to resolve this issue? (Choose two.)
Answer options
- A. Move The application to a larger EC instance.
- B. Increase the number or read capacity units (RCUs) that are provisioned for the DynamoDB table.
- C. Reduce the frequency of requests to DynamoDB by implement ng exponential backoff.
- D. Increase the frequency of requests to DynamoDB by decreasing the retry delay.
- E. Change the capacity mode of the DynamoDB table from provisioned to on-demand.
Correct answer: C, E
Explanation
A ProvisionedThroughputExceededException indicates that the application's request rate is higher than the provisioned capacity of the Amazon DynamoDB table. Implementing exponential backoff retries failed requests with increasing delays, which gracefully manages traffic spikes, while switching to on-demand capacity mode allows DynamoDB to automatically scale to handle unpredictable workloads. Adjusting the EC2 instance size will not resolve database throughput limits, and increasing RCUs is incorrect because the application is inserting (writing) data, which requires Write Capacity Units (WCUs) instead.