A company plans to deploy a multi-tier application consisting of a virtual machine and a storage account. The administrator creates a resource group named rg-app-prod in the North Europe region. Which of the following configurations is supported when deploying these resources?
- Deploying the virtual machine to the West Europe region and the storage account to the North Europe region, both inside rg-app-prod.Answer
- BCreating a nested resource group named rg-app-storage inside rg-app-prod to isolate the storage account.
- CDeploying the virtual machine to the West Europe region only after changing the location of rg-app-prod to West Europe, as resources must match their resource group's location.
- DDeploying the virtual machine to North Europe and having it automatically inherit all tags applied to the parent resource group.
Answer
Deploying the virtual machine to the West Europe region and the storage account to the North Europe region, both inside rg-app-prod.
Deploying the virtual machine to the West Europe region and the storage account to the North Europe region, both inside the resource group, is fully supported. Resources do not need to be in the same location as the resource group that contains them. The resource group's location only determines where its own metadata is stored.
Step-by-Step Solution
Key Concept
Azure resource group boundaries, location independence, and flat hierarchy rules
Estimated Time:1m 0s