↑ ↓ to move, Enter to open, Esc to close

    AZ-900Azure Fundamentals

    Switch exam

    Microsoft Azure

    aws Amazon Web Services

    Google Cloud

    ServiceNow

    Databricks

    Cisco

    Salesforce

    All exams and search
    Free exam

    Exams / AZ-900 / D3 Describe Azure management and governance

    D3.2

    Describe features and tools in Azure for governance and compliance

    • 4 min read
    • 4 sections
    • 19 questions
    • 30–35% of the exam
    • Describe the purpose of Microsoft Purview in Azure
    • Describe the purpose of Azure Policy
    • Describe the purpose of resource locks

    The governance toolbox at a glance

    Need Tool What it does
    Enforce rules on resources (allowed regions, SKUs, resource types) Azure Policy Evaluates create/update requests and existing resources against rules; can deny, audit, remediate
    Prevent accidental deletion or modification Resource locks Delete (CanNotDelete) or Read-only (ReadOnly) restriction for all users
    Organize resources and report costs Tags Name/value metadata, e.g. group billing by cost center
    Know, classify and govern your data Microsoft Purview Data discovery, classification, governance, security and compliance
    Package a governed environment (legacy) Azure Blueprints Resource groups + policies + role assignments + ARM templates; retiring (final date January 31, 2027) → Template Specs / Deployment Stacks
    What must you achieve?Azure PolicyResource lockDelete / CanNotDeleteRead-only / ReadOnlyTagsMicrosoft PurviewRestrict what can bedeployedregions, SKUs, resourcetypesStop deletion or changesfor everyoneblock delete onlyblock delete + updateGroup costs by cost centerDiscover and classify data

    Azure Policy

    Azure Policy "helps to enforce organizational standards and to assess compliance at-scale". Typical example from the docs: ensure your team deploys Azure resources only to allowed regions.

    Concept Meaning
    Policy definition One business rule (JSON) with an effect
    Initiative (policySet) A collection of policy definitions, assigned and managed as a single item
    Assignment A definition or initiative applied to a scope
    Scope Management group, subscription, resource group or resource; applies to all resources inside, subscopes can be excluded

    Key effects:

    • Deny: fails a create/update request that doesn't match the standard. Existing matching resources are only marked non-compliant; they are never deleted, moved or locked.
    • Audit: logs non-compliance but lets the deployment happen.
    • Remediation: brings existing resources into compliance (bulk remediation) and new ones automatically.

    Useful built-ins for the exam: Allowed locations (regions), Not allowed resource types (e.g. block virtual machines in a resource group but allow everything else).

    Policy vs RBAC: RBAC manages what users can do at a scope; Policy governs what resources look like. The combination gives full scope control.

    Resource locks

    An administrator can lock a subscription, resource group or resource to protect them from accidental deletions and modifications. Locks do not apply to Microsoft Entra objects (users, groups, administrative units).

    Portal name CLI name Read Modify Delete
    Delete CanNotDelete ✅ ✅ ❌
    Read-only ReadOnly ✅ ❌ ❌

    Rules to remember:

    • Locks override user permissions: they apply to all users and roles, unlike RBAC. Even an Owner must remove the lock first before deleting.
    • To create or delete locks you need Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions (Owner, User Access Administrator).
    • Inheritance: a lock on a parent scope is inherited by every resource in it, including resources added later. The most restrictive lock wins, so several locks can apply to one resource.
    • A Delete lock on a resource blocks deleting its whole resource group.
    • Locks only cover control-plane operations (management.azure.com). Example: a read-only lock on a storage account prevents creating a blob container through the control plane, but locks don't protect blob/queue/table/file data accessed through the data plane.
    • Read-only side effects: on a resource group with a VM, nobody can start/restart the VM; resources can't be moved in or out of the group.
    • In the portal, locks are under Settings → Locks of the subscription, resource group or resource.

    Microsoft Purview

    Microsoft Purview brings together data security, data governance and data compliance in one portal.

    Capability Examples
    Discover Find what data you have, where it lives and how much is sensitive
    Classify Sensitive information types, trainable classifiers, data classification dashboards
    Govern Catalog assets, data quality, accountability
    Protect Data Loss Prevention, Insider Risk Management, Communication Compliance

    Purview does not do backup (that is Azure Backup).

    Exam traps

    • "Restrict regions / VM sizes / resource types": Azure Policy, never a lock, management group or reservation.
    • Initiative = group of definitions, not of assignments or role assignments.
    • A deny policy does not touch existing resources: they keep working and are just reported non-compliant.
    • "Only compliant resources can be deployed" is true with the deny effect; audit still lets them through.
    • Delete lock: you can still modify; Read-only lock → no modify and no delete.
    • No modify + no delete on a resource group and its content: Read-only lock on the resource group.
    • Create allowed but delete blocked: Delete lock; soft delete only recovers data.
    • Locks go on subscriptions, resource groups, resources — never on users or policies.
    • Azure Blueprints still appears in old questions (environment with policies + role assignments + templates), but it is being retired.

    Docs

    The rest of this chapter is part of the AZ-900 premium course

    Unlock every chapter, all 470 questions and spaced review with All access or a 90-day exam pass. Every Fundamentals exam stays free, and the first chapter of every exam is open.

    Chapters