Question

Difficulty: MediumAzure Cost Management, Billing, and Resource Tags

An Azure administrator deploys a set of virtual machines into a resource group named dev-rg. To track expenditures, the administrator applies a tag named Environment: Dev to dev-rg. In Azure Cost Management, they configure a budget alert to trigger when spending associated with the Environment: Dev tag exceeds 500500 USD. However, the budget alert fails to trigger even though the actual cost of the virtual machines has exceeded 500500 USD. Why did the budget alert fail to trigger?

  1. A
    Azure Cost Management budgets only track Capital Expenditure (CapEx) costs, whereas virtual machine usage is billed as Operational Expenditure (OpEx).
  2. Resource tags applied to a resource group are not inherited by the resources inside that group, so the virtual machines lack the tag required to trigger the budget alert.Answer
  3. C
    The virtual machines automatically inherited the tag, but a ReadOnly lock on the resource group prevented Azure Cost Management from accessing the billing telemetry.
  4. D
    Resources automatically inherit tags from their resource group, but the budget alert failed to trigger because tag inheritance must be explicitly enabled in the subscription's billing profile.

Answer

Resource tags applied to a resource group are not inherited by the resources inside that group, so the virtual machines lack the tag required to trigger the budget alert.
The correct answer is the option stating that resource tags applied to a resource group are not inherited by the resources within it. In Azure, tags applied to a resource group do not automatically propagate or inherit down to the individual resources inside that group. Because the budget alert is filtered specifically by the tag, the costs incurred by the untagged virtual machines are not associated with the tag, preventing the budget threshold from being reached.

Step-by-Step Solution

1
Analyze the scope and target of the tag.
The tag is applied to the resource group (dev-rg) and not directly to the virtual machines.
Azure resources do not inherit tags from their parent resource group.
2
Evaluate how the budget alert matches costs.
The budget is configured to track costs specifically filtered by the tag.
Because the virtual machines do not have the tag, their usage costs are excluded from the budget evaluation, meaning the alert limit is never triggered.

Key Concept

Azure resource tags do not inherit from the resource group to individual resources inside it.
Estimated Time:1m 0s
Rate this question