mediummultiple choiceObjective-mapped

A deny policy blocks creation of storage accounts with public network access enabled. A legacy application in RG-Legacy must keep one existing storage account publicly reachable for 45 days while the rest of the subscription remains governed by the policy. What should the administrator configure?

Question 1mediummultiple choice
Full question →

A deny policy blocks creation of storage accounts with public network access enabled. A legacy application in RG-Legacy must keep one existing storage account publicly reachable for 45 days while the rest of the subscription remains governed by the policy. What should the administrator configure?

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

A policy exemption at the RG-Legacy scope with an expiration date.

An exemption allows the specific scope to bypass the policy temporarily while keeping the policy active elsewhere.

B

Distractor review

A new role assignment that grants Owner on RG-Legacy.

RBAC does not override Azure Policy evaluation, so extra permissions will not bypass the deny rule.

C

Distractor review

A management lock on the storage account.

A lock prevents certain management operations, but it does not exempt the resource from policy enforcement.

D

Distractor review

A separate initiative assigned only to RG-Legacy with the deny setting disabled.

This weakens the governance model and replaces the targeted exemption with a separate policy baseline.

Common exam trap

Common exam trap: NAT rules depend on direction and matching traffic

NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.

Technical deep dive

How to think about this question

NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.

KKey Concepts to Remember

  • Static NAT maps one inside address to one outside address.
  • PAT allows many inside hosts to share one public address using ports.
  • Inside local and inside global describe the private and translated addresses.
  • NAT ACLs identify traffic for translation, not always security filtering.

TExam Day Tips

  • Identify inside and outside interfaces first.
  • Check whether the scenario needs static NAT, dynamic NAT or PAT.
  • Do not confuse NAT matching ACLs with normal packet-filtering intent.

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?

Static NAT maps one inside address to one outside address.

What is the correct answer to this question?

The correct answer is: A policy exemption at the RG-Legacy scope with an expiration date. — A policy exemption is the proper way to document and temporarily allow an exception to an enforced policy. By applying it at the RG-Legacy scope with an expiration, the administrator limits the exception to the required workload and keeps the rest of the subscription protected. This approach preserves compliance reporting and avoids weakening the policy definition for every other resource. Why others are wrong: Option B cannot bypass policy because RBAC permissions and policy compliance are separate control planes. Option C is a change-control tool, not a policy exception mechanism. Option D creates unnecessary drift by maintaining a separate, weaker policy path instead of a clearly governed temporary exemption.

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.