Governance & Compliance

💤0
Lv 10 XP
← ☁️ Microsoft Azure · AZ-900 Fundamentals

Governance & Compliance

Beginner ⭐ 50 XP ⏱ 16 min #azure#az-900#governance#policy

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
  1. Write a plain-English Azure Policy rule for restricting deployment regions.
  2. Explain the difference between Azure Policy and RBAC with an example of each.
  3. Describe when you’d apply a CanNotDelete resource lock.
  4. Propose a tagging scheme for tracking cost by team and environment.
🧾Cheat Sheet
ToolPurpose
Management groupsScope policy/access across subscriptions
Azure PolicyEnforce/audit resource rules
RBACWho can do what
Resource locksPrevent delete/change
TagsOrganize + allocate cost
Defender for CloudSecurity posture score
Service Trust PortalCompliance 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