A financial services company is deploying a new application. The administrator creates a resource group named prod-rg in the East US region to organize the application's resources. A developer needs to deploy a virtual machine (VM) that must reside in the West US region for latency reasons, and the finance team requires a 'CostCenter' tag to be applied to all resources for billing. Which of the following statements correctly describes how the resource group's configuration affects this deployment?
- AThe developer must create a nested resource group inside prod-rg that is configured for the West US region to host the virtual machine.
- BThe virtual machine must be deployed in the East US region because all resources are required to share the same physical location as their resource group.
- The virtual machine can be deployed in the West US region within prod-rg, but it will not automatically inherit the 'CostCenter' tag from the resource group.Cevap
- DThe virtual machine will automatically inherit the 'CostCenter' tag from prod-rg as long as it is deployed in the same subscription.
Cevap
The virtual machine can be deployed in the West US region within the resource group, but it will not automatically inherit the tag from the resource group.
The correct answer is correct because Azure allows resources to be deployed in a different region than their resource group, and resources do not automatically inherit tags applied to their resource group. The resource group's location is only used to store metadata about the resources.
Adım Adım Çözüm
Anahtar Kavram
Resource Group Boundaries and Tagging Inheritance
Tahmini Süre:1m 30s