AWS Certified Developer Associate DVA-C02 Practice Question
A developer is implementing a cloud-based messaging system where it's critical that messages are processed at least once, but the processing service is occasionally prone to temporary outages. How should the developer ensure message processing can be retried reliably without overwhelming the service when it comes back online?
Set up unlimited immediate retries for all failed messages
Create a dedicated error queue for failed message processing attempts
Increase the message visibility timeout to its maximum limit
Implement retries with exponential backoff and jitter
By implementing retries with exponential backoff and jitter, the developer can ensure that the message processing is retried reliably without overwhelming the service after an outage. Exponential backoff increases the delay between retry attempts, reducing the load on the service when it recovers, and jitter adds randomness to these delays to prevent synchronized retries. A dedicated error queue is not a retry mechanism but rather a way to separate unprocessable messages. Unlimited immediate retries could easily overwhelm the service, and increasing the message visibility timeout alone does not provide a mechanism for retrying message processing.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is exponential backoff, and how does it work in retries?
Open an interactive chat with Bash
Why is jitter important when using exponential backoff?
Open an interactive chat with Bash
What is a message visibility timeout, and why doesn’t increasing it solve the issue?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Development with AWS Services
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .