An administrator manages an Azure subscription that contains a resource group named `rg-network-core`. Inside `rg-network-core`, there is a Virtual Network named `vnet-prod` and a Network Security Group (NSG) named `nsg-prod`. The administrator applies a `CanNotDelete` lock directly to `vnet-prod`, but does not apply any locks to `rg-network-core` or `nsg-prod`.
Evaluate the following statement: The administrator can delete `rg-network-core` without first removing the lock from `vnet-prod`.
Answer: Answer
Answer
False
The statement is false because deleting a resource group requires deleting all resources nested inside it. If any resource inside the group has a CanNotDelete lock, the deletion of the resource group will be blocked.
Step-by-Step Solution
Key Concept
Resource locks prevent deletion of resources, and a lock on a child resource blocks the deletion of the parent resource group.
Estimated Time:1m 0s