CompTIA Study Materials
AWS Study Materials
AWS Certified Developer Associate AWS Certified Developer Associate
AWS Certified Developer Associate DVA-C02
AWS Certified Solutions Architect Associate AWS Certified Solutions Architect Associate
AWS Certified Solutions Architect Associate SAA-C03
AWS Cloud Practitioner AWS Cloud Practitioner
AWS Cloud Practitioner CLF-C02
Microsoft Study Materials
Microsoft Azure Fundamentals Microsoft Azure Fundamentals
Microsoft Azure Fundamentals AZ-900

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?

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

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

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

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

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

This question's topic:
AWS Certified Developer Associate DVA-C02 / 
Development with AWS Services
Your Score:
Development with AWS Services
Security
Deployment
Troubleshooting and Optimization