Microsoft Azure Data FundamentalsDescribe how to work with non-relational data on AzureHard
An IoT solution collects telemetry data from thousands of devices. Each device sends a small message (e.g., sensor reading, device status) every few seconds. The data needs to be stored for a short period (e.g., 24 hours) for immediate processing and then transferred to cold storage. Which Azure non-relational storage service is most appropriate for ingesting and temporarily storing these high-volume, small messages for short-term access?
- AAzure Queue Storage
- BAzure Table Storage
- CAzure Data Lake Storage Gen2
- DAzure Blob Storage
Show answer & explanationAnswer & explanation
Correct answer: A. Azure Queue Storage
Azure Queue Storage is a service for storing large numbers of messages that can be accessed from anywhere in the world via authenticated HTTP or HTTPS calls. It is ideal for decoupling components of cloud applications and for handling asynchronous communication, such as ingesting high-volume, small messages like IoT telemetry for short-term processing before archival.
Why the other options are wrong
- B. Azure Table Storage is a key-value store for structured data, not a message queue for transient, high-volume ingestion.
- C. Azure Data Lake Storage Gen2 is for big data analytics file systems, not for message queuing or temporary storage of small, transient messages.
- D. Azure Blob Storage is for storing large unstructured objects, not optimized for a high volume of small, transient messages that need to be processed in a queue.
Azure Queue Storage
A service for storing large numbers of messages that can be retrieved and processed by applications asynchronously.
- Ideal for decoupling application components.
- Supports millions of messages.
- Messages can be up to 64 KB.
- Offers a robust, asynchronous messaging solution.
Memory trick: Queues for messages, Blobs for big files.