An organization plans to deploy a multi-tier web application in Azure. The database virtual machine needs to be deployed in the East Asia region for local data residency compliance, while the web server virtual machine needs to be deployed in the West US region. The administration team wants to manage the lifecycle of all these virtual machines together under a single resource group named App-RG, which is created in the West US region. Which of the following statements correctly describes the validity of this deployment?
- The deployment is valid, as Azure resources can be located in a different region than the resource group containing them.Answer
- BThe deployment is invalid because all resources must be located in the same region as their containing resource group.
- CThe deployment is invalid because you must nest a region-specific resource group for East Asia inside the main West US resource group.
- DThe deployment is valid, and any resource tags applied to the resource group will automatically be inherited by all the virtual machines.
Answer
The deployment is valid, as Azure resources can be located in a different region than the resource group containing them.
The correct option is valid because a resource group's location is only used to store its metadata. The actual resources within the group can be deployed to any supported Azure region based on application architecture and compliance requirements.
Step-by-Step Solution
Key Concept
Azure Resource Group boundaries, location independence, lack of nesting support, and tag inheritance rules.
Estimated Time:1m 0s