exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 3 question 56 discussion

Actual exam question from Microsoft's AZ-500
Question #: 56
Topic #: 3
[All AZ-500 Questions]

You have multiple development teams that will create apps in Azure.
You plan to create a standard development environment that will be deployed for each team.
You need to recommend a solution that will enforce resource locks across the development environments and ensure that the locks are applied in a consistent manner.
What should you include in the recommendation?

  • A. an Azure policy
  • B. an Azure Resource Manager template
  • C. a management group
  • D. an Azure blueprint
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
sadako
Highly Voted 3 years, 5 months ago
D: Azure Blueprint Reference: "How blueprint locks work" https://docs.microsoft.com/en-us/azure/governance/blueprints/concepts/resource-locking
upvoted 29 times
cfsxtuv33
3 years, 4 months ago
Thank you for the link. It seems the answer is correct once I looked at the link, originally I thought it was Policy as it makes sense. "The creation of consistent environments at scale is only truly valuable if there's a mechanism to maintain that consistency. This article explains how resource locking works in Azure Blueprints."
upvoted 3 times
cfsxtuv33
3 years, 4 months ago
Sorry, the link from "sadako" explains this.
upvoted 1 times
...
...
...
mrfallacy
Highly Voted 3 years, 6 months ago
Sounds like an Azure Resource Manager (ARM) Template makes the most sense in this case. It allows for the consistency needed for the locks without manually creating locks each time for each of the standard development environments. Also, since they're all standard development environments, they will most likely be the same for each team.
upvoted 7 times
...
golitech
Most Recent 2 months, 4 weeks ago
Selected Answer: D
Azure Blueprints are designed to help you set up and enforce a repeatable set of resources and policies that are applied consistently across multiple environments. Blueprints can include Azure Policy, Resource Manager templates, Role-Based Access Control (RBAC) assignments, and resource locks. In this case, the requirement is to enforce resource locks consistently across development environments. Azure Blueprints can include the configuration of resource locks, ensuring that the locks are consistently applied every time a new environment is deployed for each team.
upvoted 1 times
...
153a793
6 months, 1 week ago
i would go with "A". ARM and blue print provides the options, but when it comes to enforcement it is "policy". Policy with ARM or blue print. Consider if someone created resources without using available ARM or bluprint option.
upvoted 1 times
...
gen33
1 year, 4 months ago
Today Azure Resource Manager (ARM) Template is the best choice to achieve this https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources?tabs=json
upvoted 3 times
elster
1 year ago
Correct, Blueprints will be even deprecated as stated in this link https://learn.microsoft.com/en-us/azure/governance/blueprints/concepts/resource-locking#how-blueprint-locks-work
upvoted 2 times
...
...
flafernan
1 year, 5 months ago
Selected Answer: D
112. Azure Blueprint has the ability to create a standard and replicable ENVIRONMENT, including resources, policies, Locks, role assignments, and other configurations. The doubt that may arise is regarding the use of Azure Police, which in theory would have the same properties. To help you decide which one to use, just remember that Azure Police works at the subscription level, resource group, or individual resources, more globally. Azure Blueprint is aimed at a specific environment, such as a DEV environment, which can be replicated to another DEV team. So when the issue involves standardizing consistent environments, the ideal is to choose the use of Azure Blueprint.
upvoted 5 times
...
ESAJRR
1 year, 7 months ago
Selected Answer: D
D. an Azure blueprint Most Voted
upvoted 1 times
...
_fvt
1 year, 8 months ago
I would go for D (blueprints). "You plan to create a standard development environment that will be deployed for each team." so you will probably use blueprint. Using blueprints resource locks in that case is great because "you can protect newly deployed resources from being tampered with, even by an account with the Owner role". https://learn.microsoft.com/en-us/azure/governance/blueprints/tutorials/protect-new-resources But if you use another deployment method for environment, or if developers have to create resources which will need to have enforced resources locks, then you will need to use azure policies, as blueprint resource locks only applies on New resources deployed by the blueprint https://learn.microsoft.com/en-us/azure/governance/blueprints/concepts/resource-locking.
upvoted 1 times
...
Ario
1 year, 10 months ago
Selected Answer: D
Correct Answer: D
upvoted 1 times
...
zellck
1 year, 12 months ago
Selected Answer: D
D is the answer. https://learn.microsoft.com/en-us/azure/governance/blueprints/concepts/resource-locking The creation of consistent environments at scale is only truly valuable if there's a mechanism to maintain that consistency. This article explains how resource locking works in Azure Blueprints.
upvoted 2 times
...
zellck
1 year, 12 months ago
D is the answer. https://learn.microsoft.com/en-us/azure/governance/blueprints/concepts/resource-locking The creation of consistent environments at scale is only truly valuable if there's a mechanism to maintain that consistency. This article explains how resource locking works in Azure Blueprints.
upvoted 2 times
...
majstor86
2 years, 1 month ago
Selected Answer: D
D. an Azure blueprint
upvoted 4 times
...
Fal991l
2 years, 2 months ago
Selected Answer: A
AI: To enforce resource locks across the development environments and ensure that the locks are applied in a consistent manner, I would recommend using an Azure Policy. Azure Policy allows you to enforce organizational standards and ensure compliance with corporate governance policies. You can use Azure Policy to define and enforce resource locks for all resources within a specified scope. Resource locks can help prevent accidental deletion or modification of critical resources. Using Azure Policy, you can define a policy that enforces resource locks for all resources within a subscription, resource group, or individual resource. The policy can be assigned to a management group, which will ensure that it is applied consistently across all development environments.
upvoted 2 times
...
mung
2 years, 5 months ago
Both ARM template and blueprint can deploy locks on the resouces. However, when they do not enforces the "lock", they just deploys it.. So i guess A..?
upvoted 1 times
...
ylfr
2 years, 6 months ago
Selected Answer: D
I agree with sadako : Blueprint
upvoted 2 times
...
Kelly8023
2 years, 6 months ago
Vote for B - Azure Resource Manager. Reference: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources?source=recommendations&tabs=json I think the 'consistent manner' is the key here. ARM has lock inheritance function: When you apply a lock at a parent scope, all resources within that scope inherit the same lock. Even resources you add later inherit the same parent lock. The most restrictive lock in the inheritance takes precedence.
upvoted 1 times
...
somenick
2 years, 6 months ago
Selected Answer: A
It can be both A and D, but since blueprints are still in preview, I'll go with A
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago