Can you start or restart a virtual machine if it is in a resource group that has read-only lock set?
Experience Level: Junior
Tags: Azure CloudAzure Virtual Machines
Answer
No, because the locks get inherited to all resources that are assigned to the resource group. The read-only lock prevents the resource to be modified on the management plane and because virtual machine start and restart action is implemented as POST operation, these actions can't be executed when the read-only lock is present.
Related Azure Cloud job interview questions
According to Microsoft Cloud Adoption Framework (CAF), what are the three specific terms related to Management phaze that can help improve conversations among business stakeholders?
Microsoft Cloud Adoption Framework (CAF) JuniorWhat are 6 key steps for establishing a management baseline according to Microsoft Cloud Adoption Framework (CAF)?
Microsoft Cloud Adoption Framework (CAF) JuniorWhat is management baseline according to Microsoft Cloud Adoption Framework (CAF)?
Microsoft Cloud Adoption Framework (CAF) JuniorWhat are the 5 disciplines of cloud governance according to Microsoft Cloud Adoption Framework (CAF)?
Microsoft Cloud Adoption Framework (CAF) JuniorIs Cloud Security Posture Management (CSPM) available for all Azure Subscriptions?
Microsoft Defender Junior