Interview Prep/Azure/Identity, Access and Governance

You have 40 subscriptions and need consistent diagnostic logging for Key Vaults everywhere. How?

IntermediateScenarioIdentity, Access and Governance
Answer

Situation read → DeployIfNotExists policy at management group scope plus remediation.

What I'd do →

  1. Assign the built-in initiative for resource logging to Log Analytics (category group audit) at the top landing-zone management group, parameterised with the central workspace ID
  2. Give the assignment a managed identity with Log Analytics Contributor and Monitoring Contributor
  3. Create remediation tasks for existing vaults
  4. Check compliance: az policy state summarize --management-group lz

Why → New vaults in any subscription get logging automatically, and compliance is visible in one dashboard.

Interview tip → Call out the managed identity on the assignment; DINE fails silently without its roles.

Azure All Azure questions Roadmap: Azure core services

More on Identity, Access and Governance