If there is a resource group that has assigned a Not allowed resource types set to resource type of virtualMachines, can you create a virtual machine in it?

Experience Level: Junior
Tags: Azure CloudAzure Policy

Answer

No, you can not, because the policy is preventing that from happening within the scope that the policy is assigned to - in this case the resource group.
Related Azure Cloud job interview questions

Comments

No Comments Yet.
Be the first to tell us what you think.
AZ-900 Microsoft Azure Fundamentals Preparation
AZ-900 Microsoft Azure Fundamentals Preparation

Are you learning Azure Cloud ? Try our test we designed to help you progress faster.

Test yourself
Azure Policy
Azure Policy

Are you learning Azure Cloud ? Try our test we designed to help you progress faster.

Test yourself
AZ-104 Microsoft Azure Administrator Preparation
AZ-104 Microsoft Azure Administrator Preparation

Are you learning Azure Cloud ? Try our test we designed to help you progress faster.

Test yourself