exam questions

Exam AZ-305 All Questions

View all questions & answers for the AZ-305 exam

Exam AZ-305 topic 4 question 23 discussion

Actual exam question from Microsoft's AZ-305
Question #: 23
Topic #: 4
[All AZ-305 Questions]

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?

  • A. Azure Resource Manager (ARM) templates
  • B. Azure Policy
  • C. Conditional Access policies
  • D. role-based access control (RBAC)
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
bootless
Highly Voted 2 years, 3 months ago
Selected Answer: B
Correct answer
upvoted 11 times
...
GarryK
Highly Voted 2 years, 2 months ago
Selected Answer: B
Correct https://docs.microsoft.com/en-us/azure/governance/policy/samples/built-in-policies 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.
upvoted 9 times
...
Thanveer
Most Recent 5 days ago
Selected Answer: B
B. Azure Policy
upvoted 1 times
...
SeMo0o0o0o
3 weeks ago
Selected Answer: B
B is correct
upvoted 1 times
...
Thanveer
3 weeks, 3 days ago
no doubt B. Azure Policy
upvoted 1 times
...
23169fd
5 months, 1 week ago
Selected Answer: B
Specific Regions: You can create a policy to restrict the allowed locations for VM deployment. Specific Sizes: You can create a policy to restrict the allowed VM sizes. Azure Policy ensures that these constraints are automatically enforced whenever resources are created or modified, providing an effective governance mechanism.
upvoted 1 times
...
JoShizo
9 months, 1 week ago
Selected Answer: B
B - Azure Policy
upvoted 1 times
...
King_Laps
1 year, 7 months ago
The given answer is correct
upvoted 1 times
...
NotMeAnyWay
1 year, 7 months ago
Selected Answer: B
B. Azure Policy Azure Policy is a service that helps you create, assign, and manage policies to enforce different rules and effects over your resources. By using Azure Policy, you can ensure that your resources stay compliant with your corporate standards. In this scenario, you can create and assign policies to restrict the creation of virtual machines to specific regions and sizes, which meets both requirements.
upvoted 2 times
...
VBK8579
1 year, 10 months ago
Selected Answer: B
B. Azure Policy
upvoted 2 times
...
OPT_001122
1 year, 10 months ago
Selected Answer: B
B. Azure Policy
upvoted 1 times
...
AF2000
1 year, 11 months ago
Selected Answer: B
Correct
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...