Practice Test 4 | Microsoft Azure Security Technologies | AZ-500 | Dumps | Mock Test
A company has the following virtual machines defined as part of the subscription.
Name | Resource Group | Status |
whizlabvm1 | whizlabs-rg1 | Stopped (Deallocated) |
whizlabvm2 | whizlabs-rg2 | Stopped (Deallocated) |
The following Azure policies are defined
Policy definition | Resource type | Scope |
Not allowed resource types | virtualMachines | whizlabs-rg1 |
Allows resource types | virtualMachines | whizlabs-rg2 |
The following resource locks are defined.
Name | Type | Created on |
Whizlab-lock1 | Read-only | whizlabvm1 |
Whizlab-lock2 | Read-only | whizlabs-rg2 |
Would you be able to start whizlabvm2?
A. Yes
B. No
Answer – B
Since there is a resource lock defined on the resource group, you will not be able to start the virtual machine.
Resource locks will be inherited from the resource group.
For more information on resource locks, please refer to the below link-
Comments are closed, but trackbacks and pingbacks are open.