AWS Certified Developer Associate DVA-C02 Practice Question
Which design pattern can improve the resiliency of a microservices architecture by using a publish/subscribe service that distributes each event concurrently to multiple independent message queues so that every consumer processes the event in isolation?
Expose every microservice through synchronous REST API calls and invoke them sequentially from the producer service.
Store all events in a shared relational database table that each microservice queries for new records.
Send every message to a single Amazon SQS queue that all consumer services poll in turn.
Configure an Amazon SNS topic that fans out each published message to a dedicated Amazon SQS queue for every consumer microservice.
Using an Amazon SNS topic to fan out events to separate Amazon SQS queues is a proven pattern for decoupling producers and consumers. Each microservice reads from its own queue, so a failure or slowdown in one consumer does not block others. The queues buffer messages, add durability, and let each service scale at its own pace, increasing overall fault tolerance of the system.
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 SNS and how does it work with Amazon SQS?
Open an interactive chat with Bash
Why is fan-out architecture better for microservices compared to a shared relational database?
Open an interactive chat with Bash
What are the advantages of using Amazon SNS with Amazon SQS over a single shared SQS queue?
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 .