easymultiple choiceObjective-mapped

Exhibit

Policy assignment summary:
Name: Require-Environment-Tag
Scope: /subscriptions/11111111-2222-3333-4444-555555555555
Effect: deny
Compliance state: Non-compliant

Deployment error:
Resource creation blocked by policy. The request did not include tag 'Environment'.

Based on the exhibit, which Azure service is preventing deployment because the resource is missing a required tag?

Question 1easymultiple choice
Full question →

Based on the exhibit, which Azure service is preventing deployment because the resource is missing a required tag?

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

Azure Monitor

Azure Monitor collects metrics and logs, but it does not block resource creation based on tag compliance.

B

Distractor review

Resource locks

Locks prevent delete or write operations on existing resources, but they do not enforce tagging rules at deployment time.

C

Best answer

Azure Policy

Azure Policy evaluates the request against compliance rules and can deny deployment when required conditions are not met.

D

Distractor review

Azure RBAC

RBAC controls who can perform actions, but it does not check whether a resource has the correct tag.

Common exam trap

Common exam trap: authentication is not authorization

Logging in proves the user can authenticate. It does not automatically mean the user is allowed to enter privileged or configuration mode. Watch for AAA authorization, privilege level and command authorization details.

Technical deep dive

How to think about this question

This kind of question is testing the difference between identity and permission. A user may successfully log in to a router because authentication is working, but still fail to enter configuration mode because authorization is missing, misconfigured or mapped to a lower privilege level.

KKey Concepts to Remember

  • Authentication checks who the user is.
  • Authorization controls what the user is allowed to do after login.
  • Privilege levels affect access to EXEC and configuration commands.
  • AAA, TACACS+ and RADIUS can separate login success from command access.

TExam Day Tips

  • Do not assume successful login means full administrative access.
  • Look for words such as cannot enter configuration mode, privilege level, authorization or command access.
  • Separate login problems from permission problems before choosing the answer.

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?

Authentication checks who the user is.

What is the correct answer to this question?

The correct answer is: Azure Policy — The exhibit shows a policy assignment with a deny effect and a non-compliant deployment missing the Environment tag. That is classic Azure Policy behavior. Azure Policy is used to enforce configuration standards such as required tags, allowed locations, or approved SKUs. RBAC would only determine whether the user can deploy resources, not whether the deployment meets governance rules. Why others are wrong: B is about authorization, not configuration compliance. C affects resource management actions but does not evaluate tag presence. D is for telemetry and alerting, not for blocking deployments that violate a governance rule.

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.