AZ-204 · Question #185
Drag and Drop Question You develop software solutions for a mobile delivery service. You are developing a mobile app that users can use to order from a restaurant in their area. The app uses the…
The correct answer is Create a single Service Bus Namespace.; Create a single Service Bus topic.; Create a Service Bus subscription for each restaurant for which a driver can receive orders. The correct sequence is: (1) Create a single Service Bus Namespace as the top-level container for all messaging resources, (2) Create a single Service Bus topic to broadcast orders to all available drivers simultaneously using the pub/sub pattern, and (3) Create a Service Bus…
Question
Exhibit
Answer Area
Drag items
Correct arrangement
- Create a single Service Bus Namespace.
- Create a single Service Bus topic.
- Create a Service Bus subscription for each restaurant for which a driver can receive orders.
Explanation
The correct sequence is: (1) Create a single Service Bus Namespace as the top-level container for all messaging resources, (2) Create a single Service Bus topic to broadcast orders to all available drivers simultaneously using the pub/sub pattern, and (3) Create a Service Bus subscription for each restaurant so drivers only receive orders for their selected restaurants - with competing consumers on each subscription ensuring the first driver to accept removes the order. This architecture perfectly maps to the workflow: topics enable fan-out to multiple subscribers, per-restaurant subscriptions act as filters, and Service Bus's competing consumer model guarantees only one driver claims each order.
Topics
Community Discussion
No community discussion yet for this question.
