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?

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

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

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

  • 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).

AWS Certified Developer Associate DVA-C02
Development with AWS Services
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

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

Bash, the Crucial Exams Chat Bot
AI Bot