Microsoft Certified: Azure Developer Associate (AZ-204)Develop for Azure storageEasy
A developer is implementing a feature where an application needs to store temporary, small messages (up to 64 KB) that will be processed asynchronously by backend workers. The messages should be ordered and persist for a configurable period if the workers are offline. Which Azure storage service is most appropriate for this scenario?
- AAzure Cosmos DB
- BAzure Blob Storage
- CAzure Queue Storage
- DAzure Table Storage
Show answer & explanationAnswer & explanation
Correct answer: C. Azure Queue Storage
Azure Queue Storage is designed for storing large numbers of messages that can be accessed from anywhere in the world via authenticated calls using HTTP or HTTPS. It's ideal for decoupled application components.
Why the other options are wrong
- A. Azure Cosmos DB is a globally distributed, multi-model database service, overkill for simple message queuing and not its primary purpose.
- B. Azure Blob Storage is for storing large binary objects, not small, temporary messages for asynchronous processing.
- D. Azure Table Storage is for structured NoSQL data, not message queuing.
Azure Queue Storage
A service for storing large numbers of messages that can be accessed from anywhere in the world via authenticated calls using HTTP or HTTPS.
- Messages up to 64 KB.
- Asynchronous message processing.
- Decouples application components.
Memory trick: Think of a 'Q' for Queue, like a line for messages.