You have an Azure subscription that contains two applications, App1 and App2. When shipping is required in App1, a message is added to a queue. What should you recommend as a replacement for the storage account queue for future applications?

Master the Designing Microsoft Azure Infrastructure Solutions (AZ-305) with our comprehensive quiz. Access multiple choice questions with detailed explanations and hints. Prepare effectively for your Azure certification exam!

The recommendation to use a single Azure Service Bus topic is advantageous for several reasons that align with efficient messaging patterns and the needs of more complex application architectures.

Azure Service Bus topics allow for a publish-subscribe messaging model, which means that multiple subscribers can receive messages independently from the same topic. This is particularly useful if there are multiple applications or components that may need to react to the same event or message without tightly coupling them. Each subscriber can process messages in a way that fits their unique requirements, promoting a more modular and scalable architecture.

Using a topic instead of a queue enables scenarios where you can broadcast messages to all interested subscribers. This flexibility is crucial for developing applications that might require the same event to trigger different processing paths, such as analytics, logging, or real-time monitoring.

In contrast, a simple queue – whether from Azure Storage or even an Azure Service Bus queue – is designed for point-to-point communication. While queues are effective for ensuring message delivery between a producer and a single consumer, they do not fit well when the requirement is for multiple consumers to process the same message.

By recommending an Azure Service Bus topic for future applications, you enable a more robust architecture that can evolve and adapt to changing business needs, supporting a variety of subscribers for greater

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy