Home › Studies › AZ-900 › Management & Governance › Governance & Compliance

Governance & Compliance

Microsoft Purview · Azure Policy and initiatives · resource locks

By the tools4free.dev team · Last reviewed November 13, 2026

Practice questions for this topic →

Which tool for which need

NeedTool
Single view of data across on-premises, multicloud and SaaS; discovery, classification, lineageMicrosoft Purview
Keep resource configurations compliant with your standards; allowed regions; required tagsAzure Policy
Prevent accidental delete or change of a resource, even by an OwnerResource lock

Microsoft Purview

Microsoft Purview is a family of data governance, risk and compliance solutions that gives a single, unified view into your data.

Solution areaWhat it helps you do
Risk and complianceProtect sensitive data across clouds, apps and devices; identify data risks and manage regulatory compliance requirements. Microsoft 365 services such as Teams, OneDrive and Exchange are core.
Unified data governanceMap your data estate with classification and lineage; find where sensitive data is stored; let consumers find valuable data; manage access at scale. Covers Azure, SQL and Hive databases, on-premises and other clouds such as Amazon S3.

Azure Policy

Azure Policy checks what a resource looks like, whatever the identity. Azure RBAC controls what a user can do. Even a user with permission is blocked if the result would be non-compliant.

Resource locks

Lock (portal / CLI name)Authorized users canAuthorized users cannot
Delete / CanNotDeleteRead and modifyDelete
Read-only / ReadOnlyRead (like the Reader role)Update or delete

Exam Tips

Tick each tip once you can answer it without looking.

“Single unified view of data across on-premises, multicloud and SaaS” → Microsoft Purview. Trap: Azure Policy governs resource configuration, not data discovery.

“Automated data discovery, sensitive data classification, end-to-end lineage” → Microsoft Purview. Trap: Azure Policy governs resource configuration; Purview handles data discovery and classification.

“Purview's two main solution areas” → Risk and compliance; unified data governance. Trap: Two areas only: risk and compliance, and unified data governance.

“Deploy resources only to allowed regions; require tags; allowed VM sizes” → Azure Policy. Trap: A resource lock doesn't evaluate properties of resources.

“Group related policy definitions toward one compliance goal” → Policy initiative. Trap: A single policy definition is one rule.

“Policy assigned to a resource group” → Inherited by all resources in the group. Trap: Not limited to resources that exist at assignment time.

“Policy created after VMs already exist” → Existing VMs are evaluated too. Trap: Policy doesn't only check new resources.

“Auto-add a missing tag to non-compliant resources” → Azure Policy remediation. Trap: Remediation is optional and automatic only in some cases; resources can also be marked as exceptions.

“Stop anyone deleting a critical resource by mistake, even an Owner” → Delete lock (CanNotDelete). Trap: RBAC alone isn't enough: Owners can still delete.

“Users may read but not modify or delete” → Read-only lock. Trap: Read-only acts like the Reader role; a Delete lock still allows modification.

“Users may modify but not delete” → Delete lock. Trap: Read-only blocks updates too.

“Locked resource must be changed or removed” → Remove the lock first, then act. Trap: The lock applies regardless of RBAC role, Owner included.

“Lock on a resource group” → Inherited by all resources in it, including later ones. Trap: Policy and locks both inherit, but locks block actions; policy checks compliance.

“Can you lock a management group?” → No: subscription, resource group or resource only. Trap: A lock can be added only at subscription, resource group or resource scope.

“Lock protects storage account data from being deleted?” → No: locks cover control plane, not data plane. Trap: A lock protects the account from control plane changes; data plane requests aren't blocked.

“Policy vs RBAC” → Policy: resource state and compliance. RBAC: what users can do. Trap: Policy still blocks a non-compliant change by a user who has permission.

Sources

Checked against Microsoft Learn on November 13, 2026.

← Cost ManagementManaging & Deploying Resources →