- A
A public access level on the container
Why wrong: Public access exposes data to anonymous users.
- B
A service SAS scoped to the container with read permission and expiry
A service SAS can grant limited, time-bound permissions without exposing account keys.
- C
A management group assignment
Why wrong: Management groups govern Azure resources but do not provide temporary blob read tokens.
- D
The storage account access key
Why wrong: Account keys grant broad access and are not appropriately scoped.
Quick Answer
The answer is a service SAS scoped to the container with read permission and a two-hour expiry. This is correct because a service SAS provides delegated, time-limited access to a specific Azure Storage resource—here, a single container—without exposing the account key, and its granular permissions allow read-only access to blobs within that container. On the AZ-204 exam, this scenario tests your understanding of shared access signatures versus account keys and the importance of scoping permissions to the least privilege; a common trap is choosing an account SAS or a stored access policy unnecessarily, which would either grant broader access or require custom scripts to manage. Remember that for container-level access without the account key, a service SAS is the direct, script-free solution. Memory tip: “Service SAS for single-class access” — think of a service SAS as a limited-time hall pass for just one container’s blobs.
AZ-204 Develop for Azure storage Practice Question
This AZ-204 practice question tests your understanding of develop for azure storage. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. A key principle to apply: a service SAS grants delegated access to a specific storage resource.. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A storage account for thumbnail metadata must allow an application to read only blobs under one container for two hours. The application should not receive the account key. What should be issued? The design must avoid adding custom operational scripts.
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
A service SAS scoped to the container with read permission and expiry
A service SAS (Shared Access Signature) scoped to a specific container with read permission and an expiry time of two hours meets the requirement: it grants time-limited read access to blobs under that container without exposing the account key. The SAS token is issued to the application, which can then use it to authenticate requests directly to Azure Blob Storage, avoiding the need for custom scripts.
Key principle: A service SAS grants delegated access to a specific storage resource.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
A public access level on the container
Why it's wrong here
Public access exposes data to anonymous users.
- ✓
A service SAS scoped to the container with read permission and expiry
Why this is correct
A service SAS can grant limited, time-bound permissions without exposing account keys.
Related concept
A service SAS grants delegated access to a specific storage resource.
- ✗
A management group assignment
Why it's wrong here
Management groups govern Azure resources but do not provide temporary blob read tokens.
- ✗
The storage account access key
Why it's wrong here
Account keys grant broad access and are not appropriately scoped.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates may confuse a service SAS with a public access level (Option A) because both allow read access, but they fail to recognize that public access is permanent and unrestricted, whereas a SAS provides time-limited, scoped access without exposing the account key.
Detailed technical explanation
How to think about this question
A service SAS is generated using the storage account key (or a user delegation key) and includes parameters such as signed permissions (r for read), signed resource (c for container), signed expiry (se), and signed start (st). The SAS token is appended to the blob endpoint URL as a query string, enabling the application to authenticate via the shared key scheme without exposing the account key. Under the hood, Azure Storage validates the SAS signature, expiry, and permissions on each request, ensuring fine-grained, time-bound access.
KKey Concepts to Remember
- A service SAS grants delegated access to a specific storage resource.
- SAS tokens can define permissions (e.g., read, write, delete) and an expiry time.
- Applications use the SAS token in a URI to authenticate requests.
- SAS tokens avoid distributing the storage account's primary access keys.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
A service SAS grants delegated access to a specific storage resource.
Real-world example
How this comes up in practice
A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
What to study next
Got this wrong? Here's your next step.
Review a service SAS grants delegated access to a specific storage resource., then practise related AZ-204 questions on the same topic to reinforce the concept.
- →
Develop for Azure storage — study guide chapter
Learn the concepts, then practise the questions
- →
Develop for Azure storage practice questions
Targeted practice on this topic area only
- →
All AZ-204 questions
997 questions across all exam domains
- →
Microsoft Azure Developer Associate AZ-204 study guide
Full concept coverage aligned to exam objectives
- →
AZ-204 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related AZ-204 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Develop Azure compute solutions practice questions
Practise AZ-204 questions linked to Develop Azure compute solutions.
Develop for Azure storage practice questions
Practise AZ-204 questions linked to Develop for Azure storage.
Implement Azure security practice questions
Practise AZ-204 questions linked to Implement Azure security.
Connect to and consume Azure services and third-party services practice questions
Practise AZ-204 questions linked to Connect to and consume Azure services and third-party services.
Monitor, troubleshoot, and optimize Azure solutions practice questions
Practise AZ-204 questions linked to Monitor, troubleshoot, and optimize Azure solutions.
AZ-204 fundamentals practice questions
Practise AZ-204 questions linked to AZ-204 fundamentals.
AZ-204 scenario practice questions
Practise AZ-204 questions linked to AZ-204 scenario.
AZ-204 troubleshooting practice questions
Practise AZ-204 questions linked to AZ-204 troubleshooting.
Practice this exam
Start a free AZ-204 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this AZ-204 question test?
Develop for Azure storage — This question tests Develop for Azure storage — A service SAS grants delegated access to a specific storage resource..
What is the correct answer to this question?
The correct answer is: A service SAS scoped to the container with read permission and expiry — A service SAS (Shared Access Signature) scoped to a specific container with read permission and an expiry time of two hours meets the requirement: it grants time-limited read access to blobs under that container without exposing the account key. The SAS token is issued to the application, which can then use it to authenticate requests directly to Azure Blob Storage, avoiding the need for custom scripts.
What should I do if I get this AZ-204 question wrong?
Review a service SAS grants delegated access to a specific storage resource., then practise related AZ-204 questions on the same topic to reinforce the concept.
What is the key concept behind this question?
A service SAS grants delegated access to a specific storage resource.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more ways this is tested on AZ-204
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A storage account for thumbnail metadata must allow an application to read only blobs under one container for two hours. The application should not receive the account key. What should be issued?
hard- A.A public access level on the container
- ✓ B.A service SAS scoped to the container with read permission and expiry
- C.A management group assignment
- D.The storage account access key
Why B: A service SAS scoped to a container with read permission and an expiry of two hours is the correct approach because it provides delegated, time-limited access to specific blobs under that container without exposing the storage account key. The SAS token is generated using the account key but the application only receives the token, not the key itself, ensuring the key remains secure. This meets the requirement for read-only access to a single container for a limited duration.
Last reviewed: Jun 11, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.