Hard1 markMultiple Choice
AZ-305 · Question 42 · Domain 4.2: Application Architecture
You are designing an event-driven architecture for an e-commerce platform.
When a customer places an order, an 'OrderCreated' message is generated. This message must be processed by three independent downstream microservices: Inventory, Billing, and Shipping.
The system must guarantee that every message is delivered to all three services, even if one of the services is temporarily offline. The messages must be processed in the exact order they were received.
Which messaging service should you recommend?
You are designing an event-driven architecture for an e-commerce platform.
When a customer places an order, an 'OrderCreated' message is generated. This message must be processed by three independent downstream microservices: Inventory, Billing, and Shipping.
The system must guarantee that every message is delivered to all three services, even if one of the services is temporarily offline. The messages must be processed in the exact order they were received.
Which messaging service should you recommend?
Answer options:
A.
Azure Event Grid
B.
Azure Service Bus Queues
C.
Azure Service Bus Topics
D.
Azure Event Hubs
How to approach this question
Identify the service that supports 1:Many delivery (pub/sub), guaranteed delivery, and ordered processing.
Full Answer
C.Azure Service Bus Topics✓ Correct
Azure Service Bus Topics
Azure Service Bus Topics provide a publish/subscribe (pub/sub) model. The 'OrderCreated' message is published to the Topic, and the Inventory, Billing, and Shipping services each have their own Subscription to that Topic. Each subscription receives a copy of the message. Service Bus holds the message until the service successfully processes it (guaranteed delivery). By enabling 'Message Sessions', Service Bus also guarantees First-In-First-Out (FIFO) ordered delivery.
Common mistakes
Choosing Service Bus Queues. Queues are point-to-point (1:1). If Inventory reads the message from a Queue, Billing and Shipping will never see it.
Practice the full Azure Solutions Architect Expert AZ-305 Practice Exam 2
55 questions · hints · full answers · grading
More questions from this exam
Q01Fabrikam Inc. is a global financial services company with 200 Azure subscriptions managed via a c...HardQ02A healthcare organization has 500 on-premises Windows Server VMs and 300 Azure VMs. They are impl...HardQ03You are designing a security monitoring solution using Microsoft Sentinel.
The compliance depar...EasyQ04Your company has a microservices application deployed across multiple Azure App Service instances...MediumQ05A defense contractor is migrating to Microsoft 365 and Azure. They have a strict security policy ...Hard
Expert