QuestionQ175

VerifiedManage Azure identities and governance

You have an Azure subscription named Sub1 that contains two users named User1 and User2.

You need to assign role-based access control (RBAC) roles to User1 and User2. The users must be able to perform the following tasks in Sub1:

  • User1 must view the data in any storage account.
  • User2 must assign users the Contributor role for storage accounts.

The solution must use the principle of least privilege.

Which RBAC role should you assign to each user?

Each role may be used once, more than once, or not at all.

Drag & Drop
User1:
User2:
Explanation

Reader and Data Access is the least-privileged listed role that allows viewing Azure resources and accessing the data in storage accounts. Contributor and Storage Account Contributor manage storage resources but do not grant Azure RBAC role-assignment capability. Owner is the least-privileged option shown that can assign RBAC roles, including assigning the Contributor role on storage accounts.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!