The answer is to create a remediation task for the policy assignment. This is correct because the Modify effect in Azure Policy only applies to new resources during creation or update operations; it does not retroactively alter existing non-compliant resources. A remediation task triggers a one-time deployment that uses the policy’s managed identity to reapply the Modify effect to all existing resources in the scope, such as the virtual machines in RG-Prod that are missing the Environment=Prod tag. On the AZ-104 exam, this scenario tests your understanding of policy lifecycle management and the distinction between evaluation and remediation. A common trap is assuming that reassigning or updating the policy will fix existing resources—it will not; you must explicitly create the remediation task. Memory tip: think “Modify is for new, Remediate is for old.”
AZ-104 Manage Azure Identities and Governance Practice Question
This AZ-104 practice question tests your understanding of manage azure identities and governance. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Exhibit
Policy assignment details:
- Scope: RG-Prod
- Policy definition: Add tag Environment=Prod
- Effect: Modify
Observed result:
- New resources are tagged
- Existing VMs in RG-Prod remain untagged
Based on the exhibit, an Azure Policy with the Modify effect was assigned to add Environment=Prod to resources in RG-Prod. New resources get the tag, but existing virtual machines still do not have it. What should the administrator do next?
Policy assignment details:
- Scope: RG-Prod
- Policy definition: Add tag Environment=Prod
- Effect: Modify
Observed result:
- New resources are tagged
- Existing VMs in RG-Prod remain untagged
A
Create a remediation task for the policy assignment.
Modify can add or update the tag for future deployments, but existing resources usually need remediation so the policy engine can apply the change to what is already deployed. A remediation task is the correct next step.
B
Move the policy assignment to the subscription scope.
Why wrong: Changing the scope does not automatically update existing resources. The assignment is already at the correct RG scope for the requirement.
C
Change the policy effect from Modify to Deny.
Why wrong: Deny would block noncompliant deployments, but it still would not backfill tags onto existing virtual machines.
D
Add a CanNotDelete lock to RG-Prod.
Why wrong: A lock protects against deletion, but it has nothing to do with evaluating or correcting tag compliance.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Create a remediation task for the policy assignment.
The Modify effect in Azure Policy automatically applies to new resources during creation or update, but it does not retroactively fix existing non-compliant resources. To apply the tag to existing virtual machines, the administrator must create a remediation task for the policy assignment, which triggers a deployment to modify those resources.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✓
Create a remediation task for the policy assignment.
Why this is correct
Modify can add or update the tag for future deployments, but existing resources usually need remediation so the policy engine can apply the change to what is already deployed. A remediation task is the correct next step.
Related concept
Read the scenario before looking for a memorised answer.
✗
Move the policy assignment to the subscription scope.
Why it's wrong here
Changing the scope does not automatically update existing resources. The assignment is already at the correct RG scope for the requirement.
✗
Change the policy effect from Modify to Deny.
Why it's wrong here
Deny would block noncompliant deployments, but it still would not backfill tags onto existing virtual machines.
✗
Add a CanNotDelete lock to RG-Prod.
Why it's wrong here
A lock protects against deletion, but it has nothing to do with evaluating or correcting tag compliance.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often assume Azure Policy automatically remediates all resources at assignment time, but in reality, only new or updated resources are affected unless a remediation task is explicitly created.
Detailed technical explanation
How to think about this question
Under the hood, the Modify effect uses a managed identity and a deployment template to apply changes. Remediation tasks evaluate existing resources against the policy and, for non-compliant ones, trigger a PUT request to update the resource with the desired tag. This is similar to how Azure Policy's DeployIfNotExists effect works, but Modify is specifically designed for in-place updates without requiring a separate template.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
An e-commerce site experiences heavy traffic on Black Friday and near-zero traffic during off-peak weeks. Rather than provisioning permanent large VMs, the team uses auto-scaling groups that add capacity automatically under load and reduce it overnight. Questions like this test whether you understand elasticity, availability zones, and cloud compute scaling patterns.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this AZ-104 question in full detail.
Manage Azure Identities and Governance — This question tests Manage Azure Identities and Governance — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Create a remediation task for the policy assignment. — The Modify effect in Azure Policy automatically applies to new resources during creation or update, but it does not retroactively fix existing non-compliant resources. To apply the tag to existing virtual machines, the administrator must create a remediation task for the policy assignment, which triggers a deployment to modify those resources.
What should I do if I get this AZ-104 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This AZ-104 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-104 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.