You have an Azure subscription that contains the resources shown in the following table. The Not allowed resource types Azure policy that has policy enforcement...


Microsoft AZ-104 Exam

Questions Number: 348 out of 549 Questions
63.39%

Question 348
You have an Azure subscription that contains the resources shown in the following table.
AZ-104_348Q.png related to the Microsoft AZ-104 Exam
The Not allowed resource types Azure policy that has policy enforcement enabled 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?



The Not allowed resource types Azure policy prohibits the deployment of specified resource types. You specify an array of the resource types to block.
Virtual Networks and Virtual Machines are prohibited.
Reference:
https://docs.microsoft.com/en-us/azure/governance/policy/samples/not-allowed-resource-types





Previous Questions Next Questions



Premium Version