exam questions

Exam SC-300 All Questions

View all questions & answers for the SC-300 exam

Exam SC-300 topic 1 question 51 discussion

Actual exam question from Microsoft's SC-300
Question #: 51
Topic #: 1
[All SC-300 Questions]

You have the Azure resources shown in the following table.



To which identities can you assign the Contributor role for RG1?

  • A. User1 only
  • B. User1 and Group1 only
  • C. User1 and VM1 only
  • D. User1, VM1, and App1 only
  • E. User1, Group1, VM1, and App1
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

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
pokrz26
Highly Voted 1 year, 4 months ago
Selected Answer: D
https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/groups-concept#how-are-role-assignable-groups-protected The membership type for role-assignable groups must be Assigned and can't be a Microsoft Entra dynamic group. Automated population of dynamic groups could lead to an unwanted account being added to the group and thus assigned to the role. Group1 is dynamic an to those groups you can't assign role. So answer is: User1, VM1, App1
upvoted 17 times
sabas4
1 year, 3 months ago
You can't assign an MS Entra Role (to prevent an administrator elevating their privileges), but you can assign an Azure role. E is correct.
upvoted 10 times
...
...
j11v0sud
Highly Voted 1 year, 7 months ago
Selected Answer: E
Tested in-lab, fyi user-assigned managed identity works also
upvoted 8 times
...
AcTiVeGrEnAdE
Most Recent 2 days, 5 hours ago
Selected Answer: D
D is the only answer that fits here. You CANNOT assign a Azure resource role to a group that has dynamic group membership. What does qualify for role assignments are users, groups, service principals, and managed identities.
upvoted 1 times
...
Bojana
1 month, 2 weeks ago
Selected Answer: D
Dynamic groups cannot be assigned roles in Azure RBAC. Only static groups, individual users, service principals, and managed identities are supported for role assignments.
upvoted 1 times
...
YesPlease
2 months, 1 week ago
Selected Answer: E
Answer) E In Azure, you can assign the Contributor role to users, groups, service principals, or managed identities. This means you can give a user, a group of users, an application (service principal), or a system-assigned identity the ability to create and manage most Azure resources within a specified scope.
upvoted 1 times
...
JohnnyChimpo
3 months, 1 week ago
Selected Answer: E
Tested in my tenant. Dynamically assigned groups allow CONTRIBUTOR assignment for Azure resources. It is only AzureAD roles that are not allowed for dynamically assigned security groups
upvoted 2 times
...
Oskarma
3 months, 1 week ago
Selected Answer: E
If you go to IAM in a Resource Group, you can choose a dynamic user assigned group. The limitation is only with Entra Roles. Tested in my tenant.
upvoted 3 times
...
test123123
3 months, 3 weeks ago
Selected Answer: D
D. User1, VM1, App1
upvoted 1 times
...
ATimTimm
4 months, 2 weeks ago
Selected Answer: D
You can't assign role to dynamic group. That's what I studied.
upvoted 1 times
...
Marius12345
5 months, 2 weeks ago
Selected Answer: D
Answer: D. User1, VM1, and App1 only Explanation: In Azure, the Contributor role for a resource group like RG1 can be assigned to the following types of identities: User accounts (such as User1). System-assigned managed identities for Azure resources (such as VM1). Service principals associated with enterprise applications (such as App1). Here’s why each option qualifies or does not qualify: User1: A user account can be assigned the Contributor role, so User1 is eligible. VM1: Since VM1 has a system-assigned managed identity, it can be assigned roles like Contributor for RG1. App1: As an enterprise application (service principal), App1 can also be assigned the Contributor role. However: Group1 cannot be assigned the Contributor role because dynamic groups (such as those with the Dynamic user membership type) are not supported for Azure role-based access control (RBAC) assignments. Only static groups or individual users, service principals, and managed identities can be assigned roles.
upvoted 2 times
...
AlexBrazil
5 months, 4 weeks ago
Selected Answer: D
A security principal is an object that represents a user, group, service principal, or managed identity that is requesting access to Azure resources. You can assign a role to any of these security principals. So, you can assign a role to - User - Group (Assigned) - Service Principal - Managed Identity https://learn.microsoft.com/en-us/azure/role-based-access-control/overview However, it says in another doc: The membership type for role-assignable groups must be Assigned and CAN'T be a Microsoft Entra dynamic group. https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/groups-concept#how-are-role-assignable-groups-protected
upvoted 1 times
...
mohamedbenamor
9 months, 1 week ago
User, group and appllication (Service principal) with no doubt : https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-steps#step-1-determine-who-needs-access VM (system assigned) : https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/tutorial-windows-vm-access?pivots=windows-vm-access-wvm so E is correct
upvoted 2 times
...
jtlucas99
11 months, 2 weeks ago
Copilot In Azure, you can assign the Contributor role for a resource group (RG1 in this case) to the following identities: User Accounts: You can assign the role to individual user accounts, such as user1 in your table. Security Groups: You can also assign the role to security groups, such as group1. All members of the group, including those dynamically added due to the group’s dynamic membership rules, will inherit the role. Managed Identities: Managed identities for Azure resources, such as the system-assigned managed identity for VM1, can also be assigned the role. This allows the VM to manage resources in the resource group. Enterprise Applications: Enterprise applications, such as app1, can be assigned the role if they have an associated service principal. This allows the application to manage resources in the resource group. Remember, the Contributor role allows the assigned identity to create and manage all types of Azure resources, but it does not allow them to grant access to other users. For that, you would need the Owner role or User Access Administrator role.
upvoted 2 times
...
JuanZ
1 year ago
Selected Answer: D
The membership type for role-assignable groups must be Assigned and can't be a Microsoft Entra dynamic group. Automated population of dynamic groups could lead to an unwanted account being added to the group and thus assigned to the role.
upvoted 1 times
...
RoelvD
1 year, 5 months ago
Selected Answer: E
https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-steps * User * Group * Service Principal * Managed Identity Screenshot: VM1 = Virtual machine WITH A SYSTEM-ASSIGNED MANAGED IDENTITY Enterprise app is one of three types of Service Principals: * Application * Managed Identity * Legacy https://learn.microsoft.com/en-us/entra/identity-platform/app-objects-and-service-principals?tabs=browser
upvoted 5 times
...
Nyamnyam
1 year, 5 months ago
Selected Answer: E
E. should be correct: User and Group with no doubt. VM has MI => works as well. Service principal = Enterprise app => this works as well.
upvoted 5 times
...
ACSC
1 year, 7 months ago
Selected Answer: E
You can assign RBAC roles to any of the options, user, group, MI and apps.
upvoted 6 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