AWS Certified Developer – Associate (DVA-C02) — Question 228
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 ProvisionedThroughputExceededException error.
Which actions should the developer take to resolve this issue? (Choose two.)
Answer options
- A. Move the application to a larger EC2 instance.
- B. Increase the number of read capacity units (RCUs) that are provisioned for the DynamoDB table.
- C. Reduce the frequency of requests to DynamoDB by implementing 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
Selecting option C is correct as implementing exponential backoff can help manage request rates and reduce the likelihood of hitting throughput limits. Option E is also valid because changing to on-demand capacity can automatically adjust to the application’s needs, preventing errors due to provisioned capacity limits. The other options either increase demand or do not address the underlying capacity issues effectively.