exam questions

Exam AZ-304 All Questions

View all questions & answers for the AZ-304 exam

Exam AZ-304 topic 2 question 28 discussion

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

HOTSPOT -
Your company has the divisions shown in the following table.

You plan to deploy a custom application to each subscription. The application will contain the following:
✑ A resource group
✑ An Azure web app

Custom role assignments -

✑ An Azure Cosmos DB account
You need to use Azure Blueprints to deploy the application to each subscription.
What is the minimum number of objects required to deploy the application? 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: 2 -
One management group for East, and one for West.
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: 1 -
One definition as the you plan to deploy a custom application to each subscription.
With Azure Blueprints, the relationship between the blueprint definition (what should be deployed) and the blueprint assignment (what was deployed) is preserved.

Box 3: 4 -
One assignment for each subscription.
Reference:
https://docs.microsoft.com/en-us/azure/governance/blueprints/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
devianter81
Highly Voted 4 years, 7 months ago
2,2,4 Management groups can't span AAD tenant, so you need 2 management groups. Blueprints definition can be saved within management group which, in turn, means you need 2 blueprint definitions. Blueprint assignments are at subscription level, therefore you need 4.
upvoted 131 times
Arulkumar_Subramaniam
4 years, 6 months ago
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. So we will need at least 2 blueprint definitions https://docs.microsoft.com/en-us/azure/governance/blueprints/overview
upvoted 5 times
...
temporal111
4 years, 6 months ago
I think blueprint should be 1 due to the fact that you can create one for the first division, export it and finally you could import it into the second division https://docs.microsoft.com/en-us/azure/governance/blueprints/how-to/import-export-ps
upvoted 5 times
...
KhabibcandefeatGSP
3 years, 11 months ago
Correct answer is 2 2 2.
upvoted 18 times
Ajdlfasudfo0
3 years, 6 months ago
you also have to define the subscription in that process "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."
upvoted 1 times
...
tita_tovenaar
3 years, 9 months ago
NO, answer is 2-2-4. See quote: "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." https://docs.microsoft.com/en-us/azure/governance/blueprints/overview#blueprint-definition-locations
upvoted 8 times
Azurefox79
3 years, 4 months ago
Nope, read the full article bud. Each Published Version of a blueprint can be assigned (with a max name length of 90 characters) to an existing management group or subscription. https://docs.microsoft.com/en-us/azure/governance/blueprints/overview
upvoted 3 times
...
RemonB
3 years, 5 months ago
I agree with the text part, 2 mgmt groups, 1 blueprint stored 2 times on both management groups, and assigned 4 times to the subscription. Only open question, is it 2-1-4 or 2-2-4. I'm not clear to what to choose.
upvoted 2 times
Nokaido
3 years, 3 months ago
Since the blueprint is the same on both management groups I think 2-1-4 is correct.
upvoted 1 times
...
...
...
...
gssd4scoder
3 years, 11 months ago
Why can't span AAD tenant? I can create tenants in my Visual Studio Subscription under the Root Management group that includes subscription of my org. Please explain
upvoted 1 times
tita_tovenaar
3 years, 9 months ago
Not sure what you did in VS (you might have created subdomains), but documentation is clear: "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. " https://docs.microsoft.com/en-us/azure/governance/management-groups/overview#root-management-group-for-each-directory
upvoted 1 times
...
Wis10
3 years, 10 months ago
Because there are two different tenants: east.contoso.com and west.contoso.com, each one with an Azure AD
upvoted 2 times
...
[Removed]
3 years, 8 months ago
because tenant is top most object this hierarchy. Even root mgmt group comes under tenant. Each tenant has its own resources. BP is also one resource. and point here is, there are two tenant.
upvoted 1 times
...
...
...
GetulioJr
Highly Voted 3 years, 10 months ago
After giving a lot of though, I will go with the answer, you will need 2, 2 and 2. You need 2 Management Groups as there is to AAD involved. You need 2 Blueprint as you will need one definition in each root management group. You need 2 Assignments as you can assign the blueprints to the root management group though the REST API. Ref on root management group: https://docs.microsoft.com/en-us/azure/security-center/security-center-management-groups "Each Azure AD tenant 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 group allows global policies and Azure role assignments to be applied at the directory level."
upvoted 32 times
yyuryyucicuryyforme
3 years, 3 months ago
Each Blueprint assignment to (or perhaps via?) a management group must use the API, and must specific the one (sole) Subscription ID that the assignment applies to, using the 'properties.scope' string in the request body. So Blueprint assignment is one per subscription, even assigned via management group. See https://docs.microsoft.com/en-us/rest/api/blueprints/assignments/create-or-update And search for properties.scope Thus the answer is 2 2 4 regardless of assignment via management group level or assignment at subscription level.
upvoted 3 times
...
...
pabloartgal
Most Recent 2 years, 5 months 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. Then the answer is correct. box 1 = 2 box 2 = 1 box 3 = 4.
upvoted 1 times
...
Snownoodles
2 years, 6 months ago
2-2-2 2 AAD, so 2 root MG BP defs # = Root MG#, so it's BP defs # is 2 You can assign BP to Root MGs, so BP assignments # =2
upvoted 1 times
...
AubinBakana
2 years, 8 months ago
- 2 Management groups to separate regions - 1 Blueprint Definitioin - Assign that blueprint definition to each of the subcritptions. That's 4. Answer is correct.
upvoted 2 times
...
AubinBakana
2 years, 8 months ago
People should just be quiet if they are not sure about what they are doing instead of clogging the thread. The answer is correct.
upvoted 2 times
...
AubinBakana
2 years, 8 months ago
People should just be quiet if they are not sure about what they are doing instead of clogging the thread. The answer is correct.
upvoted 1 times
...
manojchavan
2 years, 11 months ago
Question is about "minimum number of objects required to deploy the application". 2 management groups one for tenant (can't have same across tenant) 2 Blueprint Objects (one definition but need two objects one for each tenant stored at management group level) 2 Blueprint assignments (since it can be assigned at Management group level, minimum 2 are required)
upvoted 1 times
...
Azure_daemon
2 years, 11 months ago
The correct answer is 2,1,2, the first two box is obvious the tricky one is the third box, which the given answer is wrong, it says the minimum number of object plus the published blueprint can be assigned either to a management group or a subscription, so in this case the number of assignments will be 2 (East and West management groups): 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.
upvoted 1 times
...
AberdeenAngus
2 years, 11 months ago
Must be 4 assignments, because the web app name is one of the parameters specified in the assignment, and web app names must be globally unique (unless we're deploying web apps into ASEs, and the question doesn't say this). We are deploying 4 web apps, 1 into each subscription, so 4 assignments. A web site must have a globally unique URL. When you create a web site that uses a hosting plan, the URL is http://<app-name>.azurewebsites.net. The app name must be globally unique. https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftweb
upvoted 2 times
...
cwilson91
2 years, 11 months ago
On AZ-305 exam - 5.7.22
upvoted 3 times
...
cloudera
3 years ago
In my opinion, it should be: 2 Management groups, 2 Blueprint Definitions - one definition for each management group which makes it 2) and 2 blueprints assignment - blueprint assignments can be done at the Management or at the Subscription level. I will prefer to assign them at the management level rather than the subscription level so fewer admin tasks, also a minimum number of objects is what the question specifically asking.
upvoted 1 times
...
itenginerd
3 years, 1 month ago
On my exam today.
upvoted 1 times
...
itenginerd
3 years, 1 month ago
It's 2-2-4 for me. Blueprint definitions can be assigned to different mgmt groups or subs. But Azure has very few concepts for those assignments to cross tenant boundaries. Two tenants means two mgmt groups, two blueprint definitions (even if one's a copy of the other, they're still two separate definitions) and 4 assignments (one per sub).
upvoted 1 times
...
HarryZ
3 years, 1 month ago
should be 2,1,2 design like this: one root subscription, under one root there are 2 management group (East and West), under each group there are two subscription. With this design, you have 2 mgr group, 1 blueprint stored at the root, then assign the blueprint to 2 mgr group. So, 2,1,2.
upvoted 1 times
...
plmmsg
3 years, 1 month ago
Answer is 2,2,2
upvoted 1 times
...
BD1193
3 years, 1 month ago
2 - because of diff tenant 1- create BP for one MG, export/import to other MG 2 - question mentions "assignment object", not assignment during deployment. BP assignment objects can exists at MG level (with REST API)
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