VoltGrid Power operates a multi-region grid telemetry network in Azure. The resource hierarchy consists of a root management group named VoltGrid-Root, which contains two child management groups: VoltGrid-Americas and VoltGrid-Eurasia. Under VoltGrid-Americas, you have two subscriptions: Telemetry-Prod-Sub and Grid-Dev-Sub.
You need to design a governance strategy to enforce the following compliance requirements:
1. All Azure Virtual Machines deployed to Telemetry-Prod-Sub must have the Azure Monitor Agent (AMA) installed automatically upon deployment.
2. All Azure SQL Databases deployed within the VoltGrid-Americas management group must be blocked from creation if transparent data encryption (TDE) is not configured to use a customer-managed key (CMK).
3. The SQL Database TDE restriction must not apply to resources in a development resource group named Sandbox-RG located inside Grid-Dev-Sub.
The solution must minimize administrative overhead and avoid manual remediation processes.
Which two configurations should you include in your Azure Policy design?
- Assign a policy definition with the DeployIfNotExists effect to Telemetry-Prod-Sub to deploy the Azure Monitor Agent extension.Cevap
- Assign a policy definition with the Deny effect to VoltGrid-Americas to restrict SQL Database TDE configuration, and configure the assignment's notScopes property to exclude Sandbox-RG.Cevap
- CAssign a policy definition with the Audit effect to Telemetry-Prod-Sub to flag Virtual Machines missing the Azure Monitor Agent, and configure an Azure Logic App to run daily and install the extension.
- DAssign a policy definition with the Deny effect to VoltGrid-Americas to restrict SQL Database TDE configuration, and assign a policy definition with the Modify effect to Grid-Dev-Sub to set the TDE configuration to service-managed keys for Sandbox-RG.
- ECreate a Policy Initiative containing both the VM agent installation and SQL TDE policy definitions, assign the initiative to VoltGrid-Root, and configure a Policy Exemption for Sandbox-RG.