An enterprise manages its Azure resource hierarchy with a Management Group named Production-MG, which contains a subscription named Prod-Sub-01. Prod-Sub-01 contains two resource groups named RG-Core-App and RG-Core-Data.
The following Azure Policy assignments are active:
- An initiative definition named Corp-Governance-Initiative is assigned at Production-MG. The assignment contains an exclusion for the resource group RG-Core-App. The initiative contains two policy definitions: Policy-Tag (denies resource creation if the Environment tag is missing) and Policy-SKU-A (denies VM deployment unless the size is Standard_D2s_v5 or Standard_D8s_v5).
- A policy definition named Policy-SKU-B is assigned directly to Prod-Sub-01. This policy denies VM deployment unless the size is Standard_D2s_v5 or Standard_D4s_v5.
- A policy definition named Policy-SKU-C is assigned directly to RG-Core-App. This policy denies VM deployment unless the size is Standard_D4s_v5.
Which of the following deployments will successfully complete?
- Deploying a virtual machine with size Standard_D4s_v5 in RG-Core-App without the Environment tagAnswer
- BDeploying a virtual machine with size Standard_D2s_v5 in RG-Core-App with the Environment tag
- CDeploying a virtual machine with size Standard_D4s_v5 in RG-Core-Data with the Environment tag
- DDeploying a virtual machine with size Standard_D8s_v5 in RG-Core-Data with the Environment tag