mediummultiple choiceObjective-mapped

Exhibit

Command run by administrator:
az storage container generate-sas --account-name corpfiles01 --name partnerdrop --permissions rwdl --expiry 2026-05-01T18:00Z --https-only
Message returned:
Shared Key authentication is disabled for this storage account.
Business requirement:
- Give an external partner 6 hours of upload and download access to one container.
- Do not expose the storage account key.
- Revoke access immediately after the work is complete.

Based on the exhibit, which method should the administrator use to grant the partner time-limited access to one container?

Question 1mediummultiple choice
Full question →

Based on the exhibit, which method should the administrator use to grant the partner time-limited access to one container?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

Generate a service SAS by using the storage account key and email the URL to the partner.

A service SAS depends on the shared key, which the exhibit says is disabled. Sharing the account key also gives broader access than needed and is harder to control safely.

B

Best answer

Generate a user delegation SAS after authenticating with Microsoft Entra ID.

A user delegation SAS is the safest temporary access method in this scenario because it does not require exposing the storage account key. It is signed with Microsoft Entra credentials, can be scoped to one container, and can be set to expire after six hours. That makes it easy to grant and revoke access while limiting permissions.

C

Distractor review

Make the container public and remove the SAS requirement from the partner workflow.

Public container access would expose data to anyone who knows or can discover the URL. It would also remove the ability to tightly control the six-hour access window required in the exhibit.

D

Distractor review

Assign the partner Storage Blob Data Contributor on the storage account and let them sign in interactively.

RBAC can work for Azure identities, but this does not match a temporary external sharing scenario well. It also grants broader ongoing access than the exhibit requires and is not as convenient for a one-time access window.

Common exam trap

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Technical deep dive

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

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.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • 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.

Related practice questions

Related AZ-104 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-104 question test?

Read the scenario before looking for a memorised answer.

What is the correct answer to this question?

The correct answer is: Generate a user delegation SAS after authenticating with Microsoft Entra ID. — A user delegation SAS is the best fit because the partner needs short-lived access to one container without receiving the storage account key. It is generated using Microsoft Entra authentication, can be limited to the necessary permissions, and expires automatically after the required time. That makes it more secure and more controllable than a service SAS or public access. Why others are wrong: A service SAS is tied to the shared key, which is disabled and would expose credentials. Public access is far too permissive for private partner data. RBAC alone is not the best answer for temporary external sharing because it typically requires an Azure identity and leaves more standing access than the scenario calls for.

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

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.