nerdexam
Microsoft

AZ-305 · Question #99

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…

The correct answer is D. Azure Policy. Allowed virtual machine size SKUs This policy enables you to specify a set of virtual machine size SKUs that your organization can deploy. Allowed locations This policy enables you to restrict the locations your organization can specify when deploying resources. Use to enforce…

Submitted by stefanr· Mar 6, 2026Design identity, governance, and monitoring solutions

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 you include in the recommendation?

Options

  • AConditional Access policies
  • Brole-based access control (RBAC)
  • CAzure Resource Manager (ARM) templates
  • DAzure Policy

How the community answered

(33 responses)
  • A
    9% (3)
  • B
    3% (1)
  • C
    18% (6)
  • D
    70% (23)

Explanation

Allowed virtual machine size SKUs This policy enables you to specify a set of virtual machine size SKUs that your organization can deploy. Allowed locations This policy enables you to restrict the locations your organization can specify when deploying resources. Use to enforce your geo- compliance requirements. Excludes resource groups, Microsoft.AzureActiveDirectory/b2cDirectories, and resources that use the 'global' region. https://docs.microsoft.com/en-us/azure/governance/policy/samples/built-in-policies

Community Discussion

No community discussion yet for this question.

Full AZ-305 Practice