Two virtual machines, VirMac1 and VirMac2, are Stopped (Deallocated). VirMac1 is in ResGroup1 and VirMac2 is in ResGroup2. ResGroup1 has an Azure Policy using the virtualMachines resource type with the definition 'Not allowed resource types'. ResGroup2 has an Azure Policy using the virtualMachines resource type with the definition 'Allowed resource types'. You apply a Read-only resource lock to VirMac1 and a Read-only resource lock to ResGroup2. Which of the following statements are true? (Choose all that apply.)
Choose an answer
Tap an option to check your answer.
Correct answer: You will NOT be able to start VirMac1., You will NOT be able to create a virtual machine in ResGroup2..
Why this is the answer
A Read-only resource lock on VirMac1 prevents any write operations, including starting the VM. Therefore, you will NOT be able to start VirMac1. A Read-only resource lock on ResGroup2 prevents any changes to resources within that resource group, including creating new virtual machines. Even though the 'Allowed resource types' policy might permit VM creation, the resource lock takes precedence by preventing all write operations. Thus, you will NOT be able to create a virtual machine in ResGroup2.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed