nerdexam
MicrosoftMicrosoft

AZ-104 · Question #334

AZ-104 Question #334: Real Exam Question with Answer & Explanation

Sign in or unlock AZ-104 to reveal the answer and full explanation for question #334. The question stem and answer options stay visible for context.

Submitted by skyler.x· Mar 4, 2026Manage identities and governance

Question

You have an Azure subscription that contains the resources shown in the following table. The Not allowed resource types Azure policy is assigned to RG1 and uses the following parameters: Microsoft.Network/virtualNetworks Microsoft.Compute/virtualMachines In RG1, you need to create a new virtual machine named VM2, and then connect VM2 to VNET1. What should you do first?

Options

  • ARemove Microsoft.Compute/virtualMachines from the policy.
  • BCreate an Azure Resource Manager template
  • CAdd a subnet to VNET1.
  • DRemove Microsoft.Network/virtualNetworks from the policy.

Unlock AZ-104 to see the answer

You've previewed enough free AZ-104 questions. Unlock AZ-104 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full AZ-104 PracticeBrowse All AZ-104 Questions