hardmulti selectObjective-mapped

A ReadOnly lock is applied to RG-App. Which two requested changes will fail because of the lock? Select two.

Question 1hardmulti select
Full question →

A ReadOnly lock is applied to RG-App. Which two requested changes will fail because of the lock? 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

Resize a virtual machine to a larger SKU.

Resizing requires a write operation, and ReadOnly blocks write operations against locked resources.

B

Distractor review

List the resources currently in the resource group.

ReadOnly allows read operations, so viewing inventory is still permitted.

C

Best answer

Delete an unused public IP address.

Deletion is a write operation, and ReadOnly blocks deletions as well as other writes.

D

Distractor review

Read the current tag values on the resource group.

Reading metadata is allowed because the lock does not stop GET operations.

E

Distractor review

View the VM power state in the portal.

Inspecting state is a read action, so it is not blocked by the lock.

Common exam trap

Common exam trap: answer the scenario, not the keyword

Many certification questions include familiar terms but test a specific constraint. Read the exact wording before choosing an answer that is generally true but wrong for this case.

Technical deep dive

How to think about this question

This question should be treated as a scenario, not a definition check. Identify the problem, the constraint and the best action. Then compare each option against those facts.

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.
  • Use explanations to understand the rule behind the answer.

TExam Day Tips

  • Underline the problem statement mentally.
  • 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.

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?

Read the scenario before looking for a memorised answer.

What is the correct answer to this question?

The correct answer is: Resize a virtual machine to a larger SKU. — ReadOnly is the most restrictive lock type and blocks all write operations, including delete and update actions. That means a VM resize and a public IP deletion both fail even though the resources are still visible. The lock is useful only when you want to stop accidental modification entirely; otherwise it can interfere with normal administration because routine changes are treated as writes. Why others are wrong: Reading resource lists, tags, and VM status are all allowed because those are read-only operations. The lock does not hide the resource or block queries; it only prevents changes. Many exam candidates confuse ReadOnly with CanNotDelete, but their behaviors are very different.

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.