AZ-305 exam dumps

AZ-305 practice question 177 of 243

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

AZ-305 Question 177

Select 2

A manufacturing company collects temperature and humidity sensor data from thousands of IoT devices. They're looking to design an event-driven, decoupled architecture with minimal management overhead. The solution must efficiently distribute events to multiple downstream microservices for real-time processing and anomaly detection. Which of the following approaches would best meet these requirements? (Choose two.)

  1. A

    Use Azure Service Bus to ingest device data, then create a Logic App trigger for each subscribed microservice.

  2. B

    Use Azure Event Grid to route events from IoT Hub to multiple microservices, leveraging Azure Functions for anomaly detection.

  3. C

    Use an N-tier architecture where each device sends REST requests directly to microservices, with synchronous handoffs for data exchange.

  4. D

    Use Azure Event Hubs to capture high-throughput telemetry and connect Azure Stream Analytics outputs to multiple downstream services.

Show answer and explanation

Correct answers: B, D

Explanation

Event-driven architectures in Azure typically leverage services such as IoT Hub, Event Hubs, and Event Grid to decouple producers (devices) and consumers (microservices). Azure Event Grid offers a robust publish-subscribe model with minimal overhead, while Azure Event Hubs is well-suited for large-scale telemetry ingestion and real-time analytics. For detailed best practices, refer to Microsoft's documentation on 'Event-driven architectures' at https://learn.microsoft.com/azure/architecture/guide/architecture-styles/event-driven.

  • A. Incorrect.

    Option 1: While Azure Service Bus can handle messages between applications, it is more commonly used for scenarios requiring ordered delivery or transaction support. For large-scale IoT data ingestion, IoT Hub or Event Hubs paired with Event Grid or Functions typically offers more flexibility and simpler scaling.

  • B. Correct.

    Option 2: Correct. Azure Event Grid can be triggered by events from IoT Hub and then fan out to multiple subscribers (e.g., Azure Functions). This is an ideal solution for an event-driven architecture that requires minimal overhead and real-time distribution of events.

  • C. Incorrect.

    Option 3: Direct REST calls to microservices for each device introduce tight coupling and can become a bottleneck under high loads. This approach lacks the decoupling and scalability benefits of an event-driven design.

  • D. Correct.

    Option 4: Correct. Azure Event Hubs is optimized for high-throughput event ingestion. Paired with Azure Stream Analytics and downstream services, it enables a highly scalable, near real-time processing pipeline consistent with event-driven principles.

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