mediummulti selectObjective-mapped

A production resource group must be protected from accidental deletion during a change freeze. Administrators still need to update VM sizes, rotate tags, and change NSG rules. Which two actions should the administrator take? Select two.

Question 1mediummulti select
Full question →

A production resource group must be protected from accidental deletion during a change freeze. Administrators still need to update VM sizes, rotate tags, and change NSG rules. Which two actions should the administrator take? Select two.

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

Best answer

Apply a CanNotDelete lock to the resource group.

CanNotDelete prevents deletion while still allowing normal update operations. That makes it the right lock for a freeze where changes are allowed but removal is not.

B

Distractor review

Apply a ReadOnly lock to the resource group.

ReadOnly blocks write operations such as resizing VMs, changing tags, and editing NSGs. That would break the stated operational requirement.

C

Best answer

Place the CanNotDelete lock at the resource group scope so it covers current and future resources.

A lock on the resource group protects every resource inside it, including resources added later. This is better than locking individual resources one by one.

D

Distractor review

Use Azure Policy to deny all delete requests.

Azure Policy is for configuration compliance and can govern create or update behavior, but it is not the right mechanism for deletion protection in this scenario.

E

Distractor review

Add a Protected=true tag and use it to prevent deletion.

Tags are useful for classification and cost tracking, but they do not enforce any security or change-prevention behavior by themselves.

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. — The correct configuration is a CanNotDelete lock on the resource group. That lock blocks deletion of the group and its contents while still allowing changes such as resizing virtual machines, updating tags, and editing network rules. Applying the lock at the resource group scope protects every current and future resource in the group, which is ideal during a change freeze. Why others are wrong: A ReadOnly lock would over-restrict the environment and stop the required updates. Azure Policy is not the normal control for preventing deletions, and tags do not enforce behavior. Locking individual resources is also weaker operationally than protecting the whole resource group.

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.