exam questions

Exam AZ-301 All Questions

View all questions & answers for the AZ-301 exam

Exam AZ-301 topic 2 question 9 discussion

Actual exam question from Microsoft's AZ-301
Question #: 9
Topic #: 2
[All AZ-301 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 include in the recommendation?

  • A. conditional access policies
  • B. Azure Policy
  • C. Azure Resource Manager templates
  • 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
mykolaantoniv
Highly Voted 5 years, 4 months ago
Azure Policy might be correct
upvoted 15 times
tartar
4 years, 9 months ago
B is ok
upvoted 3 times
...
...
akamal
Highly Voted 5 years ago
Azure Policy: Allowed locations Allowed Virtual Machine SKUs
upvoted 7 times
...
glam
Most Recent 4 years, 5 months ago
B. Azure Policy
upvoted 2 times
...
sanketshah
4 years, 6 months ago
B is correct answer
upvoted 2 times
...
Kamal_SriLanka
4 years, 10 months ago
Answer is correct
upvoted 2 times
...
duytran216
4 years, 10 months ago
B is correct.
upvoted 2 times
...
Neetiniti
4 years, 11 months ago
Correct Answer: B Azure Policy: Allowed locations Allowed Virtual Machine -example-you can do more with Azure Policy. Next, create a new custom policy to save costs by validating that virtual machines created in your environment can't be in the G series. https://docs.microsoft.com/en-us/azure/governance/policy/tutorials/create-and-manage
upvoted 3 times
...
pandeya442
5 years, 1 month ago
Azure Policy
upvoted 2 times
...
Rajuuu
5 years, 2 months ago
Why not C ? Resource Group template with predefined settings are also applicable.
upvoted 1 times
Famous_Guy
5 years, 2 months ago
What if someone change config of template? you can not restrict without Policy
upvoted 6 times
...
...
ParthaM
5 years, 3 months ago
Agreed. Conditional access doesn't apply here. RBAC can partially solve the problem but can't restrict size of machines. ARM Template is a way of provisioning resources, that's all. AZ Policy is the best answer.
upvoted 4 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 ...