The answer is Azure Policy. Azure Policy is the correct choice because it enforces organizational standards by evaluating deployment requests against defined rules, such as requiring a specific tag like 'CostCenter' on all resources. When a deployment attempts to create a resource without that required tag, Azure Policy’s built-in deny effect blocks the request before the resource is provisioned, acting as a gatekeeper for compliance. On the AZ-104 exam, this scenario tests your understanding of how Azure Policy differs from Azure RBAC (which controls permissions) and resource locks (which prevent deletion or modification). A common trap is confusing a missing tag denial with a lock or permission issue, but remember: if the error message mentions a policy or compliance rule, it’s Azure Policy. Memory tip: “Policy prevents, locks protect, RBAC permits.”
AZ-104 Manage Azure Identities and Governance Practice Question
This AZ-104 practice question tests your understanding of manage azure identities and governance. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
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?
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'.
A
Azure Policy
Azure Policy evaluates the request against compliance rules and can deny deployment when required conditions are not met.
B
Azure RBAC
Why wrong: RBAC controls who can perform actions, but it does not check whether a resource has the correct tag.
C
Resource locks
Why wrong: Locks prevent delete or write operations on existing resources, but they do not enforce tagging rules at deployment time.
D
Azure Monitor
Why wrong: Azure Monitor collects metrics and logs, but it does not block resource creation based on tag compliance.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Azure Policy
Azure Policy is the correct answer because it enforces organizational standards and compliance rules, such as requiring specific tags on resources. When a policy is defined to require a tag (e.g., 'CostCenter') and a deployment attempts to create a resource without that tag, Azure Policy evaluates the request against the policy assignment and denies the deployment. This is a built-in capability of Azure Policy, not a permission or lock mechanism.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✓
Azure Policy
Why this is correct
Azure Policy evaluates the request against compliance rules and can deny deployment when required conditions are not met.
Related concept
Read the scenario before looking for a memorised answer.
✗
Azure RBAC
Why it's wrong here
RBAC controls who can perform actions, but it does not check whether a resource has the correct tag.
✗
Resource locks
Why it's wrong here
Locks prevent delete or write operations on existing resources, but they do not enforce tagging rules at deployment time.
✗
Azure Monitor
Why it's wrong here
Azure Monitor collects metrics and logs, but it does not block resource creation based on tag compliance.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse Azure Policy (which enforces rules on resource properties like tags) with Azure RBAC (which controls user permissions), leading them to incorrectly select RBAC when the issue is about missing configuration, not insufficient access rights.
Detailed technical explanation
How to think about this question
Azure Policy uses policy definitions written in JSON (e.g., requiring a tag with a specific value) and assigns them to a scope (management group, subscription, resource group). During resource creation or update, the Azure Resource Manager (ARM) evaluates the request against all applicable policy assignments before allowing the operation. If a policy with a 'deny' effect is violated, the deployment is blocked with an HTTP 403 (Forbidden) status and a detailed error message indicating which policy was violated.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this AZ-104 question in full detail.
Manage Azure Identities and Governance — This question tests Manage Azure Identities and Governance — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Azure Policy — Azure Policy is the correct answer because it enforces organizational standards and compliance rules, such as requiring specific tags on resources. When a policy is defined to require a tag (e.g., 'CostCenter') and a deployment attempts to create a resource without that tag, Azure Policy evaluates the request against the policy assignment and denies the deployment. This is a built-in capability of Azure Policy, not a permission or lock mechanism.
What should I do if I get this AZ-104 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This AZ-104 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-104 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.