Practice Test 1 | Microsoft Azure Security Technologies | AZ-500 | Dumps | Mock Test
A company has an Azure subscription that has the following virtual machines.
Name | Resource Group | Status |
whizlabvm1 | whizlabgrp1 | Running |
whizlabvm2 | whizlabgrp2 | Running |
The following policies are then added to the subscription.
Policy Definition | Resource type | Scope |
Not allowed resource types | virtualMachines | whizlabgrp1 |
Allowed resource types | virtualMachines | whizlabgrp2 |
You also create the following resource locks.
Name | Type | Created On |
wmlock | Read-only | whizlabvm1 |
grouplock | Read-only | whizlabgrp2 |
Would you be able to stop whizlabvm1?
A. Yes
B. No
Answer – B
Because of the resource lock on the virtual machine, you will not be able to change the state of the virtual machine.
If you try this out, you will get a notification of ‘error’ in Azure.
For more information on resource locks, one can visit the below URL-
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-lock-resources
Comments are closed, but trackbacks and pingbacks are open.