Skip to main content
  1. Public practice questions
  2. AZ-104 Practice Exams | Azure Administrator Associate
  3. AZ-104 Case Study Set

Question 30 — AZ-104 Case Study Set

Based on the scenario, Paideffort wants storage accounts without an application tag to receive the required tag during supported create or update operations. Which effect best matches this requirement? (Select one answer)

  1. Use modify so Azure Policy can add or update the required tag in the resource request.

  2. Use audit so Azure Policy can record the missing tag and automatically add it during evaluation.

  3. Use denyAction so Azure Policy can add the tag whenever an administrator attempts to delete the resource.

  4. Use manual so Azure Policy can automatically correct the tag after an administrator attests compliance.

Correct answers

  1. Use modify so Azure Policy can add or update the required tag in the resource request.

Explanations

Correct Answer:

Use modify so Azure Policy can add or update the required tag in the resource request.

Explanation:

Paideffort wants the policy to alter supported resource requests rather than only record noncompliance. The modify effect can add, update, or remove properties or tags during resource creation or update.

Wrong Answers:

Use audit so Azure Policy can record the missing tag and automatically add it during evaluation.

audit records a warning event for noncompliance but does not modify the storage account request to add Paideffort's required tag.

Use denyAction so Azure Policy can add the tag whenever an administrator attempts to delete the resource.

denyAction blocks a supported action against resources and does not modify resource tags. Paideffort's requirement concerns configuration during creation or update.

Use manual so Azure Policy can automatically correct the tag after an administrator attests compliance.

The manual effect supports compliance attestation. It does not automatically add the missing storage-account tag.