Soru

Zorluk: OrtaAzure Cost Management, Billing, and Resource Tags

An administrator applies a tag with the key 'Environment' and value 'Production' to an Azure resource group. The resource group contains several virtual machines. When viewing the cost analysis in Azure Cost Management, the administrator filters the report by the 'Environment: Production' tag, but the virtual machines are not included in the filtered results. Which of the following explains this behavior?

  1. Resources within a resource group do not inherit the tags applied to the resource group.Cevap
  2. B
    Tags applied to a resource group are only inherited by resources after an Azure Policy enforces the inheritance retroactively.
  3. C
    The virtual machine costs are classified as Capital Expenditure (CapEx), which cannot be tracked or filtered using resource tags.
  4. D
    Resource group tags are automatically inherited by resources, but the inheritance is delayed by a standard 72-hour billing cycle.

Cevap

Resources within a resource group do not inherit the tags applied to the resource group.
In Azure, resource tags are not inherited from resource groups. For cost reports in Azure Cost Management to reflect tag filters, the tags must be applied directly to the individual resources.

Adım Adım Çözüm

1
Analyze how tags are applied and inherited in Azure.
Confirm that tags applied to a resource group are not inherited by the resources inside that resource group.
This is a fundamental behavior of Azure Resource Manager (ARM) tagging.
2
Determine how Azure Cost Management filters costs.
Cost Management filters cost reports based on tags applied directly to resources.
Because the virtual machines do not have the tag applied directly, filtering by the tag in the report will not return their costs.

Anahtar Kavram

Azure resource tags do not inherit from resource groups to resources, which directly impacts cost filtering in Azure Cost Management.
Bu soruyu puanla