Courseiva
Manage Azure Identities and GovernanceeasyMultiple ChoiceObjective-mapped

AZ-104 Manage Azure Identities and Governance Practice Question

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?

⚠ Common exam trap

Many candidates 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.

Answer choices

Why each option matters

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.

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 is the correct answer because it performs at-scale compliance evaluation based on policy definitions assigned to a scope. When you attempt to deploy a resource, Azure Resource Manager routes the createOrUpdate request through the policy engine, which can emit a Deny action if required tags are missing. This enforcement happens synchronously before the resource is provisioned, making Policy the only listed service that actively prevents an untagged resource from being created.

  • Azure RBAC

    Why it's wrong here

    Azure RBAC determines whether a user, group, or service principal has permission to perform a specific action, such as Microsoft.Resources/deployments/write, via role assignments. It never inspects the properties of the resource being deployed, so a user with Contributor rights could successfully create a resource without the required tag unless a separate mechanism like Azure Policy denies it. RBAC is about authorization to act, not about the content of the action.

    When this WOULD be correct

    Azure RBAC would be the correct answer if the question described a deployment failure due to insufficient permissions, such as the user lacking 'Contributor' or 'Owner' role on the resource group or subscription, causing an authorization error.

  • Resource locks

    Why it's wrong here

    Resource locks, such as CanNotDelete or ReadOnly, are applied at the subscription, resource group, or resource level to protect against accidental deletion or modification by authorized users. They do not evaluate incoming deployment payloads for required tags, and a ReadOnly lock would block all writes, not just incorrectly tagged resources. So while locks control lifecycle operations, they are unrelated to tag compliance checks at deployment time.

    When this WOULD be correct

    Resource locks would be correct if the question described a scenario where a resource cannot be deleted or updated despite having correct permissions, and the issue is a lock preventing the operation (e.g., a Delete lock on a critical resource).

  • Azure Monitor

    Why it's wrong here

    Azure Monitor collects metrics and logs from your resources but operates only after they are created; it does not intercept Azure Resource Manager (ARM) deployment requests to validate tag compliance. Even with activity log alerts, Monitor can only notify you about a non-compliant resource post-creation, not deny its provisioning. Thus, it is a monitoring tool, not an enforcement mechanism for tagging rules.

    When this WOULD be correct

    Azure Monitor would be correct if the question asked which service to use for collecting and analyzing metrics and logs from deployed resources, or for setting up alerts based on performance or availability criteria.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-104 exam frequently reuses these exact scenarios with slightly different constraints.

Azure PolicyCorrect answer

Why this is correct

Azure Policy is the correct answer because it performs at-scale compliance evaluation based on policy definitions assigned to a scope. When you attempt to deploy a resource, Azure Resource Manager routes the createOrUpdate request through the policy engine, which can emit a Deny action if required tags are missing. This enforcement happens synchronously before the resource is provisioned, making Policy the only listed service that actively prevents an untagged resource from being created.

Azure RBACWrong answer — click to see why

Why this is wrong here

Azure RBAC manages access permissions to resources, not enforcement of tags. The question describes a deployment failure due to a missing required tag, which is a compliance check enforced by Azure Policy, not RBAC.

★ When this WOULD be the correct answer

Azure RBAC would be the correct answer if the question described a deployment failure due to insufficient permissions, such as the user lacking 'Contributor' or 'Owner' role on the resource group or subscription, causing an authorization error.

Why candidates choose this

Candidates may confuse RBAC with policy because both involve governance, but RBAC controls who can do what, while Azure Policy controls what resources are allowed. The tag requirement seems like a permission issue to those unfamiliar with Azure Policy.

Resource locksWrong answer — click to see why

Why this is wrong here

Resource locks prevent deletion or modification of resources but do not enforce tagging requirements. The question specifies that deployment is blocked due to a missing required tag, which is enforced by Azure Policy, not resource locks.

★ When this WOULD be the correct answer

Resource locks would be correct if the question described a scenario where a resource cannot be deleted or updated despite having correct permissions, and the issue is a lock preventing the operation (e.g., a Delete lock on a critical resource).

Why candidates choose this

Candidates may confuse resource locks with policy enforcement because both can prevent changes, but locks are about protecting resources from accidental deletion/modification, not about compliance rules like tagging.

Azure MonitorWrong answer — click to see why

Why this is wrong here

Azure Monitor is a monitoring and diagnostics service, not a policy enforcement service. It cannot block deployments due to missing tags; that is the role of Azure Policy.

★ When this WOULD be the correct answer

Azure Monitor would be correct if the question asked which service to use for collecting and analyzing metrics and logs from deployed resources, or for setting up alerts based on performance or availability criteria.

Why candidates choose this

Candidates may confuse Azure Monitor's ability to detect missing tags via alerts or queries with the ability to enforce tag requirements, not realizing that enforcement requires Azure Policy.

Analysis generated from the official AZ-104blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

About these practice questions

Courseiva writes every AZ-104 question from scratch — 1,049 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.