An enterprise is designing a governance strategy for its Azure environment. The resource hierarchy consists of a root management group with two child management groups: MG-Production and MG-Development. You must implement Azure Policies to enforce compliance according to the following requirements:
- All virtual machines deployed in MG-Production must have Azure Backup enabled automatically. If a VM is deployed without backup configured, Azure Backup must be configured automatically.
- To control costs, any attempt to deploy virtual machines outside of the Dv3-series in MG-Development must be blocked immediately.
- A specific resource group named rg-legacy within MG-Production hosts legacy workloads and must be exempted from the backup requirement.
- Existing and new SQL databases in MG-Production must be monitored for SQL auditing configuration, but deployments must not be blocked or auto-remediated.
You need to design the Azure Policy solution to meet these requirements with the least administrative overhead. Which two of the following policy assignments should you recommend? (Select TWO.)
- Assign a policy containing a DeployIfNotExists effect for virtual machine backup to the MG-Production management group, and add the rg-legacy resource group to the notScopes property of the assignment.Cevap
- Assign a policy containing a Deny effect for allowed VM SKUs to MG-Development, and assign a policy containing an Audit effect for SQL database auditing to MG-Production.Cevap
- CAssign a policy containing a Deny effect for virtual machine backup to MG-Production, and configure a manual remediation task for virtual machines deployed in rg-legacy.
- DAssign a policy containing a Modify effect for virtual machine backup to the root management group, and configure Azure RBAC Deny assignments to exclude the users deploying to rg-legacy from the policy.