A company is planning to deploy a web application in Azure. The design includes a virtual machine that needs to be deployed in the West US region. The administrator creates a resource group named rg-prod-web in the East US region. The team is discussing the organization of resources and subscriptions.
Which TWO statements regarding Azure resource organization rules are correct?
- The virtual machine in the West US region can be placed inside the rg-prod-web resource group in the East US region.Cevap
- BA resource group's location restricts all resources within it to be deployed in that same location.
- CThe database resources can be separated by nesting a new resource group named rg-prod-db inside rg-prod-web.
- A resource group can contain resources from different Azure regions, and an Azure subscription can contain multiple resource groups.Cevap
Cevap
The correct statements are that the virtual machine in the West US region can be placed inside the resource group in the East US region, and a resource group can contain resources from different Azure regions while a subscription can contain multiple resource groups.
Resources do not need to reside in the same Azure region as their containing resource group. A resource group is a logical container, and its location is used to store metadata. Therefore, a virtual machine in the West US region can be placed inside a resource group located in the East US region. Additionally, resource groups can aggregate resources from multiple regions, and an Azure subscription can contain multiple resource groups.
Adım Adım Çözüm
Anahtar Kavram
Azure resource organization boundaries, including resource groups and subscriptions.