AZ-305 exam dumps

AZ-305 practice question 174 of 243

Designing Microsoft Azure Infrastructure Solutions. Professional level, Microsoft. Free question with the correct answer and a full explanation.

AZ-305 Question 174

Single answer

An e-commerce platform needs to handle orders from multiple microservices, ensure reliable message delivery, handle sudden bursts of traffic, and preserve the order of certain messages (such as shipments). Which Azure messaging service should you recommend to meet these requirements?

  1. A

    Azure Service Bus

  2. B

    Azure Storage Queues

  3. C

    Azure Event Hubs

  4. D

    Azure Event Grid

Show answer and explanation

Correct answer: A

Explanation

Azure Service Bus is typically the best choice for enterprise-level messaging scenarios requiring ordered deliveries, dead-lettering, and robust error handling across multiple microservices. It also supports advanced patterns, such as transactions and sessions, which are pivotal for maintaining message sequencing. For more information, refer to the Microsoft documentation on 'Azure Service Bus features' and 'Choose between Microsoft messaging services.'

  • A. Correct.

    Option 1 (Azure Service Bus) is correct because it provides advanced features such as FIFO (First-In-First-Out) messaging with sessions, dead-lettering, and transactional support. It is well-suited for scenarios requiring guaranteed delivery and ordered message processing across multiple microservices.

  • B. Incorrect.

    Option 2 (Azure Storage Queues) is incorrect because while it supports reliable messaging and can handle high throughput, it does not natively preserve message ordering and lacks some of the advanced message handling capabilities of Azure Service Bus, such as sessions or transactions.

  • C. Incorrect.

    Option 3 (Azure Event Hubs) is incorrect because Event Hubs is primarily designed for telemetry ingestion (e.g., from IoT devices) requiring very high throughput. It provides partitioned event streaming and is not optimized for FIFO or transactional messaging patterns across multiple microservices.

  • D. Incorrect.

    Option 4 (Azure Event Grid) is incorrect because Event Grid is an event routing service focused on reactive event-driven architectures. It is not intended for queuing or maintaining message order. It also does not provide built-in mechanisms to ensure FIFO or transaction support.

Timed practice exam

Take a AZ-305 practice test under exam conditions

70 questions in 100 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam