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?
- Resources within a resource group do not inherit the tags applied to the resource group.Answer
- BTags applied to a resource group are only inherited by resources after an Azure Policy enforces the inheritance retroactively.
- CThe virtual machine costs are classified as Capital Expenditure (CapEx), which cannot be tracked or filtered using resource tags.
- DResource group tags are automatically inherited by resources, but the inheritance is delayed by a standard 72-hour billing cycle.
Answer
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.
Step-by-Step Solution
Key Concept
Azure resource tags do not inherit from resource groups to resources, which directly impacts cost filtering in Azure Cost Management.