An administrator applies a CanNotDelete lock to an Azure resource group named RG-Prod. A virtual machine named VM1 is deployed inside RG-Prod. Is the following statement true or false: VM1 cannot be deleted because it inherits the CanNotDelete lock from RG-Prod?
Cevap: Cevap
Cevap
The statement is true. The virtual machine inherits the CanNotDelete lock from the resource group, which prevents it from being deleted.
The statement is correct because resource locks applied at the resource group scope are inherited by all resources inside that resource group, including VM1.
Adım Adım Çözüm
Anahtar Kavram
Azure Resource Lock Inheritance
Tahmini Süre:45s