A company named Kusto Corp has a multi-subscription Azure environment managed under a single management group named Kusto-Global. The company wants to enforce database security. Specifically, all Azure SQL databases in all subscriptions must have vulnerability assessment scanning enabled. If a SQL database is deployed without a vulnerability assessment configuration, the system must automatically deploy the configuration after the database is created, using a specific storage account for scan results. Additionally, the security team wants to exempt a subscription named Kusto-Sandbox, which is under Kusto-Global, from this compliance requirement. You need to design an Azure Policy solution that meets these requirements with the least administrative overhead. Which Azure Policy configuration should you recommend?
- Assign a policy using the DeployIfNotExists effect at the Kusto-Global management group scope, and configure the Kusto-Sandbox subscription as an exclusion (notScopes).Answer
- BAssign a policy using the Modify effect at the Kusto-Global management group scope, and manually configure the vulnerability assessment for each database in the Kusto-Sandbox subscription.
- CAssign a policy using the Deny effect at each subscription scope individually, and configure a policy exemption for the Kusto-Sandbox subscription.
- DAssign a policy using the Audit effect at the Kusto-Global management group scope, and configure an Azure Automation runbook to deploy the vulnerability assessment settings.