Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-900 Exam - Topic 7 Question 36 Discussion

Posted by Lashaunda on May 06, 2022 at 08:41 AM

You have a resource group named RG1.

You plan to create virtual networks and app services in RG1.

You need to prevent the creation of virtual machines only in RG1.

What should you use?

Suggested Answer: D

Azure policies can be used to define requirements for resource properties during deployment and for already existing resources. Azure Policy controls properties such as the types or locations of resources.

Azure Policy is a service in Azure that you use to create, assign, and manage policies. These policies enforce different rules and effects over your resources, so those resources stay compliant with your corporate standards and service level agreements.

In this question, we would create a Azure policy assigned to the resource group that denies the creation of virtual machines in the resource group.

You could place a read-only lock on the resource group. However, that would prevent the creation of any resources in the resource group, not virtual machines only. Therefore, an Azure Policy is a better solution.

References:

https://docs.microsoft.com/en-us/azure/governance/policy/overview


Get Premium AZ-900 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
JO
Johnna 12 months ago
Nah, banning with a role seems too complicated for just VMs.
LO
Lorrine 1 year ago
Surprised that tags don't help with this!
BO
Bobbie 1 year ago
I think a lock would work too, right?
RE
Rebbecca 1 year ago
Totally agree, Azure policy is the way to go!
MA
Mabel 1 year ago
You can use an Azure policy to restrict VM creation.
MA
Magdalene 1 year ago
Tags seem more about organization than restrictions. I think the answer is definitely an Azure policy based on what we practiced.
MA
Ma 1 year ago
I feel like we discussed Azure roles in relation to permissions, but I'm not convinced that's the right choice for preventing VM creation.
LE
Leslie 1 year ago
I'm not entirely sure, but I remember something about using locks for resource management. Could that apply here?
AR
Aretha 1 year ago
I think we might need to use an Azure policy to restrict the creation of virtual machines in RG1. That sounds familiar from our practice sessions.
KA
Katheryn 1 year ago
The wording of these options is tricky, but I think I can narrow it down. I'll make sure to select the three that most accurately describe the dispatcher's responsibilities.
MA
Maxima 1 year ago
Keeping the end goal in mind is crucial for any discussion or problem-solving process. Option A seems like the best choice to me.
MA
Marlon 1 year ago
This question seems straightforward. I'll focus on the key ways to prevent fraud, like strong internal controls, regular reconciliations, and surprise audits.
0/2000 characters

Save Cancel