AZ-305 · Question 12 · Domain 1.3: Governance
You are implementing a resource tagging strategy for cost allocation.
You create an Azure Policy that requires the tag 'CostCenter' on all Resource Groups. You assign this policy with the 'Modify' effect to your main subscription.
After assigning the policy, you notice that newly created Resource Groups receive the tag automatically, but existing Resource Groups that were created before the policy assignment do not have the tag.
Which TWO actions must you take to ensure existing Resource Groups get the tag? (Select TWO)
You are implementing a resource tagging strategy for cost allocation.
You create an Azure Policy that requires the tag 'CostCenter' on all Resource Groups. You assign this policy with the 'Modify' effect to your main subscription.
After assigning the policy, you notice that newly created Resource Groups receive the tag automatically, but existing Resource Groups that were created before the policy assignment do not have the tag.
Which TWO actions must you take to ensure existing Resource Groups get the tag? (Select TWO)
Answer options:
Change the policy effect from 'Modify' to 'Append'.
Create a remediation task.
Ensure the Managed Identity has the 'Tag Contributor' role.
Trigger a manual policy compliance scan using the Azure CLI.
Apply a Resource Lock to the existing Resource Groups.
How to approach this question
Full Answer
Common mistakes
Practice the full Azure Solutions Architect Expert AZ-305 Practice Exam 5
55 questions · hints · full answers · grading
Expert