Free AWS Certified Developer Associate DVA-C02 Practice Question

Your team's e-commerce application, hosted on AWS, frequently encounters performance bottlenecks during flash sales, leading to exceptions when processing payments. These exceptions are often due to database write limits being exceeded. To mitigate the issue, you've been asked to refine the application's interaction with the database. What pattern should you employ to address the limitation errors in your application logic?

  • Ignore the exceptions from the database and assume that the transactions will be processed eventually without any additional logic.

  • Automatically switch the database to on-demand capacity mode within the application logic when exceptions are caught.

  • Employ a retry mechanism that introduces increasing delays between attempts, along with random variation in timing (exponential backoff and jitter).

  • Dynamically adjust the provisioned capacity of the database immediately in the code based on the exceptions received.

  • Continuously attempt to resend the failed transactions at a fixed interval until they are processed without any exceptions.

This question's topic:
AWS Certified Developer Associate DVA-C02 / 
Development with AWS Services
Your Score:

Check or uncheck an objective to set which questions you will receive.