Skip to main content
  1. Public practice questions
  2. AZ-900 Practice Exams | Azure Fundamentals
  3. Domain 3-Describe Azure management and governance | AZ-900 Practice Exam | 230 Questions

Question 142 — Domain 3-Describe Azure management and governance | AZ-900 Practice Exam | 230 Questions

What can you use to restrict the deployment of a virtual machine to a specific location?

Select only one answer.

  1. Microsoft Defender for Cloud

  2. Azure Policy

  3. Resource groups

  4. Resource locks

Correct answers

  1. Azure Policy

Explanations

Correct:
Azure Policy
Azure Policy enables you to create and enforce policies such as restricting the deployment of resources to specific locations. For example, you can define a policy for allowed regions to ensure that virtual machines are only deployed in authorized locations.

Wrong:
Microsoft Defender for Cloud
Microsoft Defender for Cloud focuses on security and threat protection but does not enforce deployment restrictions.
Resource groups
Resource groups are used for organizing and managing resources but do not provide mechanisms to restrict deployments to specific locations.
Resource locks
Resource locks prevent accidental modifications or deletions of resources but do not restrict deployment locations.