An Azure resource group contains a virtual machine. A ReadOnly resource lock is applied to this resource group. Which of the following statements describe the effects of this lock on the virtual machine? (Select two.)
- Authorized users can view the configuration settings of the virtual machine.Answer
- Authorized users are prevented from deleting the virtual machine.Answer
- CAuthorized users can resize the virtual machine to change its compute tier.
- DAuthorized users can start or stop the virtual machine.
Answer
Authorized users can view the configuration settings of the virtual machine, and authorized users are prevented from deleting the virtual machine.
The correct options are that authorized users can view the configuration settings and are prevented from deleting the virtual machine. This is because a ReadOnly lock applied at the resource group level is inherited by the virtual machine, allowing only read operations (viewing configurations) and blocking all write or delete operations.
Step-by-Step Solution
Key Concept
Azure Resource Locks prevent accidental deletion or modification of resources. A ReadOnly lock allows only read operations and blocks all write, modify, and delete operations.