Governance
Control what can be deployed, prevent accidental changes, and maintain compliance across your Azure environment.
Topics covered
- Azure Policy
- Resource Locks
- Tags
- Blueprints
Governance tools comparison
| Tool | What it does | Key exam point |
|---|---|---|
| Azure Policy | Enforces rules on resource creation and configuration (Deny, Audit, Modify effects) | Does NOT delete existing non-compliant resources. Locks existing, denies new. |
| Resource Locks | Prevents deletion (Delete lock) or all modification (ReadOnly lock) | Overrides ALL RBAC including Owner. Must remove lock before action. |
| Tags | Name-value metadata on resources for organisation and cost allocation | Tags do NOT inherit by default. Use a Policy with the Modify effect to copy them down. |
| Azure Blueprints | Packages policies, RBAC, and ARM templates into one deployable compliant unit | Being retired: fully on 31 January 2027. Template specs with deployment stacks replace it. |
Critical exam rule: A Resource Lock overrides all RBAC roles including Owner and Global Administrator. Even an Owner cannot delete a locked resource without first removing the lock. Removal requires the lock management permission specifically.
Test yourself: exam-style practice questions on this topic are in the AZ-900 Azure Fundamentals app.
Practise in the app