Exam: AZ-900: Microsoft Azure Fundamentals 0 Likes

A team is planning on assigning tags to a resource group. Would the (AZ-900)

Updated on 01/31/2024

A team is planning on assigning tags to a resource group.

Would the tag be inherited by resources in the resource group?

A) Yes.
B) No.


Solution

Correct answer: B) No.
Resource group tags are not automatically inherited by resources within the group. However, there are two ways to apply resource group tags to resources:

Azure Policies: You can create an Azure policy that explicitly copies specific tags from the resource group to any resources created within the group. This ensures consistent tagging and simplifies resource organization.
Manually applying tags: You can individually apply the desired resource group tags to each resource within the group. This method offers more flexibility, but it requires manual effort and increases the risk of inconsistency.
Here are some additional points to consider:

Tag inheritance in Azure is currently in public preview for cost management purposes. This feature automatically applies subscription and resource group tags to child resource usage records for improved cost analysis.
While resource group tags aren't automatically inherited, the cm-resource-parent tag can be used to group costs by resource group in cost management tools.
Therefore, while resource group tags don't directly inherit to resources, there are various approaches to achieve similar functionality based on your specific needs and preferences.

Category: Azure management and governance

Language: English

There are no comments yet.

Authentication required

You must log in to post a comment.
Log in to like this solution

Log in
Cookies Consent

We use cookies to enhance your browsing experience, serve personalized ads or content, and analyze our traffic. By clicking "Accept All" you consent to our use of cookies. Privacy Policy.