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?
Implement retries with exponential backoff and jitter
Increase the message visibility timeout to its maximum limit
Set up unlimited immediate retries for all failed messages
Create a dedicated error queue for failed message processing attempts
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?
Open an interactive chat with Bash
What is jitter and why is it important in retry mechanisms?
Open an interactive chat with Bash
How does a dedicated error queue differ from a retry mechanism?
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...
IT & Cybersecurity Package Join Premium for Full Access