Soru

Zorluk: Çok zorAzure Cost Management, Billing, and Resource Tags

An administrator creates an Azure Resource Group named `RG-Production` and assigns a tag named `Department` with a value of `Finance`. The administrator then deploys an Azure Virtual Machine named `VM-Web` inside `RG-Production` without applying any tags directly to the Virtual Machine. Later, the administrator views Azure Cost Management and configures a Cost Analysis report filtered by the tag `Department` with the value `Finance`.

Which of the following describes how the costs associated with the virtual machine `VM-Web` will be represented in this Cost Analysis report?

  1. A
    The costs of VM-Web will be included in the filtered report under the Finance tag because resources automatically inherit tags from their parent resource group.
  2. B
    The costs of VM-Web will be categorized as Capital Expenditure (CapEx) in the report because tagging a resource group converts its internal resources' costs from operational to capital expenses.
  3. The costs of VM-Web will be excluded from the filtered Cost Analysis report because resources do not inherit tags applied to their parent resource group.Cevap
  4. D
    The costs of VM-Web will be included in the filtered report only if the virtual machine is deployed in the same Azure region as the RG-Production resource group.

Cevap

The costs of VM-Web will be excluded from the filtered Cost Analysis report because resources do not inherit tags applied to their parent resource group.
The correct option is correct because resource tags in Azure are not inherited from the containing resource group to the resources inside it. Since the virtual machine VM-Web was created without any tags, it does not possess the Department: Finance tag. Therefore, filtering the Cost Analysis report by the Department: Finance tag will exclude the costs incurred by the virtual machine.

Adım Adım Çözüm

1
Analyze the hierarchy and inheritance rules of Azure resource tags.
Determine that tags applied to an Azure Resource Group do not automatically inherit down to the resources contained within that group.
This step identifies the key governance behavior of tagging in Azure.
2
Identify the tags assigned directly to VM-Web.
Confirm that VM-Web has no tags directly applied.
This step determines whether the resource possesses the tag being filtered.
3
Evaluate how Azure Cost Analysis applies filters.
Filter criteria require the tag to be present on the resource. Since VM-Web has no tags, its costs are not included in the filtered report.
This step applies the tag presence logic to the reporting criteria.

Anahtar Kavram

Resource tags applied to resource groups are not inherited by resources within those groups. Consequently, filtering cost reports by tags will only return resources that have the tags applied directly.
Tahmini Süre:1m 30s
Bu soruyu puanla