An administrator creates an Azure resource group named RG-Finance in the West US region and applies a metadata tag named CostCenter with a value of 10024 to the resource group. The administrator then deploys a new virtual machine named VM-Pay to the East US region, specifying RG-Finance as the target resource group. No tags are applied directly to VM-Pay during its deployment. Which statement correctly describes the outcome of this deployment?
- AThe virtual machine is successfully created in the East US region and automatically inherits the CostCenter tag.
- BThe virtual machine deployment fails because resources must be located in the same region as their resource group.
- The virtual machine is successfully created in the East US region without any tags.Answer
- DThe virtual machine is automatically created in the West US region and inherits the CostCenter tag.
Answer
The virtual machine is successfully created in the East US region without any tags.
The virtual machine is successfully created in the East US region without inheriting the tag. This is because a resource group's location only determines where its metadata is stored, and resources inside it can reside in any region. Additionally, Azure resources do not automatically inherit tags from their containing resource groups.
Step-by-Step Solution
Key Concept
Resource groups and tag inheritance in cloud governance