mediummultiple choiceObjective-mapped

During a change freeze, the operations team wants to prevent accidental deletion of a production resource group and everything in it. They still need to update VM settings, change tags, and modify network rules. Which lock should be applied?

Question 1mediummultiple choice
Full question →

During a change freeze, the operations team wants to prevent accidental deletion of a production resource group and everything in it. They still need to update VM settings, change tags, and modify network rules. Which lock should be applied?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

Apply a ReadOnly lock to the resource group.

ReadOnly would block most write operations, including the updates the team still needs to perform.

B

Best answer

Apply a CanNotDelete lock to the resource group.

CanNotDelete is the correct lock because it blocks deletion while still allowing normal update operations. That means the team can continue to change VM settings, update tags, and manage networking during the freeze, but they cannot accidentally delete the protected resource group or its child resources. It is the standard choice when preservation is required without freezing all management activity.

C

Distractor review

Assign the Reader role to all operators.

Reader removes write access entirely, which is much more restrictive than the requirement.

D

Distractor review

Assign an Azure Policy deny assignment at the subscription.

Policy can enforce compliance, but it is not the right mechanism for simple deletion prevention during a freeze.

Common exam trap

Common exam trap: ACLs stop at the first match

ACLs are processed top to bottom. The first matching entry wins, and an implicit deny usually exists at the end.

Technical deep dive

How to think about this question

ACL questions test precision: source, destination, protocol, port and direction. A generally correct ACL can still fail if it is applied on the wrong interface or in the wrong direction.

KKey Concepts to Remember

  • Standard ACLs match source addresses.
  • Extended ACLs can match source, destination, protocol and ports.
  • The first matching ACL entry is used.
  • There is usually an implicit deny at the end.

TExam Day Tips

  • Check inbound versus outbound direction.
  • Read the ACL from top to bottom.
  • Look for a broader permit or deny above the intended line.

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.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-104 question test?

Standard ACLs match source addresses.

What is the correct answer to this question?

The correct answer is: Apply a CanNotDelete lock to the resource group. — CanNotDelete is designed for exactly this situation. It stops accidental deletion of the protected scope while allowing administrators to continue making normal configuration changes. Because the requirement explicitly says updates must still work, ReadOnly would be too restrictive and would interfere with operations such as tag changes and VM resizing. Why others are wrong: ReadOnly blocks write operations and would prevent the required updates. Reader removes even more access by allowing only viewing. Azure Policy is useful for compliance scenarios, but a simple change freeze is more directly and predictably handled by a resource lock.

What should I do if I get this AZ-104 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.