Exam AZ-104 Topic 5 Question 19 Discussion
Actual exam question for Microsoft's AZ-104 exam
Question #: 19
Topic #: 5
Question #: 19
Topic #: 5
You have an Azure subscription named Sub1 that contains a resource group named RG1. You need to ensure that all current and future resources in RG1 have a tag of Department =HR applied. What should you do?
Suggested Answer: A Vote an answer
Detailed Explanation
Azure Policy definitions using effects such as ' Append ' or ' Modify ' (for example, the built-in ' Append a tag and its value to resources ' or ' Add a tag to resources ' policies) can automatically apply a specified tag/value to every resource created within the assigned scope going forward, and with a remediation task (or the Modify effect ' s evaluation) can also retroactively apply the tag to existing resources - satisfying both ' current and future ' resources. Tagging the subscription (B) or the resource group itself (D) only tags that single container resource, not the individual resources inside it - tags are not inherited automatically by child resources.
Manually tagging each resource (C) satisfies only current resources and requires ongoing manual effort for every future resource, failing the ' future resources ' requirement. Only Azure Policy provides automated, ongoing enforcement.
Official Reference
Assign policy definitions for tag compliance - https://learn.microsoft.com/en-us/azure/governance/policy
/samples/enforce-tag-value-with-policy
Azure Policy definitions using effects such as ' Append ' or ' Modify ' (for example, the built-in ' Append a tag and its value to resources ' or ' Add a tag to resources ' policies) can automatically apply a specified tag/value to every resource created within the assigned scope going forward, and with a remediation task (or the Modify effect ' s evaluation) can also retroactively apply the tag to existing resources - satisfying both ' current and future ' resources. Tagging the subscription (B) or the resource group itself (D) only tags that single container resource, not the individual resources inside it - tags are not inherited automatically by child resources.
Manually tagging each resource (C) satisfies only current resources and requires ongoing manual effort for every future resource, failing the ' future resources ' requirement. Only Azure Policy provides automated, ongoing enforcement.
Official Reference
Assign policy definitions for tag compliance - https://learn.microsoft.com/en-us/azure/governance/policy
/samples/enforce-tag-value-with-policy
by Galee at Oct 01, 2026, 10:33 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).