mediummultiple choiceObjective-mapped

Exhibit

Policy evaluation output
Definition name: Require-Environment
Assignment scope: /subscriptions/1111-2222
Compliance state: Non-compliant
Non-compliant resource: stapp01
Reason: Missing tag 'Environment'
Requirement: Any new resource created without the Environment tag must be prevented from deploying.

Based on the exhibit, which Azure Policy effect should be used so new resources without an Environment tag are blocked at deployment time?

Question 1mediummultiple choice
Full question →

Based on the exhibit, which Azure Policy effect should be used so new resources without an Environment tag are blocked at deployment time?

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

Audit

Audit reports non-compliance but allows the resource to be created, so it does not enforce the blocking requirement.

B

Distractor review

Append

Append can add or modify request content in some cases, but it is not the effect that directly blocks noncompliant deployments.

C

Best answer

Deny

Deny stops the deployment when the condition is not met, which is exactly what is needed to block resources missing the required tag.

D

Distractor review

Disabled

Disabled turns off the policy and removes enforcement entirely, which would allow noncompliant resources to be created.

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: Deny — Deny is the correct effect because the requirement is to prevent deployment of any resource that does not include the Environment tag. Audit would only report the problem after the fact, and append would not reliably enforce a hard block. Deny enforces the rule at creation time, which is the behavior the administrator needs for governance and compliance. Why others are wrong: Audit is useful for visibility, but it does not stop the resource from being created. Append is not the right enforcement model for this scenario. Disabled would remove the policy from effect entirely, which directly contradicts the requirement to block noncompliant resources. The clue in the exhibit is the non-compliant deployment requirement, which points to deny.

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.