hardmulti selectObjective-mapped

A contractor needs to upload files into one blob container for six hours. The administrator must avoid sharing the storage account key and wants the access to expire automatically. Which two actions should the administrator take? Select two.

Question 1hardmulti select
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 wants the access to expire automatically. Which two actions should the administrator take? Select two.

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

Best answer

Generate a user delegation SAS for the contractor.

A user delegation SAS avoids exposing the storage account key and is signed through Microsoft Entra authentication.

B

Distractor review

Generate a service SAS by using the account key.

A service SAS depends on the storage account key, which the requirement explicitly says must not be shared.

C

Best answer

Set the SAS expiry to six hours.

A six-hour expiration directly satisfies the time limit and causes the access token to stop working automatically.

D

Distractor review

Enable anonymous blob access on the container.

Anonymous access removes authentication entirely and would expose the container far beyond the contractor requirement.

E

Distractor review

Create a storage account access key specifically for the contractor.

Storage account keys are high-privilege secrets and are not intended to be issued to individual contractors.

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 for the contractor. — The safest way to grant temporary upload access without exposing the storage account key is to use a user delegation SAS. That type of SAS is generated through Microsoft Entra authentication rather than via a shared key. Setting the SAS to expire in six hours ensures the contractor loses access automatically when the task window ends. Together, those actions meet the minimum-access and time-bound requirements. Why others are wrong: A service SAS still depends on the storage account key. Anonymous access bypasses authentication entirely and is far too permissive. Issuing a storage account key would defeat the security goal because that key can access much more than one container and is difficult to scope tightly.

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.