Governance & Compliance
Keep an Azure environment organized, compliant, and under control.
Theory
Governance keeps a growing cloud estate consistent, compliant, and cost- controlled. The key Azure tools:
- Management groups — apply policy/access across many subscriptions
- Azure Policy — enforce rules (e.g. “only allowed regions”, “must have tags”) and audit or deny non-compliant resources
- RBAC — who can do what, where (covered in depth in AZ-104)
- Resource locks — prevent accidental delete/change (CanNotDelete, ReadOnly)
- Tags — key/value labels for cost allocation and organization
For compliance, the Microsoft Purview / Trust Center and Service Trust Portal document certifications. Microsoft Defender for Cloud scores your security posture.
Real-World Example
Govern a multi-team subscription:
Management group → org-wide guardrails
Azure Policy: "deny public IP on VMs in prod"
Policy: "require 'costCenter' tag on all resources"
Resource lock (CanNotDelete) on the shared network RG
Tags: env=prod, owner=team-a, costCenter=1234 Hands-On Exercise
- Write a plain-English Azure Policy rule for restricting deployment regions.
- Explain the difference between Azure Policy and RBAC with an example of each.
- Describe when you’d apply a CanNotDelete resource lock.
- Propose a tagging scheme for tracking cost by team and environment.
Cheat Sheet▾
| Tool | Purpose |
|---|---|
| Management groups | Scope policy/access across subscriptions |
| Azure Policy | Enforce/audit resource rules |
| RBAC | Who can do what |
| Resource locks | Prevent delete/change |
| Tags | Organize + allocate cost |
| Defender for Cloud | Security posture score |
| Service Trust Portal | Compliance documentation |
Common Interview Questions▾
What does Azure Policy do?
It enforces organizational rules on resources — auditing or denying ones that don’t comply (e.g. wrong region, missing tags, disallowed SKUs) — for governance and compliance at scale.
What is the difference between Azure Policy and RBAC?
RBAC governs which identities can perform which actions on which scopes. Policy governs which resource configurations are allowed. They are complementary controls.
Official Documentation
📝 My notes on this topic
Auto-saves as you type