A resource group named rg-analytics contains a virtual machine named VM1. An administrator applies a ReadOnly resource lock to rg-analytics. Which two operations on VM1 are blocked due to the inherited lock? Select two.
- Deleting VM1Answer
- Modifying the configuration settings of VM1Answer
- CViewing the properties of VM1 in the Azure portal
- DReading the activity logs of VM1
Answer
Deleting VM1 and modifying the configuration settings of VM1 are blocked by the inherited ReadOnly lock.
A ReadOnly resource lock applied to a resource group is inherited by all resources within it. This lock prevents users from deleting the resource and from modifying its configuration settings.
Step-by-Step Solution
Key Concept
Azure Resource Locks restrict operations on resources, and their effects (such as preventing deletion and modification under a ReadOnly lock) are inherited from parent scopes like resource groups to child resources.