Question

Difficulty: MediumAzure Resources, Resource Groups, Subscriptions, and Management Groups

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?

  1. 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
  2. B
    The 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.
  3. C
    The 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.
  4. D
    The 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

1
Analyze the region requirements for resources relative to their resource group.
Resources do not need to be in the same region as the resource group that contains them. Therefore, the database tier can reside in West US 2 while Prod-RG is in East US.
The resource group location is primarily used for storing deployment metadata, not for restricting resource locations.
2
Analyze the organizational requirement to create a sub-group (nesting) within the resource group.
Resource groups in Azure cannot be nested inside other resource groups.
Azure Resource Manager (ARM) supports a flat structure for resource groups within a subscription.
3
Combine the rules to determine the correct statement.
The database resources can be placed in Prod-RG (in West US 2), but they cannot be organized into a nested resource group inside Prod-RG.
This satisfies both the region independence rule and the non-nesting rule of Azure resource groups.

Key Concept

Azure Resource Group limits, including location independence and non-nesting constraints.
Rate this question