hardmultiple choiceObjective-mapped

A contractor needs to upload files into one blob container for six hours. The administrator must avoid sharing the storage account key, and the access token should keep working even if the storage account keys are rotated later. Which access mechanism should be issued?

Question 1hardmultiple choice
Full question →

A contractor needs to upload files into one blob container for six hours. The administrator must avoid sharing the storage account key, and the access token should keep working even if the storage account keys are rotated later. Which access mechanism should be issued?

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

An account SAS signed with the storage account key

This still depends on the account key, so rotating the keys can invalidate the access strategy.

B

Distractor review

A service SAS signed with the storage account key

This is container-scoped, but it still relies on the storage account key for signing.

C

Best answer

A user delegation SAS signed through Microsoft Entra authentication

User delegation SAS avoids exposing the account key and is signed with identity-based authorization.

D

Distractor review

The storage account access key itself in a temporary script variable

Sharing the account key directly violates the security requirement and creates broad long-lived access.

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: A user delegation SAS signed through Microsoft Entra authentication — A user delegation SAS is the best choice because it is issued through Microsoft Entra authentication rather than the storage account key. That means the contractor gets a time-limited token scoped to the required container, and later key rotation does not break the token because the token is not signed with the shared account key. This provides the narrowest practical access for the six-hour upload window while avoiding distribution of the storage secret itself. Why others are wrong: Both account SAS and service SAS depend on the storage account key, so they still create a key-management problem and can be impacted by key rotation decisions. Giving out the storage account key is the least secure option because it exposes broad storage access far beyond the container and time window. The requirement explicitly says not to share the key and to keep the token valid across key rotation, which points directly to a user delegation SAS.

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.