Question 775 of 1,170
Manage Azure Identities and GovernanceeasyMultiple ChoiceObjective-mapped

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 design notes:
- Scope: subscription
- Target: all resource groups
- Desired outcome: add tag CostCenter=042 automatically
- Requirement: do not block the deployment if the tag is omitted

Policy effects being considered:
- Deny
- Audit
- Append
- Modify

Based on the exhibit, a subscription policy must add CostCenter=042 to new resources, and deployments must not fail if the tag is missing. Which policy effect should you use?

Exhibit

Policy design notes:
- Scope: subscription
- Target: all resource groups
- Desired outcome: add tag CostCenter=042 automatically
- Requirement: do not block the deployment if the tag is omitted

Policy effects being considered:
- Deny
- Audit
- Append
- Modify

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Modify

The 'Modify' effect (option D) is correct because it can add the CostCenter=042 tag to new resources without causing deployment failures if the tag is missing. Unlike 'Deny', which blocks non-compliant resources, or 'Append', which is deprecated and only works on non-tag properties, 'Modify' uses a 'merge' operation to add tags during resource creation or update, and its 'conflictEffect' can be set to 'audit' to ensure deployments succeed even when the tag is absent.

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.

  • Deny

    Why it's wrong here

    Deny would block the deployment instead of allowing it to continue when the tag is missing.

    When this WOULD be correct

    Use Deny when you need to enforce that all new resources must have a specific tag, and you want to block creation of any resource that doesn't comply (e.g., to ensure cost tracking).

  • Audit

    Why it's wrong here

    Audit only records non-compliance and does not automatically add the missing tag.

    When this WOULD be correct

    Use Audit when you need to evaluate compliance of existing resources or deployments without blocking them, such as when testing a new policy before enforcing it, or when you only need to report on non-compliance without automatic remediation.

  • Append

    Why it's wrong here

    Append can add properties in some request scenarios, but it is not the best choice for automatic tag correction behavior.

    When this WOULD be correct

    Append would be correct if the policy needed to add a tag only to resources that lack it entirely, without modifying existing tags. For example, 'Add tag Environment=Production to all new resources that do not already have an Environment tag'.

  • Modify

    Why this is correct

    Modify is used to automatically change resource requests, such as adding or correcting tags, without blocking deployment.

    Related concept

    Read the scenario before looking for a memorised answer.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-104 exam frequently reuses these exact scenarios with slightly different constraints.

ModifyCorrect answer

Why this is correct

Modify is used to automatically change resource requests, such as adding or correcting tags, without blocking deployment.

DenyWrong answer — click to see why

Why this is wrong here

Deny prevents creation of resources that don't have the tag, but the requirement states deployments must not fail if the tag is missing.

★ When this WOULD be the correct answer

Use Deny when you need to enforce that all new resources must have a specific tag, and you want to block creation of any resource that doesn't comply (e.g., to ensure cost tracking).

Why candidates choose this

Candidates may think Deny is the only way to enforce tagging, overlooking that Modify can add tags without blocking deployment.

AuditWrong answer — click to see why

Why this is wrong here

Audit only logs non-compliant resources without automatically adding the missing tag, so deployments would succeed but the tag would not be added, failing to meet the requirement to add CostCenter=042 to new resources.

★ When this WOULD be the correct answer

Use Audit when you need to evaluate compliance of existing resources or deployments without blocking them, such as when testing a new policy before enforcing it, or when you only need to report on non-compliance without automatic remediation.

Why candidates choose this

Candidates may think Audit is sufficient because it logs missing tags, but they overlook the requirement to automatically add the tag, assuming logging alone satisfies the policy goal.

AppendWrong answer — click to see why

Why this is wrong here

Append only adds the tag if it's missing but does not correct existing tags with different values; Modify can add or change the tag value. The question requires adding CostCenter=042, and Append would fail to update resources that already have a different CostCenter value.

★ When this WOULD be the correct answer

Append would be correct if the policy needed to add a tag only to resources that lack it entirely, without modifying existing tags. For example, 'Add tag Environment=Production to all new resources that do not already have an Environment tag'.

Why candidates choose this

Candidates may confuse Append with Modify, thinking Append can also change existing values, or they may overlook the requirement to handle resources with an existing different tag value.

Analysis generated from the official AZ-104blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap is that candidates often choose 'Append' because it can add tags, but 'Append' is deprecated and lacks the conflict resolution settings that 'Modify' provides. 'Modify' is the recommended effect for tags, with a 'conflictEffect' option that can be set to 'audit' to avoid deployment failures when the tag is missing.

Trap categories for this question

  • Scenario analysis trap

    Append can add properties in some request scenarios, but it is not the best choice for automatic tag correction behavior.

Detailed technical explanation

How to think about this question

Under the hood, the 'Modify' effect in Azure Policy uses a 'merge' operation to add or update tags on resources during creation or update, and its 'conflictEffect' property (set to 'audit' or 'deny') controls behavior when a tag already exists. For this requirement, setting 'conflictEffect' to 'audit' ensures the policy adds the tag if missing but does not block the deployment if the tag is already present with a different value—it simply logs a non-compliance entry. This is critical in real-world scenarios where teams need to enforce tagging standards without breaking CI/CD pipelines or automated deployments.

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

A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AZ-104 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AZ-104 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-104 question test?

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: Modify — The 'Modify' effect (option D) is correct because it can add the CostCenter=042 tag to new resources without causing deployment failures if the tag is missing. Unlike 'Deny', which blocks non-compliant resources, or 'Append', which is deprecated and only works on non-tag properties, 'Modify' uses a 'merge' operation to add tags during resource creation or update, and its 'conflictEffect' can be set to 'audit' to ensure deployments succeed even when the tag is absent.

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 →

How Courseiva writes practice questions · Editorial policy

Keep practising

More AZ-104 practice questions

Last reviewed: Jun 11, 2026

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.

Loading comments…

Sign in to join the discussion.

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.