exam questions

Exam AZ-304 All Questions

View all questions & answers for the AZ-304 exam

Exam AZ-304 topic 2 question 18 discussion

Actual exam question from Microsoft's AZ-304
Question #: 18
Topic #: 2
[All AZ-304 Questions]

HOTSPOT -
You plan to create an Azure environment that will contain a root management group and 10 child management groups. Each child management group will contain five Azure subscriptions. You plan to have between 10 and 30 resource groups in each subscription.
You need to design an Azure governance solution. The solution must meet the following requirements:
✑ Use Azure Blueprints to control governance across all the subscriptions and resource groups.
✑ Ensure that Blueprints-based configurations are consistent across all the subscriptions and resource groups.
✑ Minimize the number of blueprint definitions and assignments.
What should you include in the solution? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: The root management group
When creating a blueprint definition, you'll define where the blueprint is saved. Blueprints can be saved to a management group or subscription that you have
Contributor access to. If the location is a management group, the blueprint is available to assign to any child subscription of that management group.
Box 2: The root management group
Each directory is given a single top-level management group called the "Root" management group. This root management group is built into the hierarchy to have all management groups and subscriptions fold up to it. This root management group allows for global policies and Azure role assignments to be applied at the directory level.
Each Published Version of a blueprint can be assigned to an existing management group or subscription.
Reference:
https://docs.microsoft.com/en-us/azure/governance/blueprints/overview https://docs.microsoft.com/en-us/azure/governance/management-groups/overview

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
EgorAivazov
Highly Voted 4 years ago
Disagree with answer #2. Answer 1: The root management group (correct) Answer 2: The subscriptions Explanation: When creating a blueprint definition, you'll define where the blueprint is saved. Blueprints can be saved to a management group or subscription that you have Contributor access to. If the location is a management group, the blueprint is available to assign to any child subscription of that management group. Since question #2 clearly mentions the scope of assignments, it should be on the subscription level.
upvoted 84 times
subbu3071988
3 years, 4 months ago
I can't understand why is everyone getting confused on this especially Box2. I have a simple question- how do you control governance across all subscriptions and RGs by creating Blueprint assignments at Subscription level? If you do it at the subscription level, then subscription owners will have permission to change/delete the Blueprint assignment. This means by creating Blueprint assignment at subscription level, you will not be able to "control governance across all subscriptions and RGs". Note- Blueprint assignments can be done both at the MG level (Rest API) and at subscription level. So these would be my answers- Box 1: The root management group Box 2: The root management group Ref- https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/governance/blueprints/concepts/resource-locking.md
upvoted 49 times
rdemontis
3 years, 3 months ago
Correct! Thanks for explanation
upvoted 2 times
...
therealss
3 years ago
Well I'm confused now. The process of an assignment includes the creation of resources, and you have to have a subscription to hold actual resources (i.e. - a mgmt group, unto itself, cannot hold resources). Also, the idea that "subscription owners will have permission to change/delete the Blueprint assignment"....that's only true if you use DON'T LOCK as the resource locking mode (which is the default, but that is under the control the assignee). Plus if you use the portal, subscription is the only option to do an assignment. I'm reading on this thread that the REST API allows it, so I do have some doubts, but overall, I think it's subscription. https://adamtheautomator.com/azure-blueprints/
upvoted 2 times
...
cloudprospect
2 years, 8 months ago
Also: Ensure that Blueprints-based configurations are consistent across all the subscriptions and resource groups. Minimize the blueprints and assignments. If every subscription is subject to the same policies and we want to minimize the number of assignments, root assignment is correct.
upvoted 1 times
...
...
Oracleist
3 years, 9 months ago
you can assign a blueprint to a management group using REST API...
upvoted 3 times
...
Kamekung
3 years, 9 months ago
After a blueprint has been published, **it can be assigned to a subscription.** Assign the blueprint that you created to one of the subscriptions under your management group hierarchy. If the blueprint is saved to a subscription, it can only be assigned to that subscription. https://docs.microsoft.com/en-us/azure/governance/blueprints/create-blueprint-portal
upvoted 3 times
...
teehex
3 years, 6 months ago
Why did the answer get many votes? It is the wrong answer. To minimize the administrative effort you must assign to a higher scope. Blueprint can be assigned to MG technically. Read this one https://docs.microsoft.com/en-us/rest/api/blueprints/assignments/create-or-update (properties.scope).
upvoted 12 times
...
...
Aghora
Highly Voted 4 years ago
tested . no need to confuse things . I created a blueprint . when creating your asked for the location - I selected the tenant group . I then saved as a draft . then published it with version1.0. the blueprint was in definitions blade and now where else. I then clicked on assign(no another place to "CREATE" assignments ) the first thing I was asked for is SUBSCRIPTION !. so the answer is 1- Root management group 2- Subscriptions
upvoted 60 times
sallymaher
4 years ago
Me also tested in the lab you can't assign the blueprint to a management group only to subscription
upvoted 6 times
...
VincentZhang
3 years, 4 months ago
The question is not asking you where to assign but which level to create the assignment.
upvoted 5 times
...
Deepbond
3 years, 11 months ago
Blueprint can be assigned to management group using REST API but not from Portal. https://docs.microsoft.com/en-us/azure/governance/blueprints/overview#blueprint-assignment
upvoted 19 times
...
...
skywalker
Most Recent 1 week, 2 days ago
Assigning a blueprint definition to a management group means the assignment object exists at the management group. The deployment of artifacts still targets a subscription. To perform a management group assignment, the Create Or Update REST API must be used and the request body must include a value for properties.scope to define the target subscription. https://learn.microsoft.com/en-us/azure/governance/blueprints/overview Answer 1: The root management group Answer 2: The root management group
upvoted 1 times
...
calotta1
1 year, 6 months ago
Creation can be done at Management Group, but assignment has to be sub level - https://learn.microsoft.com/en-us/azure/governance/blueprints/create-blueprint-portal#assign-a-blueprint
upvoted 1 times
...
gauravit43
1 year, 11 months ago
root management group and subscription
upvoted 1 times
...
Blzs
2 years, 8 months ago
I am testing this at the Azure portal now. I have a few test management groups. When I create a new Blueprint definition and select "definition location" the root management group is greyed out to me. I can only select a child management group. No matter if they have a subscription or not. Later when I try to assign the blueprint, I can only select a Subscription. So based on this experience, the correct answer seems to be: 1) Child level 2) Subscriptions
upvoted 2 times
Blzs
2 years, 8 months ago
correction... I didn't have access to the root management group. So: 1) root 2) subscriptions
upvoted 1 times
...
...
teyol51117
2 years, 10 months ago
On exam 31.03.2022
upvoted 2 times
...
kanweng
2 years, 11 months ago
https://docs.microsoft.com/en-us/azure/governance/blueprints/concepts/deployment-stages#:~:text=The%20blueprint%20assignment%20object%20is%20created,-A%20user%2C%20group&text=The%20assignment%20object%20exists%20at,of%20managed%20identity%20is%20selected. The blueprint assignment object is created A user, group, or service principal assigns a blueprint to a subscription. The assignment object exists at the subscription level where the blueprint was assigned. Resources created by the deployment aren't done in context of the deploying entity.
upvoted 1 times
...
MaroofAli
2 years, 11 months ago
Blueprint assignment Each Published Version of a blueprint can be assigned (with a max name length of 90 characters) to an existing management group or subscription. In the portal, the blueprint defaults the Version to the one Published most recently. If there are artifact parameters or blueprint parameters, then the parameters are defined during the assignment process. Note Assigning a blueprint definition to a management group means the assignment object exists at the management group. The deployment of artifacts still targets a subscription. To perform a management group assignment, the Create Or Update REST API must be used and the request body must include a value for properties.scope to define the target subscription. Reference: https://docs.microsoft.com/en-us/azure/governance/blueprints/overview#blueprint-assignment
upvoted 3 times
...
arun
2 years, 11 months ago
https://docs.microsoft.com/en-us/azure/governance/blueprints/overview#blueprint-assignment Assigning a blueprint definition to a management group means the assignment object exists at the management group. The deployment of artifacts still targets a subscription so Root Management is correct for both boxes.
upvoted 3 times
...
plmmsg
2 years, 11 months ago
Root management group for both
upvoted 1 times
...
us3r
3 years ago
1) root management group 2) root management group The only option to prevent subscription owners from removing a blueprint assignment is to assign the blueprint to a management group. In this scenario, only Owners of the management group have the permissions needed to remove the blueprint assignment. https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/governance/blueprints/concepts/resource-locking.md#assign-at-management-group
upvoted 2 times
...
chichi0307
3 years, 4 months ago
Root Management Group is highest level. If assign to mgmt group, it will be available for assigining subscriptuion in that management group. so answer is corect.Refer microsoft video. https://docs.microsoft.com/en-us/azure/governance/blueprints/overview#blueprint-definition-locations
upvoted 1 times
...
rafpullo
3 years, 4 months ago
Answer is correct. You assign blueprint to subscription not to management group. A blueprint crates resources and resources are in a subscription not in a mgmt groups which is a concept for governance not for hosting resources and bill their consumption
upvoted 1 times
...
syu31svc
3 years, 4 months ago
If you can define at the root level surely you can create at the root level for consistency and minimizing definitions
upvoted 1 times
...
subbu3071988
3 years, 4 months ago
Box 1: Root management group (most agree with it) So the confusion is on Box 2 whether its MG or Subscription. You can create Blueprint Assignment at both MG level (using Rest API) and subscription level. If you create the Assignment at Subscription level, then subscription owners can change/remove the Blueprint assignments thereby the purpose of "to control governance across all subscriptions and RGs" will be defeated. The only option to prevent subscription owners from removing a blueprint assignment is to assign the blueprint to a management group. https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/governance/blueprints/concepts/resource-locking.md
upvoted 3 times
...
Ario
3 years, 5 months ago
Answer is 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago