An Azure administrator applies a tag with the key-value pair 'CostCenter: 10021' to an Azure resource group named 'Production-RG'. The administrator then deploys an Azure Virtual Machine and an Azure Storage account inside 'Production-RG' without applying any tags directly to these resources. When viewing the cost analysis in Azure Cost Management grouped by the 'CostCenter' tag, how will the costs of the Virtual Machine and the Storage account be represented?
- The costs will be grouped under the 'Untagged' label because resources do not automatically inherit tags from their parent resource group.Cevap
- BThe costs will be grouped under '10021' because resources automatically inherit tags from their parent resource group.
- CThe costs will be grouped under '10021' only if the Virtual Machine and the Storage account are deployed in the same Azure region as the parent resource group.
- DThe costs will be grouped under the 'Untagged' label because tags can only be applied to Azure subscriptions to track Capital Expenditure (CapEx).
Cevap
The costs will be grouped under the 'Untagged' label because resources do not automatically inherit tags from their parent resource group.
In Azure, resources do not automatically inherit tags applied to their containing resource group. Therefore, when grouping cost analysis by a tag, any resource without the tag applied directly to it is grouped under the 'Untagged' category.
Adım Adım Çözüm
Anahtar Kavram
Azure resource tags are not inherited from resource groups to individual resources.