exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 2 question 56 discussion

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

You have 15 Azure subscriptions.
You have an Azure Active Directory (Azure AD) tenant that contains a security group named Group1.
You plan to purchase additional Azure subscription.
You need to ensure that Group1 can manage role assignments for the existing subscriptions and the planned subscriptions. The solution must meet the following requirements:
✑ Use the principle of least privilege.
✑ Minimize administrative effort.
What should you do?

  • A. Assign Group1 the Owner role for the root management group.
  • B. Assign Group1 the User Access Administrator role for the root management group.
  • C. Create a new management group and assign Group1 the User Access Administrator role for the group.
  • D. Create a new management group and assign Group1 the Owner role for the group.
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
NaoVaz
Highly Voted 2 years, 9 months ago
Selected Answer: B
B) " Assign Group1 the User Access Administrator role for the root management group." To be able to assign licenses to all current and future subscriptions, while minimizing the administrative effort, one should apply the role to the Root Management Group. And because we should use the principle of least privilege we should chose the User Access Administrator role instead of the Owner one.
upvoted 49 times
XristophD
2 years, 7 months ago
Elevation is needed first, but in general this is the right answer and the most effective following the principle of least-privileged-access and will also be valid on newly added Subscriptions. https://learn.microsoft.com/en-us/azure/role-based-access-control/elevate-access-global-admin
upvoted 7 times
...
...
P123123
Highly Voted 2 years, 5 months ago
B or C depending on which requirement you're prioritizing. - B if you're minimizing the administrative effort - C if you're following principle of least privilege
upvoted 13 times
Iykeman26
8 months, 2 weeks ago
It says for the planned and existing subscriptions. So it has to be the root tenant MG
upvoted 3 times
...
AnonFox
2 years, 1 month ago
^ This. So I don't understand which is the correct one. Realistically wouldn't you always do C for a better structured system?
upvoted 2 times
damnboy
10 months, 4 weeks ago
From the point of view of "least privilege" it would be recommended, of course, BUT if you create a management group ... you have to move the subscriptions to it, and option C says nothing about moving the subscriptions to this new management group, so group1 would be able to manage access in 0 subscriptions.
upvoted 2 times
...
...
...
khamrumunnu
Most Recent 1 month, 1 week ago
Selected Answer: B
The correct answer is: B. Assign Group1 the User Access Administrator role for the root management group. Why not the others? A. Owner at root management group ➤ Too much privilege. The Owner role allows full management of resources, violating the least privilege principle. C. User Access Administrator at a new management group ➤ A new management group won't include existing subscriptions unless you move them manually. More effort. D. Owner at a new management group ➤ Same as above, and again, the Owner role exceeds what's required (violates least privilege).
upvoted 2 times
...
marek_jazz
1 month, 2 weeks ago
Selected Answer: B
The key here is: "manage role assignments" which requires: Microsoft.Authorization/* Owner and User Access Admin can both do it - but least privilege is UAA
upvoted 1 times
...
Jay_D_Lincoln
4 months, 3 weeks ago
Selected Answer: B
C is incorrect because... - it did not mention anything about move existing subscription to the new mgt group - even if it would tell to move existing subs, the action would MAXIMIZE administrative task(which does not meet second requirement)
upvoted 1 times
...
[Removed]
9 months, 3 weeks ago
Selected Answer: B
B is corerct
upvoted 1 times
...
GreenTick
1 year ago
A. to manage subscriptions required Owner role, https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/add-change-subscription-administrator
upvoted 1 times
...
3c5adce
1 year, 1 month ago
ChatGPT4: Option B focuses on assigning the User Access Administrator role at the root management group level. This role specifically allows members to manage user access to Azure resources, which includes managing role assignments. Assigning this role at the root management group level ensures that the permissions apply across all existing and future subscriptions under that root. This approach adheres to the principle of least privilege by providing only the necessary permissions to manage access without broader management permissions that come with the Owner role.
upvoted 2 times
...
Amir1909
1 year, 4 months ago
B is correct
upvoted 1 times
...
LetsGetThisCert
1 year, 7 months ago
Selected Answer: B
The answer is B you are providing access administrator to the Root Manangment group per Microsoft's documentation "All subscriptions and management groups fold up into one root management group within the directory. All resources in the directory fold up to the root management group for global management. New subscriptions are automatically defaulted to the root management group when created." https://learn.microsoft.com/en-us/azure/governance/management-groups/overview
upvoted 4 times
...
KiwE
1 year, 11 months ago
I think the key here is " existing subscriptions and the planned [all future] subscriptions" OpenAI says: "Option C is not the best choice because it requires creating a new management group which is not necessary for the given scenario. " If we were to go the route of C we would need to do considerations for all further added subsciptions (more administrative thought) which we don't need with B and the group is said that it should have the role of all further subscriptions to there's no point to it.
upvoted 4 times
Amateur2023
1 year, 10 months ago
yes; tks for your explain
upvoted 1 times
...
...
Teroristo
1 year, 11 months ago
Answer: B Explanation: To be able to assign licenses to all current and future subscriptions, while minimizing the administrative effort, one should apply the role to the Root Management Group. And because we should use the principle of least privilege we should chose the User Access Administrator role instead of the Owner one.
upvoted 1 times
...
[Removed]
1 year, 12 months ago
Selected Answer: B
The following 2 choices are possible: A. Assign Group1 the Owner role for the root management group. B. Assign Group1 the User Access Administrator role for the root management group. Requested condition is Use the principle of least privilege. Answer A is eliminated Answer B: is correct
upvoted 2 times
...
RandomNickname
2 years ago
Selected Answer: B
B: looks correct as per URL below. Any new/planned subscriptions will fold up into the root management group by default. See section; Important facts about the root management group "All subscriptions and management groups fold up to the one root management group within the directory. All resources in the directory fold up to the root management group for global management. New subscriptions are automatically defaulted to the root management group when created." https://learn.microsoft.com/en-us/azure/governance/management-groups/overview
upvoted 3 times
...
Alex1184
2 years ago
Answer should be C. This uses the least-privilege principle - Azure management groups provide a level of scope above subscriptions. You organize subscriptions into containers called "management groups" and apply your governance conditions to the management groups. All subscriptions within a management group automatically inherit the conditions applied to the management group.
upvoted 1 times
...
TestKingTW
2 years, 1 month ago
Selected Answer: C
Create a new management group and assign Group1 the User Access Administrator role for the group
upvoted 1 times
...
Exilic
2 years, 1 month ago
Selected Answer: C
OpenAi "Option C is the correct answer. Assigning Group1 the Owner role for the root management group (Option A) would give the group unrestricted access to all resources in all subscriptions and management groups under the root management group. This goes against the principle of least privilege and could potentially result in unintended changes or deletions of resources. Assigning Group1 the User Access Administrator role for the root management group (Option B) would give the group permission to manage user access to Azure resources, but not to manage role assignments for subscriptions and management groups. Creating a new management group and assigning Group1 the Owner role for the group (Option D) would give the group the same unrestricted access as assigning them the Owner role for the root management group. Therefore, the best option would be to create a new management group and assign Group1 the User Access Administrator role for the group (Option C). This would allow the group to manage role assignments for all subscriptions and management groups within the new management group without granting them unnecessary permissions."
upvoted 2 times
ggogel
1 year, 7 months ago
It's not C because it does not fulfill the lowest administrative effort. All new subscriptions will be automatically assigned to the root management group but not to this newly created one. So everytime you add a subscription, you would need to assign this management group access to it.
upvoted 3 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 ...