Azure Virtual Machine Provisioning: Recommended Solution for Regional and Size Restrictions

Provisioning Azure Virtual Machines: Recommended Solution

Question

You have an Azure subscription.

You need to recommend a solution to provide developers with the ability to provision Azure virtual machines. The solution must meet the following requirements:

-> Only allow the creation of the virtual machines in specific regions.

-> Only allow the creation of specific sizes of virtual machines.

What should include in the recommendation?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B

The recommended solution to meet the requirements of allowing developers to provision Azure virtual machines in specific regions and specific sizes is Azure Policy.

Azure Policy is a service in Azure that provides governance control over resources. It allows administrators to create policies to enforce specific rules and procedures for resources in an organization.

By using Azure Policy, an administrator can create a policy to restrict the creation of virtual machines to specific regions and sizes. This is achieved by defining a policy that specifies the allowed regions and sizes for virtual machines. Any virtual machine creation requests that do not meet the policy criteria will be rejected.

Conditional access policies are used to control access to resources based on specific conditions, such as the user's location or the type of device they are using. This solution would not meet the requirements of allowing the creation of virtual machines in specific regions and sizes.

Azure Resource Manager templates are used to deploy and manage resources in Azure. They can be used to create virtual machines, but they do not provide the policy enforcement required to restrict the creation of virtual machines to specific regions and sizes.

Role-based access control (RBAC) is used to control access to resources based on the user's role in the organization. While RBAC can be used to restrict access to certain resources, it does not provide the policy enforcement required to restrict the creation of virtual machines to specific regions and sizes.

Therefore, the recommended solution is Azure Policy.