AZ-204 Develop Azure compute solutions Practice Question
You develop an Azure Function that writes to Azure Blob Storage. During testing, you notice that the function fails intermittently with a 503 (Service Unavailable) error. What is the most likely cause?
⚠ Common exam trap
Watch out — candidates often confuse HTTP status codes: 503 (Service Unavailable) is often mistaken for authentication or configuration errors, but it specifically indicates a server-side capacity issue, not a client-side misconfiguration.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The storage account is throttling requests due to high volume
A 503 (Service Unavailable) error from Azure Blob Storage indicates that the storage service is temporarily unable to handle the request, typically due to server-side load. The most common cause is throttling when the storage account exceeds its scalability targets (e.g., 20,000 requests per second per account for blob storage). This aligns with intermittent failures under high request volume, not with configuration or existence issues.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The storage account is throttling requests due to high volume
Why this is correct
A 503 Service Unavailable error from Azure Storage indicates that the service is temporarily unable to handle the request, often due to throttling. This occurs when the storage account exceeds its defined scalability targets for IOPS or bandwidth, a protective measure to ensure overall service stability and prevent a single client from monopolizing resources. Implementing retry logic with exponential backoff is crucial for applications encountering such transient errors.
- ✗
The storage account firewall is blocking the function
Why it's wrong here
A storage account firewall blocking an Azure Function would typically result in a 403 Forbidden error, not a 503. The 403 status code signifies that the server understood the request but refuses to authorize it, usually due to network access restrictions like IP address filtering or Virtual Network service endpoints. A 503, conversely, indicates server-side unavailability, not an access denial based on network policy.
- ✗
The function does not have proper authentication
Why it's wrong here
Improper authentication for an Azure Function accessing storage would lead to either a 401 Unauthorized or a 403 Forbidden error. A 401 indicates missing or invalid authentication credentials, while a 403 suggests that the provided credentials are valid but lack the necessary permissions for the requested operation. Neither of these status codes points to a 503 Service Unavailable, which implies a temporary server-side issue.
- ✗
The blob container does not exist
Why it's wrong here
If the specified blob container does not exist in the Azure Storage account, the client application would receive a 404 Not Found error. This HTTP status code specifically indicates that the requested resource, identified by its URI, could not be located on the server. A 503 Service Unavailable error, however, signifies that the server itself is temporarily unable to process requests, regardless of the resource's existence.
Quick reference
Azure Blob Storage Tier Comparison
| Tier | Storage Cost | Retrieval Cost | Latency | Use Case |
|---|---|---|---|---|
| Hot | Highest | Lowest | Immediate | Active data, frequent reads |
| Cool | Lower | Higher | Immediate | Data accessed < once / month |
| Cold | Lower still | Higher | Immediate | Data accessed < once / quarter |
| Archive | Lowest | Highest + rehydration delay | Hours | Long-term compliance retention |
Go deeper
Related to this question
About these practice questions
One of 881 original AZ-204 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.