Question

Difficulty: EasySecurity, Governance, and Manageability

An administrator creates an Azure resource group named RG-Prod in the West US region. The administrator needs to deploy a virtual machine to run an application. Which of the following statements is correct regarding the location of the resource group and the location of the virtual machine?

  1. A
    The virtual machine must be deployed in the West US region because resources are required to share the same location as their containing resource group.
  2. The virtual machine can be deployed in any available Azure region, regardless of the West US location of the resource group.Answer
  3. C
    The virtual machine must be deployed in a nested resource group inside RG-Prod that matches the target region.
  4. D
    The virtual machine will automatically inherit the tags and location of RG-Prod, preventing it from being deployed in a different region.

Answer

The virtual machine can be deployed in any available Azure region, regardless of the West US location of the resource group.
In Azure, resources within a resource group do not need to share the same location as the resource group itself. The location of the resource group determines where its metadata is stored, but the actual resources can be deployed to any available region to support multi-region setups.

Step-by-Step Solution

1
Analyze the relationship between resource groups and the location of their resources in Azure.
A resource group requires a location to store its metadata, but it is a logical container that does not enforce a regional boundary on the resources themselves.
This establishes that resource group location and resource location are independent.
2
Evaluate the deployment capability of the virtual machine in relation to the resource group's location.
The virtual machine can be deployed to any available Azure region (e.g., East US, West Europe) and still belong to the RG-Prod resource group.
This confirms that the resources inside the resource group can reside in different regions.

Key Concept

Resource Group Location Independence
Estimated Time:45s
Rate this question