A financial services firm designs an Azure Landing Zone. The Azure hierarchy contains a management group named Production-MG, which contains 15 subscriptions.
You need to design a governance solution for Azure Key Vault instances deployed across all subscriptions in Production-MG. The solution must meet the following requirements:
- Ensure all Key Vaults automatically send audit logs to a central Log Analytics workspace.
- Allow developers to provision Key Vaults immediately, even if they do not define diagnostic settings in their templates.
- Prevent compliance validation and logging for two specific subscriptions within Production-MG that host isolated sandboxes.
- Minimize administrative overhead.
Which of the following policy designs should you recommend?
- A policy definition with the DeployIfNotExists effect assigned to the Production-MG management group, with the two sandbox subscriptions specified in the notScopes property of the assignment.Answer
- BA policy definition with the Deny effect assigned to the Production-MG management group, with a policy exemption configured for the two sandbox subscriptions to allow manual auditing.
- CA policy definition with the Modify effect assigned to the Production-MG management group, with the two sandbox subscriptions specified in the notScopes property of the assignment.
- DA policy definition with the Audit effect assigned to each of the 13 compliant subscriptions individually, combined with an Azure Automation runbook triggered by Event Grid to configure diagnostic settings.