Courseiva
Describe Azure management and governancemediumMultiple ChoiceObjective-mapped

AZ-900 Describe Azure management and governance Practice Question

Which aspect of Azure governance ensures that resources are protected from accidental or unauthorized deletion regardless of RBAC role?

⚠ Common exam trap

Many candidates confuse Azure Policy's 'deny' effect with Resource Locks, not realizing that Policy only blocks non-compliant resource creation or updates, while Resource Locks block all delete or modify operations regardless of RBAC permissions.

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 Resource Locks overriding RBAC

Azure Resource Locks override RBAC because they are applied at the subscription, resource group, or resource level and enforce a 'Deny' effect that cannot be bypassed by any RBAC role, including Owner. This ensures that even users with Contributor or Owner permissions cannot delete or modify a locked resource unless the lock is first removed by an Owner or User Access Administrator.

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 RBAC deny assignments

    Why it's wrong here

    RBAC deny assignments explicitly block specific actions for specific principals (users, groups, service principals) by providing an explicit deny rule that takes precedence over allow assignments. They are used primarily by Azure managed services like Azure Blueprints or by system-assigned managed identities to protect managed resources, but they are scoped to a principal and a set of actions, not to a resource itself. A Resource Lock, however, is not tied to any identity; it applies to every principal and only to deletion/modification actions, and it is managed independently of RBAC. So deny assignments provide an identity-centric restriction, while Resource Locks provide a resource-centric protection.

  • Azure Policy deny effects

    Why it's wrong here

    Azure Policy's deny effect is part of policy-based governance that evaluates resource properties (such as allowed locations or SKUs) during create or update operations, and denies any action that violates a policy definition. However, deny effects are not evaluated when a resource is deleted, and they do not quarantine or protect already deployed resources from deletion or modification. A Resource Lock, in contrast, proactively blocks any delete or update call on existing resources, regardless of whether the resource is compliant with any policy. Thus, Policy deny effects address non-compliance at admission time, not protection of existing resources.

  • Azure Resource Locks overriding RBAC

    Why this is correct

    Resource Locks are applied to a subscription, resource group, or individual resource and can be set to CanNotDelete or ReadOnly, which block deletion and modification actions at the Azure Resource Manager layer. Critically, a lock is evaluated after RBAC authorization, so even a user with the Owner role cannot delete or modify a locked resource unless they first remove the lock (which requires Microsoft.Authorization/locks/write permission). This explicit lock check is what allows Resource Locks to override RBAC permissions for those protected operations, providing a safety net against accidental or unauthorized changes. Therefore, when a resource must be safeguarded from deletion, the correct mechanism is the Resource Lock.

  • Azure AD Privileged Identity Management restrictions

    Why it's wrong here

    AAD PIM controls when and how long administrators can activate privileged roles such as Owner or Contributor, using just-in-time assignments and approvals. It manages the lifecycle of role assignment eligibility but does not impose any operation-level restrictions on Azure resources themselves. PIM does not prevent an authorized user from deleting an existing resource; it merely limits who can assume the role and for how long. Therefore it is not the mechanism that overrides RBAC for deletion/modification—that is the Resource Lock.

Quick reference

Access Control Model Comparison

ModelAcronymWho Controls Access?Best For
Discretionary Access ControlDACResource ownerSmall teams, file shares
Mandatory Access ControlMACSystem / security labelsClassified govt / military
Role-Based Access ControlRBACAdministrator (via roles)Enterprise environments
Attribute-Based Access ControlABACPolicy engine (user + resource attributes)Fine-grained, dynamic policies
Rule-Based Access ControlRuBACSystem rules / ACLsFirewall rules, network ACLs

About these practice questions

One of 981 original AZ-900 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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-900 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-900 exam.