Soru

Zorluk: OrtaSecurity, Governance, and Manageability

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?

  1. A
    The virtual machine is successfully created in the East US region and automatically inherits the CostCenter tag.
  2. B
    The virtual machine deployment fails because resources must be located in the same region as their resource group.
  3. The virtual machine is successfully created in the East US region without any tags.Cevap
  4. D
    The virtual machine is automatically created in the West US region and inherits the CostCenter tag.

Cevap

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.

Adım Adım Çözüm

1
Evaluate the location of the resource group and the resource.
The resource group is in West US, but the virtual machine is deployed to East US. Since a resource group only stores resource metadata and does not restrict resource placement, this action is valid.
To verify if the regional mismatch causes a deployment failure.
2
Evaluate whether the tag is inherited from the resource group.
The resource group has the CostCenter: 10024 tag, but the virtual machine does not automatically inherit this tag upon deployment.
To determine whether resource-level tagging is automatically applied based on the resource group.

Anahtar Kavram

Resource groups and tag inheritance in cloud governance
Bu soruyu puanla