AZ-305 Question 176
Select 3An online retail company needs to track product inventory changes in real time across multiple regional warehouses and automatically update its e-commerce system. They want a solution that can ingest high volumes of events, scale easily, and minimize operational overhead. Historical event data will be stored in a data lake for analytics. Which three components should you recommend to implement this event-driven architecture with minimal overhead and real-time processing?
- A
Use Azure Event Hubs to ingest inventory changes at scale.
- B
Use Azure Logic Apps to poll for new inventory data every minute from the warehouse database.
- C
Use Azure Event Grid to orchestrate and route inventory update events to various services.
- D
Use Azure Functions that trigger upon receiving events from Event Hubs or Event Grid.
- E
Deploy a set of Azure Virtual Machines that continuously poll the warehouse database for changes.
Show answer and explanation
Correct answers: A, C, D
Explanation
In a real-time event-driven scenario, combining Azure Event Hubs for high-throughput ingestion, Azure Event Grid for event routing, and Azure Functions for serverless processing aligns with best practices for minimal operational overhead and scalability. See Microsoft’s event-driven architecture documentation (https://learn.microsoft.com/azure/architecture/azure-services/compute#event-driven) for guidance on designing robust event-driven solutions in Azure.
- A. Correct.
Option 1 is CORRECT. Azure Event Hubs is designed for high-throughput event ingestion, making it ideal for capturing large volumes of inventory changes in real time.
- B. Incorrect.
Option 2 is INCORRECT. Regularly polling a database via Azure Logic Apps introduces unnecessary overhead, latency, and is not truly event-driven. This approach conflicts with real-time processing requirements.
- C. Correct.
Option 3 is CORRECT. Azure Event Grid provides a flexible publish-subscribe model, automatically routing inventory update events to subscribed services, enabling low-latency and scalable event distribution.
- D. Correct.
Option 4 is CORRECT. Azure Functions can be triggered by events from Event Hubs or Event Grid, providing a serverless compute platform for lightweight, on-demand processing of inventory updates.
- E. Incorrect.
Option 5 is INCORRECT. Deploying Azure VMs to continuously poll for changes is inefficient and does not leverage the advantages of serverless event-driven architecture. It also increases operational overhead.