Interview Prep/Azure/Identity, Access and Governance

Teams keep creating resources in random regions and without tags. How do you stop it?

BeginnerScenarioIdentity, Access and Governance
Answer

Situation read → Governance belongs in Azure Policy at management group scope, not in a wiki.

What I'd do →

  1. Assign built-in "Allowed locations" (and "Allowed locations for resource groups") with centralindia and southindia on the landing zones management group
  2. Assign "Require a tag on resource groups" for owner, env, costcenter
  3. Assign "Inherit a tag from the resource group if missing" (Modify) for each tag, then remediate existing resources:
    az policy remediation create -n inherit-owner --policy-assignment inherit-owner-tag \
      --resource-discovery-mode ReEvaluateCompliance
    
  4. Start new deny policies in Audit for a week, review compliance, then switch to Deny

Why → Policy enforces at ARM for every tool, so portal clicks, CLI and Terraform are all covered.

Interview tip → Rolling out deny policies via audit first shows you care about not breaking teams.

Azure All Azure questions Roadmap: Azure core services

More on Identity, Access and Governance