156k views
1 vote
If an Azure resource has a Read-only lock, what action can be taken regarding the locks on the resource?

a) Add a Delete lock.
b) Remove the Read-only lock.
c) No changes can be made.
d) Change the lock to a Read/Write lock.

User Zavr
by
7.8k points

1 Answer

5 votes

Final answer:

With a Read-only lock on an Azure resource, an authorized user can remove the Read-only lock to change the resource. Other options like adding a Delete lock, making no changes, or changing to a Read/Write lock are not applicable.

Step-by-step explanation:

If an Azure resource has a Read-only lock, certain actions regarding the lock are permitted depending on the level of access the user has. Specifically:

  • b) Remove the Read-only lock: A user with appropriate permissions (like an owner or user access administrator) can remove a Read-only lock from the resource. Once the lock is removed, the resource can be modified or deleted as necessary.

Options a), c), and d) are not correct because:

  • You cannot add a Delete lock to a resource that already has a Read-only lock without removing the Read-only lock first.
  • Changes can be made to the lock by an authorized user, which means that c) is not correct.
  • Locks in Azure are either Read-only or Delete. There isn't a Read/Write lock, so option d) is not possible.

In conclusion, the correct answer is b) Remove the Read-only lock, assuming the user has the necessary permissions to do so.

User JochenJung
by
7.4k points