Which lock type would prevent a VM from being modified or deleted?
Choose an answer
Tap an option to check your answer.
Correct answer: ReadOnly.
Why this is the answer
The ReadOnly lock type prevents authorized users from modifying or deleting a resource. This is the most restrictive lock and ensures the resource remains in its current state. CanNotDelete is incorrect because it only prevents deletion, allowing modifications. Audit Lock is not a standard Azure lock type; Azure uses Delete and ReadOnly. NoLock implies no restrictions, which is contrary to the question's requirement.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed