Question 15 — AZ-104 Practice Exam 6
Your platform team wants to pilot a new Deny policy without blocking deployments, roll it out gradually only in two regions, and change the effect to Audit for one child subscription—without editing the original definition. What should you configure? (Select three answers)
Edit the built-in policy JSON to permanently switch the effect to Audit.
Disable enforcementMode on the assignment to run the policy in what-if mode.
Use resource selectors in the assignment to target specific locations.
Apply assignment-level overrides to change the effect from Deny to Audit for the child subscription.
Exclude the entire management group so nobody is impacted during the pilot.
Correct answers
Disable enforcementMode on the assignment to run the policy in what-if mode.
Use resource selectors in the assignment to target specific locations.
Apply assignment-level overrides to change the effect from Deny to Audit for the child subscription.
Explanations
Correct:
Disable enforcementMode on the assignment to run the policy in what-if mode. enforcementMode lets you test policy outcomes without enforcing Deny.
Use resource selectors in the assignment to target specific locations. Selectors can scope evaluation to certain regions or types for a gradual rollout.
Apply assignment-level overrides to change the effect from Deny to Audit for the child subscription. Overrides alter effects at assignment without modifying the definition.
Wrong:
Edit the built-in policy JSON to permanently switch the effect to Audit. Unnecessary and risky; the goal is to avoid changing the definition.
Exclude the entire management group so nobody is impacted during the pilot. Overly broad; defeats the purpose of a controlled pilot.