Hard1 markMultiple Choice
AZ-305 · Question 43 · Domain 4.2: Application Architecture
You are designing an event-driven microservices architecture for an e-commerce platform.
When a customer places an order, an 'OrderCreated' message is generated. This message must be processed by three separate downstream microservices: Inventory, Billing, and Shipping.
Requirements:
- Each microservice must receive its own copy of the message.
- If a microservice is temporarily offline, the message must be retained until the service comes back online.
- Messages must be processed in the exact order they were received (FIFO).
Which messaging service should you recommend?
You are designing an event-driven microservices architecture for an e-commerce platform.
When a customer places an order, an 'OrderCreated' message is generated. This message must be processed by three separate downstream microservices: Inventory, Billing, and Shipping.
Requirements:
- Each microservice must receive its own copy of the message.
- If a microservice is temporarily offline, the message must be retained until the service comes back online.
- Messages must be processed in the exact order they were received (FIFO).
Which messaging service should you recommend?
Answer options:
A.
Azure Event Grid
B.
Azure Service Bus Queues
C.
Azure Service Bus Topics and Subscriptions
D.
Azure Event Hubs
How to approach this question
Match 'multiple receivers' to Topics/Pub-Sub. Match 'retained if offline' and 'FIFO' to Service Bus.
Full Answer
C.Azure Service Bus Topics and Subscriptions✓ Correct
Azure Service Bus Topics and Subscriptions
Azure Service Bus Topics and Subscriptions provide a publish/subscribe (1:N) messaging model. The order service publishes one message to the Topic. The Inventory, Billing, and Shipping services each have their own Subscription to that Topic, meaning they each get a copy of the message. Service Bus is an enterprise message broker that guarantees message delivery, retains messages if a receiver is offline, and supports strict FIFO (First-In-First-Out) ordering using Message Sessions.
Common mistakes
Choosing Service Bus Queues. Queues are 1:1; the first service to read the message consumes it, leaving the others with nothing.
Practice the full Azure Solutions Architect Expert AZ-305 Practice Exam 5
55 questions · hints · full answers · grading
More questions from this exam
Q01Contoso Ltd has 50 subscriptions across 3 business units. Each business unit manages its own IT o...EasyQ02You are designing a monitoring solution for a hybrid environment. The environment consists of 200...MediumQ03Your company uses Microsoft Sentinel integrated with a Log Analytics workspace. The workspace ing...HardQ04You are designing an application monitoring strategy using Application Insights. The application ...MediumQ05A highly regulated financial institution is migrating to Microsoft 365 and Azure. They currently ...Hard
Expert