nerdexam
MicrosoftMicrosoft

AZ-500 · Question #327

AZ-500 Question #327: Real Exam Question with Answer & Explanation

The correct answer is B: You will NOT be able to start VirMac1.. https://docs.microsoft.com/en-us/azure/governance/blueprints/concepts/resource-locking

Submitted by hassan_iq· Mar 6, 2026Secure compute, storage, and databases

Question

Your company has an Azure subscription that includes two virtual machines, named VirMac1 and VirMac2, which both have a status of Stopped (Deallocated). The virtual machines belong to different resource groups, named ResGroup1 and ResGroup2. You have also created two Azure policies that are both configured with the virtualMachines resource type. The policy configured for ResGroup1 has a policy definition of Not allowed resource types, while the policy configured for ResGroup2 has a policy definition of Allowed resource types. You then create a Read-only resource lock on VirMac1, as well as a Read-only resource lock on ResGroup2. Which of the following is TRUE with regards to the scenario? (Choose all that apply.)

Options

  • AYou will be able to start VirMac1.
  • BYou will NOT be able to start VirMac1.
  • CYou will be able to create a virtual machine in ResGroup2.
  • DYou will NOT be able to create a virtual machine in ResGroup2.

Explanation

https://docs.microsoft.com/en-us/azure/governance/blueprints/concepts/resource-locking

Community Discussion

No community discussion yet for this question.

Full AZ-500 PracticeBrowse All AZ-500 Questions