Microsoft Certified: Azure Developer Associate (AZ-204)Connect to and consume Azure services and third-party servicesEasy
A company is building an IoT solution where millions of devices will send small data packets (e.g., sensor readings, telemetry) every few seconds. The solution requires a highly scalable, low-latency data ingestion service that can handle a massive number of concurrent connections and allow multiple consumers to read the same data stream independently. Which Azure service should be used for data ingestion?
- AAzure Event Hubs
- BAzure Service Bus Queue
- CAzure Storage Queue
- DAzure Cosmos DB
Show answer & explanationAnswer & explanation
Correct answer: A. Azure Event Hubs
Azure Event Hubs is specifically designed for high-throughput, low-latency data ingestion from millions of sources, supporting multiple independent consumers through consumer groups. Service Bus Queues and Storage Queues are for message queuing, not high-volume event streaming with multiple consumers. Cosmos DB is a NoSQL database, not an ingestion service.
Why the other options are wrong
- B. Azure Service Bus Queues are suitable for reliable message delivery and processing by a single consumer (or competing consumers) but not for high-throughput event streaming with multiple independent consumers.
- C. Azure Storage Queues are simple, durable message queues, but they are not optimized for the high-throughput, low-latency, and multiple-consumer requirements of event streaming.
- D. Azure Cosmos DB is a globally distributed NoSQL database service, used for storing and querying data, not primarily for high-volume, low-latency event ingestion.
Azure Event Hubs
Azure Event Hubs is a highly scalable data streaming platform and event ingestion service that can ingest millions of events per second from diverse sources.
- Designed for big data streaming and event ingestion.
- Supports millions of concurrent connections.
- Provides low-latency ingestion.
- Allows multiple consumer groups to read the same event stream independently.
Memory trick: A hub for events, like a massive river, flowing to many destinations.