Azure Administrator AZ-104 · Manage Azure Identities and Governance · hard
A cloud governance architect assigns an Azure Policy definition with the Modify effect at the subscription scope to automatically add a CostCenter = 4020 tag to any resource group missing that tag. New resource groups created after the assignment receive the tag automatically, but 35 existing resource groups created last year still lack the tag. What must the architect create so Azure Policy updates those 35 existing resources?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: C. Create an Azure Policy Remediation Task using the managed identity
Policy definitions using the Modify or DeployIfNotExists effects automatically evaluate new or updated resources during ARM requests, but to remediate pre-existing non-compliant resources, you must create a Remediation Task using the policy assignment's managed identity.
Why the other options are wrong
- A. Change the Azure Policy definition effect from Modify to Audit — The Audit effect only logs a compliance warning in the Activity Log and never modifies tags.
- B. Apply a CanNotDelete resource lock to the subscription root scope — Resource locks prevent deletion and do not remediate missing tags on existing resource groups.
- D. Restart the virtual machines running inside the 35 resource groups — Rebooting guest OS virtual machines does not trigger ARM resource-group tag remediation.
More Manage Azure Identities and Governance questions
- A company wants to allow its 5,000 employees to reset their own forgotten Microsoft Entra passwords from the sign-in…
- You are authoring a custom Azure RBAC role in JSON for a junior operations team. They need all permissions included in…
- A resource group named RG-Prod-DB has a ReadOnly resource lock applied at the resource group level. Inside RG-Prod-DB…
- You are configuring a Microsoft Entra ID Dynamic Device Group named GRP-Win11-Prod that must automatically include all…
- An organization has 15,000 users in Microsoft Entra ID across 8 regional offices. The IT director wants the regional…
All Manage Azure Identities and Governance questions and the topic overview →
Microsoft and Azure are trademarks of Microsoft Corporation. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Microsoft Corporation.