An organization plans to implement a new resource governance model in Azure with the following hierarchy and configuration:
- A management group named Group-A contains a subscription named Sub-1.
- An Azure Policy is assigned to Group-A that denies the creation of resources in any region other than East US.
- A resource group named RG-1 is created in East US under Sub-1, and a tag named 'Environment: Production' is applied directly to RG-1.
- An administrator attempts to deploy a virtual network named VNet-1 in the West US region inside RG-1.
Which of the following statements correctly describes the result of this deployment attempt?
- AThe deployment of the virtual network will succeed, and the virtual network will automatically inherit the environment tag from the resource group.
- BThe deployment of the virtual network will fail because Azure requires all resources to be deployed in the same region as their containing resource group.
- The deployment of the virtual network will fail because the policy applied to the management group is inherited by the subscription and blocks resource creation in the West US region.Answer
- DThe deployment of the virtual network will succeed in the West US region, but it will be automatically placed in a nested resource group under the main resource group.
Answer
The deployment of the virtual network will fail because the policy applied to the management group is inherited by the subscription and blocks resource creation in the West US region.
The correct option explains that Azure Policy inheritance flows down from the management group to the subscription and eventually to resources. Because the policy restricts resource creation to the East US region, any attempt to deploy a resource in West US will fail. The location of the resource group does not bypass this policy enforcement.
Step-by-Step Solution
Key Concept
Azure resource hierarchy, policy inheritance, and resource group properties