Microsoft Azure Developer Associate AZ-204 Practice Question
Your team is building a microservice that writes order messages to Azure Queue Storage. Each Base64-encoded JSON order averages 90 KB and must remain intact without changing existing serialization logic. What is the most cost-effective way to ensure every order can be enqueued successfully while staying within the limits of Azure Queue Storage?
Replace Azure Queue Storage with an Azure Service Bus Standard queue so the full JSON can be sent as one message.
Compress the JSON until it is under 48 KB and continue writing it directly to the queue.
Split each JSON document into multiple queue messages that share a correlation identifier.
Store the complete JSON document in Azure Blob Storage and place the blob's URL in a single queue message.
Azure Queue Storage imposes a hard 64-KB limit on the message that is actually stored in the queue. Because Base64 encoding adds roughly 33 percent overhead, only about 48 KB of original data can fit inside that 64-KB envelope. A 90-KB Base64-encoded JSON document therefore exceeds the queue's size limit. Microsoft documentation recommends the claim-check pattern: keep the full payload in Azure Blob Storage and enqueue only a small reference (for example, the blob URL). This allows every order to be processed while continuing to use the low-cost Storage queues. Compressing or splitting the message adds extra complexity, and moving to Service Bus would raise costs without being necessary for this requirement.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Azure Queue Storage and its message size limitation?
Open an interactive chat with Bash
What is the claim-check pattern and how does it work in Azure?
Open an interactive chat with Bash
Why is Base64 encoding necessary, and how does it affect message storage?
Open an interactive chat with Bash
Microsoft Azure Developer Associate AZ-204
Connect to and consume Azure services and third-party services
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .