A company creates an Azure resource group named `RG-App` in the North Europe region. An administrator plans to deploy a new virtual machine to the West Europe region.
Which of the following describes the capabilities or limitations when deploying this virtual machine?
- The virtual machine can be deployed to the West Europe region and placed in the RG-App resource group.Cevap
- BThe virtual machine must be deployed to the North Europe region to match the location of its resource group.
- CThe virtual machine can be deployed to the West Europe region only if it is placed in a new resource group nested within RG-App.
- DThe virtual machine can be deployed to the West Europe region and will automatically inherit all resource tags applied to RG-App.
Cevap
The virtual machine can be deployed to the West Europe region and placed in the RG-App resource group.
Deploying a resource to a different region than its containing resource group is fully supported in Azure. The location of a resource group is used to store its deployment metadata, while the resources themselves can be deployed to any supported Azure region. Therefore, placing a virtual machine in the West Europe region within a resource group located in North Europe is allowed.
Adım Adım Çözüm
Anahtar Kavram
Azure Resource Groups act as logical containers for resources, but their location only dictates metadata storage, meaning resources within the group can reside in different regions. Additionally, resource groups cannot be nested, and tags are not inherited from resource groups by default.