AZ-104 Certification Notes
Chapter 6.10 - Resource Locks
Resource Locks
As an admin, you may need to lock a subscription, resource group, or resource to prevent other users from accidently deleting or modifying critical resources.
In the Azure Portal you can set the following lock levels.
- CanNotDelete (Delete)
- Authorized users can still read and modify a resource, but they can't delete the resource
- ReadOnly (Read-Only)
- Authorized users can read a resource, but they can't delete or update the resource
Practice Quiz
-
Which lock level allows authorized users to still read and modify a resource, but they can't delete the resource?
- WriteOnly
- CanDelete
- ReadOnly
- CanNotDelete
-
In the Azure Portal, what are the lock levels you can set?
- WriteOnly
- EditOnly
- CanNotDelete
- ReadOnly
-
What are Resource Locks used for?
- To lock a subscription, resource group, or resource to prevent other users from accidentally deleting or modifying critical resources.