Microsoft Certified: Azure Solutions Architect ExpertDesign infrastructure solutionsHard

A global retail company is designing a new loyalty program application that needs to handle millions of customer interactions daily, including real-time updates to customer profiles and personalized offer delivery. The application must be highly scalable, fault-tolerant, and support asynchronous communication between various microservices. Which combination of Azure messaging services should be used to achieve these goals?

  1. AAzure Service Bus and Azure Event Hubs
  2. BAzure Storage Queues and Azure Event Grid
  3. CAzure Event Hubs and Azure Storage Queues
  4. DAzure Service Bus and Azure Event Grid
Show answer & explanation

Correct answer: D. Azure Service Bus and Azure Event Grid

Azure Service Bus is ideal for reliable, asynchronous messaging between microservices, supporting complex communication patterns and ensuring delivery for critical business transactions. Azure Event Grid is an event routing service that enables reactive, event-driven architectures, perfect for real-time updates and personalized offer delivery based on events.

Why the other options are wrong

  • A. Azure Event Hubs is for high-throughput stream ingestion, not typically used for reliable message queuing between microservices where Service Bus excels.
  • B. Azure Storage Queues are simpler, less feature-rich than Service Bus, and Event Grid is for event routing, not message queuing for microservices.
  • C. Azure Event Hubs is for streaming, and Storage Queues are too basic for complex microservice messaging and event-driven patterns.

Azure Messaging Services

Azure offers various messaging services (queues, topics, events) designed for different asynchronous communication patterns, including reliable message delivery, event-driven architectures, and high-throughput stream ingestion.

  • Azure Service Bus: Reliable messaging, queuing, topics, complex patterns
  • Azure Event Grid: Event routing for reactive architectures
  • Azure Event Hubs: High-throughput stream ingestion
  • Azure Storage Queues: Simple, basic message queuing

Memory trick: Service Bus for 'S'ure messages, Event Grid for 'E'very 'G'oal.

More Design infrastructure solutions questions