Question 214 of 997
Develop for Azure storagemediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is to create a Shared Access Signature (SAS) for the specific blob with a time limit. This approach is correct because a blob-level SAS grants delegated, time-limited access to a single file without exposing the storage account key or altering firewall rules, allowing users to download via a URL that expires automatically. On the AZ-204 exam, this scenario tests your understanding of granular access control versus account-level SAS or public access, with a common trap being to generate a container-level SAS instead of targeting the specific blob. Remember the memory tip: "Blob-level SAS for one-shot access" — when you need a time-limited download URL for a single file, scope the SAS to that blob, not the container.

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. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. 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.

You have an Azure Storage account that contains a blob container with thousands of small files. You need to generate a URL that allows users to download a single file for a limited time without changing the storage account's firewall rules or requiring authentication. Which approach should you use?

Question 1mediummultiple choice
Full question →

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

Create a Shared Access Signature (SAS) for the specific blob with a time limit

A Shared Access Signature (SAS) for a specific blob provides delegated, time-limited access to that blob without requiring the storage account key or changing firewall rules. By generating a SAS token with a defined expiration time and attaching it to the blob URL, users can download the file directly via HTTPS while the storage account remains secured behind its firewall and authentication requirements.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Create a Shared Access Signature (SAS) for the specific blob with a time limit

    Why this is correct

    SAS provides secure, time-limited delegated access to a specific resource without sharing the account key.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Provide the storage account key to the user so they can authenticate

    Why it's wrong here

    Sharing the storage account key grants full administrative access to the entire storage account, which is a security risk.

  • Assign the user an RBAC role (e.g., Storage Blob Data Reader) and have them authenticate via Microsoft Entra ID

    Why it's wrong here

    RBAC requires the user to be an Microsoft Entra ID user and authenticated; the question says 'without requiring authentication'.

  • Set the blob container's public access level to Blob (anonymous read access for blobs)

    Why it's wrong here

    This would make all blobs in the container publicly accessible, not just the single file, and does not provide time-limited access.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse a container-level SAS or public access with a service-level SAS, or mistakenly think RBAC roles can provide anonymous access, when in fact only a blob-level SAS meets the exact constraints of time-limited, single-file, no-authentication access without altering firewall rules.

Detailed technical explanation

How to think about this question

A SAS token is generated using the storage account key or a user delegation key, and it includes parameters such as 'sv' (signed version), 'se' (signed expiry), 'sp' (signed permissions, e.g., 'r' for read), and 'sr' (signed resource, e.g., 'b' for blob). The token is appended to the blob URL as a query string, enabling the Azure Storage service to validate the request without further authentication. In real-world scenarios, SAS tokens are ideal for sharing specific files with external users or generating pre-signed URLs for temporary downloads in web applications.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

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

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

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.

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 — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Create a Shared Access Signature (SAS) for the specific blob with a time limit — A Shared Access Signature (SAS) for a specific blob provides delegated, time-limited access to that blob without requiring the storage account key or changing firewall rules. By generating a SAS token with a defined expiration time and attaching it to the blob URL, users can download the file directly via HTTPS while the storage account remains secured behind its firewall and authentication requirements.

What should I do if I get this AZ-204 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

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.

Loading comments…

Sign in to join the discussion.

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.