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?
Store all events in a shared relational database table that each microservice queries for new records.
Configure an Amazon SNS topic that fans out each published message to a dedicated Amazon SQS queue for every consumer microservice.
Send every message to a single Amazon SQS queue that all consumer services poll in turn.
Expose every microservice through synchronous REST API calls and invoke them sequentially from the producer service.
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 are microservices in the context of software architecture?
Open an interactive chat with Bash
What is a publish/subscribe (pub/sub) service?
Open an interactive chat with Bash
How do message queueing services contribute to system resiliency?
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