Azure Queue Storage · AZ-204: Developing Solutions for Microsoft Azure Connect to and Consume Azure and Third-party Services
A .NET application must place a 100 KiB document-related work item in Azure Queue Storage. What is the recommended design?
Practice question from Azure Queue Storage (AZ-204: Developing Solutions for Microsoft Azure Connect to and Consume Azure and Third-party Services), with the correct answer and a step-by-step solution.
easy · MCQ · Q-A6180F
A .NET application must place a 100 KiB document-related work item in Azure Queue Storage. What is the recommended design?
- A.Store the document in Blob Storage and enqueue a message containing its URI and required metadata.Correct answer
- B.Enqueue the entire document because Azure Queue Storage automatically splits large messages.
- C.Convert the document to Base64 because Base64 removes the queue message size limit.
- D.Use multiple queues automatically created by Queue Storage for each part of the document.
Solution
Azure Queue Storage messages have a maximum size of approximately 64 KiB. Store larger data in Blob Storage and place a blob URI or other reference in the queue message.
More from Azure Queue Storage
- A .NET worker retrieves a message from Azure Queue Storage and may need up to two minutes to process it. The worker calls ReceiveMessagesAs…
- An Azure Queue Storage worker receives a message, but processing fails repeatedly because the message contains invalid data. The applicatio…
- A long-running .NET worker receives a message using Azure.Storage.Queues and needs to extend the message's invisibility while processing co…
- A legacy worker reads Azure Queue Storage messages and expects the message body to be Base64-encoded. Which C code configures the Azure.Sto…
Practise more Connect to and Consume Azure and Third-party Services
Sign up free for adaptive practice on this chapter, with instant feedback and hints on every question.
Start practising freeFree to start · No credit card needed