Microsoft Azure Data FundamentalsDescribe how to work with non-relational data on AzureEasy
A development team is building a new application that processes a large volume of small, independent messages. These messages need to be stored temporarily, processed asynchronously by backend workers, and automatically deleted after successful processing. Which Azure non-relational data service is most appropriate for this scenario?
- AAzure Data Lake Storage Gen2
- BAzure Table Storage
- CAzure Blob Storage
- DAzure Queue Storage
Show answer & explanationAnswer & explanation
Correct answer: D. Azure Queue Storage
Azure Queue Storage is specifically designed for storing large numbers of messages that can be accessed asynchronously by a receiver. It supports message visibility timeouts and automatic deletion after processing, making it ideal for decoupled application components.
Why the other options are wrong
- A. Azure Data Lake Storage Gen2 is for large-scale analytics, not for temporary, asynchronous message queuing.
- B. Azure Table Storage is a key-value store for structured NoSQL data, not designed for message queuing and temporary, transient messages.
- C. Azure Blob Storage is for storing unstructured binary data (files), not for message queuing with built-in asynchronous processing patterns.
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 used to decouple application components.
- Reliable, persistent messaging.
- Supports asynchronous communication between application parts.
- Messages can be up to 64 KB in size.
- Messages have a time-to-live and visibility timeout.
Memory trick: Queues are for messages, like a post office for letters.