AWS Certified Developer Associate DVA-C02 Practice Question
You are implementing a notification system for an online shopping platform hosted on AWS. The system must send emails to customers after their order has been processed. Given that the order-processing system can become backlogged during peak times, which pattern should you employ to ensure that the email notifications do not block or slow down the order-processing workflow?
Use a synchronous pattern where the order-processing service sends the email directly before confirming the order as complete within the same workflow.
Implement a hybrid pattern, sending the email synchronously for premium customers, while using an asynchronous approach for regular customers.
Adopt a synchronous pattern for small batches of orders, switching to an asynchronous pattern only when detecting a processing backlog.
Employ an asynchronous pattern with a message queue that collects notifications to be processed by a separate email-sending service independently of order processing.
An asynchronous communication pattern is suitable for this scenario because it allows the order-processing logic to finish without waiting for the email to be delivered. The order service can publish a message to Amazon SQS (or another queue), which then triggers a separate component-such as an AWS Lambda function-to send the email. This decoupling lets the order system remain responsive under load. A synchronous approach would force each order request to wait for the email operation, creating latency and backlogs.
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 Amazon SQS and why is it used in asynchronous workflows?
Open an interactive chat with Bash
How does AWS Lambda work with Amazon SQS to process messages asynchronously?
Open an interactive chat with Bash
Why is a synchronous pattern not suitable for high-load order processing systems?
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 .