mediummultiple choiceObjective-mapped

A policy at the management group denies storage accounts that allow public network access. One legacy storage account in RG-Legacy must stay public for 30 days while a migration runs, and the team does not want to change the policy for everyone else. What should the administrator create?

Question 1mediummultiple choice
Full question →

A policy at the management group denies storage accounts that allow public network access. One legacy storage account in RG-Legacy must stay public for 30 days while a migration runs, and the team does not want to change the policy for everyone else. What should the administrator create?

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

A resource lock on the storage account

A lock controls delete or write behavior, but it does not override Azure Policy evaluation.

B

Best answer

A policy exemption for that storage account

A policy exemption is designed for temporary or justified exceptions to an assignment without weakening the control for all other resources. It lets the legacy storage account remain out of compliance for the approved period while the deny policy continues to apply everywhere else under the management group.

C

Distractor review

A second policy assignment with higher priority

Azure Policy does not use priority order in the same way network rules do, so this is not a valid exception method.

D

Distractor review

A custom RBAC role for the migration team

RBAC permissions do not change whether a resource is compliant with a policy or exempt from it.

Common exam trap

Common exam trap: ACLs stop at the first match

ACLs are processed top to bottom. The first matching entry wins, and an implicit deny usually exists at the end.

Technical deep dive

How to think about this question

ACL questions test precision: source, destination, protocol, port and direction. A generally correct ACL can still fail if it is applied on the wrong interface or in the wrong direction.

KKey Concepts to Remember

  • Standard ACLs match source addresses.
  • Extended ACLs can match source, destination, protocol and ports.
  • The first matching ACL entry is used.
  • There is usually an implicit deny at the end.

TExam Day Tips

  • Check inbound versus outbound direction.
  • Read the ACL from top to bottom.
  • Look for a broader permit or deny above the intended line.

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?

Standard ACLs match source addresses.

What is the correct answer to this question?

The correct answer is: A policy exemption for that storage account — A policy exemption is the correct governance tool when one resource needs a documented exception to an existing policy assignment. It allows the legacy storage account to remain public temporarily while preserving the deny rule for the rest of the environment. This keeps compliance reporting accurate and avoids weakening security controls globally just to accommodate one migration case. Why others are wrong: A lock affects deletion or modification but does not bypass policy compliance checks. Azure Policy does not rely on priority-based overrides, so a second assignment is not the right exception mechanism. RBAC changes user permissions, not the compliance state of a resource.

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.