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 |
Can you create a virtual machine in whizlabgrp1?
A. Yes
B. No
Answer – B
You will not be able to create a new virtual machine because of the policy that has been assigned to the resource group.
If you try this out, you will get a notification of ‘error’ in Azure.
For more information on Azure policies, one can visit the below URL-
https://docs.microsoft.com/en-us/azure/governance/policy/overview
Comments are closed, but trackbacks and pingbacks are open.