An organization is deploying a multi-tier application. They create an Azure resource group named Prod-RG in the East US region. The web tier will be deployed in the East US region. The database tier must be deployed in the West US 2 region for disaster recovery, and the administrator wants to group the database resources inside a sub-group within Prod-RG. Which of the following statements correctly describes the configuration limits for this deployment?
- The database resources can be deployed to the West US 2 region within Prod-RG, but you cannot nest a resource group inside Prod-RG.Answer
- BThe database resources must be deployed to the East US region because all resources are required to inherit and match the location of their containing resource group.
- CThe database resources can be deployed to the West US 2 region, but they must be placed in a new resource group nested inside Prod-RG to support different locations.
- DThe database resources can only be deployed to West US 2 if they are placed in a different resource group, as a single resource group cannot contain resources from different regions.
Answer
The database resources can be deployed to the West US 2 region within Prod-RG, but you cannot nest a resource group inside Prod-RG.
The correct option is correct because Azure allows resources to be deployed in a different region than their containing resource group, but it strictly prohibits nesting resource groups inside other resource groups.
Step-by-Step Solution
Key Concept
Azure Resource Group limits, including location independence and non-nesting constraints.