Free Microsoft AZ-305 Actual Exam Questions - Question 10 Discussion
processing application. When a transaction in App1 requires shipping, a message is added to an
Azure Storage account queue, and then App2 listens to the queue for relevant transactions.
In the future, additional applications will be added that will process some of the shipping requests
based on the specific details of the transactions.
You need to recommend a replacement for the storage account queue to ensure that each additional
application will be able to read the relevant transactions.
What should you recommend?
It’s B. Topics let multiple apps subscribe separately and get filtered messages, which suits adding more processors better than a single queue or multiple queues. Data Factory isn’t designed for real-time messaging here.
Agree with the choice of B here. Unlike a single queue, a Service Bus topic lets multiple apps subscribe independently and get only the messages they care about using filters. That’s perfect for scaling out and adding more processors without duplicating logic or losing messages. Also, storage queues are pretty basic and don’t support multiple subscribers well, so D is out. The pipeline option C doesn’t really fit event messaging scenarios. So B seems like the best fit to enable flexible, multi-app processing of shipping requests.
Option B makes sense because topics let you have multiple subscribers filtering messages, which fits when different apps only want certain transactions. A queue wouldn’t duplicate messages for each app.
A vs B? Azure Service Bus queue (A) only supports one consumer per message, so it won’t work well for multiple apps needing the same messages. B (topic) allows multiple subscribers, which fits better here.
Probably B, since a Service Bus topic supports multiple subscribers for the same messages.
Maybe B, Azure Service Bus topic sounds right for multiple apps needing the same messages.