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?
- AThe 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.
- BThe 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.
- 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
- DThe 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
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