Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AZ-104 topic 3 question 43 discussion

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

You are configuring Azure Active Directory (Azure AD) authentication for an Azure Storage account named storage1.
You need to ensure that the members of a group named Group1 can upload files by using the Azure portal. The solution must use the principle of least privilege.
Which two roles should you configure for storage1? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Storage Account Contributor
  • B. Storage Blob Data Contributor
  • C. Reader
  • D. Contributor
  • E. Storage Blob Data Reader
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️
To access blob data in the Azure portal with Azure AD credentials, a user must have the following role assignments:
* A data access role, such as Storage Blob Data Reader or Storage Blob Data Contributor
* The Azure Resource Manager Reader role, at a minimum
The Reader role is an Azure Resource Manager role that permits users to view storage account resources, but not modify them. It does not provide read permissions to data in Azure Storage, but only to account management resources. The Reader role is necessary so that users can navigate to blob containers in the Azure portal.
Note: in order from least to greatest permissions:

The Reader and Data Access role -
The Storage Account Contributor role
The Azure Resource Manager Contributor role
The Azure Resource Manager Owner role
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/assign-azure-role-data-access

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
NaoVaz
Highly Voted 1 year, 7 months ago
Selected Answer: BC
B) "Storage Blob Data Contributor" & C) "Reader" The following line says it all: "The Reader role is an Azure Resource Manager role that permits users to view storage account resources, but not modify them. It does not provide read permissions to data in Azure Storage, but only to account management resources. The Reader role is necessary so that users can navigate to blob containers in the Azure portal. For example, if you assign the Storage Blob Data Contributor role to user Mary at the level of a container named sample-container, then Mary is granted read, write, and delete access to all of the blobs in that container. However, if Mary wants to view a blob in the Azure portal, then the Storage Blob Data Contributor role by itself will not provide sufficient permissions to navigate through the portal to the blob in order to view it. The additional permissions are required to navigate through the portal and view the other resources that are visible there." - https://docs.microsoft.com/en-us/azure/storage/blobs/assign-azure-role-data-access?tabs=portal
upvoted 68 times
maxsteele
6 months, 3 weeks ago
"ou are configuring Azure Active Directory (Azure AD) authentication for an Azure Storage account named storage1. You need to ensure that the members of a group named Group1 can upload files by using the Azure portal" Nowhere does it ask to limit the roles to Blob only. B is incorrect. You need A and C
upvoted 2 times
Batiste2023
5 months, 3 weeks ago
Least privilege ;-) You're supposed to be able to upload SOMETHING, but not more than that, B is more constricted than A, so that should be correct...
upvoted 4 times
...
Alscoran
5 months, 1 week ago
Storage Account Contributor has no DataActions. Therefore it cannot add data. https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#storage-account-contributor
upvoted 2 times
...
...
KennethLZK
1 year, 3 months ago
Why not BE? "Storage Blob Data Contributor" & " Storage Blob Data Reader"?
upvoted 4 times
Driede
1 year ago
The "Storage Blob Data Reader" doesn't let you see the storage account in the portal.
upvoted 9 times
...
...
klexams
1 year, 6 months ago
How can it be C. It says to upload files. Surely not reader
upvoted 2 times
Citmerian
1 year, 5 months ago
BC - The two combined roles acomplish "last privilege" is the key
upvoted 3 times
...
...
rqFamily
1 year, 4 months ago
the answer is correct, you need both reader and storage Blob Data Contributor, just tried in the lab
upvoted 7 times
...
...
AK4U
Highly Voted 1 year, 1 month ago
TESTED IN LAB: Assigning the Storage Account Contributor and Storage Blob Data Reader rolls to the group and having the user (which is a part of that group) sign in to the portal, the storage account isn't even listed under storage accounts. After removing the Storage Blob Data Reader and assigning the Reader roll to the group, the storage account is listed and the users of the group can creat blobs/fileshares etc. ANSWER: BC
upvoted 10 times
maxsteele
6 months, 3 weeks ago
"ou are configuring Azure Active Directory (Azure AD) authentication for an Azure Storage account named storage1. You need to ensure that the members of a group named Group1 can upload files by using the Azure portal" Nowhere does it ask to limit the roles to Blob only. B is incorrect. You need A and C
upvoted 2 times
...
...
tashakori
Most Recent 1 month ago
B and C is correct
upvoted 1 times
...
jecampos2
2 months ago
Selected Answer: BC
B) "Storage Blob Data Contributor" & C) "Reader"
upvoted 1 times
...
datoveh250
2 months, 3 weeks ago
BC is right answer!! Get Up-to-date: https://www.pinterest.com/pin/937522847419095399
upvoted 2 times
...
PhoenixAscending
2 months, 3 weeks ago
This was on my exam. Most likely the correct answer is provided by NaoVaz.
upvoted 1 times
...
adilkhan
2 months, 3 weeks ago
B, C is correct!
upvoted 1 times
FlaShhh
2 months, 3 weeks ago
I am confused as to why everyone is choosing B) Storage Blob Data Contributor. The question does not explicitly say that the files will be uploaded to blobs, the files to be uploaded may be uploaded to file shares, so wont A) Storage Account Contributor be the more appropriate choice?
upvoted 1 times
...
...
hotspot02103
3 months, 2 weeks ago
Selected Answer: AC
ebanie
upvoted 3 times
...
Aniruddha_dravyakar
7 months ago
Answer is BC
upvoted 1 times
...
iamchoy
7 months, 1 week ago
Selected Answer: BC
To ensure that members of Group1 can upload files using the Azure portal while adhering to the principle of least privilege, you need to assign roles that give them just enough permissions to perform the task without any extraneous permissions. B. `Storage Blob Data Contributor`: This role allows for reading, writing, and deleting Azure Storage blobs (object data). This role is necessary for members to be able to upload files. C. `Reader`: This role gives the user read access to see the storage account and its properties but doesn't allow for any modifications. This role would be needed to navigate to the storage account in the Azure portal. Assigning these roles should give Group1 members the ability to upload files to the storage account via the Azure portal without giving them more permissions than they need.
upvoted 2 times
obaemf
7 months, 1 week ago
Storage Blob Data Contributor limits the scope to just blobs. Question clearly say we need to be able to upload files to the storage account. How would we be able to upload a file to a FileShare? Don't you think a Storage Account Contributor would expand the scope to include other file types?
upvoted 3 times
...
...
rikininetysix
7 months, 2 weeks ago
Selected Answer: AC
You need to ensure that the members of a group named Group1 can upload files by using the Azure portal. Files is clearly mentioned in the question, by selecting 'Storage Blob Data Contributor' your scope is limited to only containers & blobs. So, in my opinion A & C are the correct options.
upvoted 5 times
maxsteele
6 months, 3 weeks ago
Exactly, Storage Blob options are unnecessarily limiting the role. The question never states that Blob access is the only access needed. It states that access is needed to the Storage Account in general, so A & C are correct.
upvoted 1 times
...
...
Gregsenn
8 months ago
Question is still relevant, came on exam today
upvoted 6 times
CarlosMarin
7 months, 3 weeks ago
On mine as well 31/08/2023
upvoted 4 times
alverdiyev91
4 months, 1 week ago
so what was the answer?? oh man why you put comments without answers?? what's wrong with you??
upvoted 1 times
...
...
...
sakibmas
8 months, 2 weeks ago
Selected Answer: BC
To Browse the Storage Account in Azure Portal, the Reader role is required
upvoted 1 times
...
VV11_SS22
8 months, 2 weeks ago
Azure Storage account named storage1- can have BLOB , FILE , TABLE and QUEUE types For Uploading files to BLOB need write permission so with least privilege - Storage Blob Data Contributor will be sufficient , Storage Blob Data Reader is needed
upvoted 2 times
...
Teroristo
9 months, 1 week ago
B,C Explanation: To access blob data in the Azure portal with Azure AD credentials, a user must have the following role assignments: * A data access role, such as Storage Blob Data Reader or Storage Blob Data Contributor* The Azure Resource Manager Reader role, at a minimum The Reader role is an Azure Resource Manager role that permits users to view storage account resources, but not modify them. It does not provide read permissions to data in Azure Storage, but only to account management resources. The Reader role is necessary so that users can navigate to blob containers in the Azure portal. Note: in order from least to greatest permissions: The Reader and Data Access role -The Storage Account Contributor role The Azure Resource Manager Contributor role The Azure Resource Manager Owner role
upvoted 1 times
...
XtraWest
9 months, 3 weeks ago
B, C: Blog Data Contributor & Blob Data Reader
upvoted 1 times
...
raj24051961
9 months, 4 weeks ago
Selected Answer: B
If we read the following link https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles •A:Storage Account Contributor Permits management of storage accounts. Provides access to the account key, which can be used to access data via Shared Key authorization. •B:Storage Blob Data Contributor Read, write, and delete Azure Storage containers and blobs. To learn which actions are required for a given data operation, see Permissions for calling blob and queue data operations. Correct Answer: B
upvoted 1 times
Andreas_Czech
8 months, 3 weeks ago
without the "Reader" Permissions you will not the Storage Account in the Portal.
upvoted 2 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 ...