exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

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 🗳️

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, 5 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 77 times
maxsteele
1 year, 5 months 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 3 times
3b66239
8 months, 3 weeks ago
I may be wrong but File Storage does not accept Azure AD, only SAS no?
upvoted 1 times
...
Batiste2023
1 year, 4 months 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
1 year, 3 months 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
...
...
marcosviniciuscb
3 months ago
but it's telling you with less privileges, and option E gives you less privileges than option C
upvoted 1 times
...
KennethLZK
2 years, 1 month ago
Why not BE? "Storage Blob Data Contributor" & " Storage Blob Data Reader"?
upvoted 5 times
Driede
1 year, 10 months ago
The "Storage Blob Data Reader" doesn't let you see the storage account in the portal.
upvoted 13 times
...
...
klexams
2 years, 4 months ago
How can it be C. It says to upload files. Surely not reader
upvoted 3 times
Citmerian
2 years, 4 months ago
BC - The two combined roles acomplish "last privilege" is the key
upvoted 5 times
...
...
...
AK4U_111
Highly Voted 2 years 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 14 times
maxsteele
1 year, 5 months 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
...
...
lumax007
Most Recent 1 week ago
Selected Answer: AC
Upload & read the data in the storage account not in the blob.
upvoted 1 times
...
OjayL
2 months, 1 week ago
Selected Answer: BE
To ensure that the members of Group1 can upload files to the Azure Storage account named storage1 using the Azure portal, while adhering to the principle of least privilege, you need to assign them roles that provide the minimum required permissions. The most appropriate roles are: Storage Blob Data Contributor (Option B): This role allows users to read, write, and delete blobs in the storage account. It's specific to blob data operations, which is what you need for uploading files. Storage Blob Data Reader (Option E): This role allows users to read blob data. It's complementary to the Data Contributor role, ensuring users can also read the data they upload. So the correct answer remains: B. Storage Blob Data Contributor E. Storage Blob Data Reader
upvoted 1 times
...
aaqibkhan123
2 months, 1 week ago
Answer is A and B. "You need to ensure that the members of a group named Group1 can upload files by using the Azure portal." You cannot upload files using the reader role
upvoted 1 times
...
[Removed]
6 months ago
Selected Answer: BC
B & C are correct
upvoted 1 times
...
c035d62
9 months, 4 weeks ago
You don't know if You need to charge blobs or files
upvoted 1 times
...
tashakori
11 months, 2 weeks ago
B and C is correct
upvoted 1 times
...
jecampos2
1 year ago
Selected Answer: BC
B) "Storage Blob Data Contributor" & C) "Reader"
upvoted 1 times
...
datoveh250
1 year, 1 month ago
BC is right answer!! Get Up-to-date: https://www.pinterest.com/pin/937522847419095399
upvoted 2 times
...
PhoenixAscending
1 year, 1 month ago
This was on my exam. Most likely the correct answer is provided by NaoVaz.
upvoted 1 times
...
adilkhan
1 year, 1 month ago
B, C is correct!
upvoted 1 times
FlaShhh
1 year, 1 month 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
knowakuk
2 months, 2 weeks ago
Storage account is for resources not for data. It's like with linux. You have a file in a folder. You can have write/read on a file (data permission) but if you dont have at least read on folder (resource) you won't be able to get to the file.
upvoted 1 times
...
...
...
hotspot02103
1 year, 1 month ago
Selected Answer: AC
ebanie
upvoted 3 times
...
Aniruddha_dravyakar
1 year, 5 months ago
Answer is BC
upvoted 1 times
...
iamchoy
1 year, 5 months 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 3 times
obaemf
1 year, 5 months 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
1 year, 5 months 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 6 times
maxsteele
1 year, 5 months 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
1 year, 6 months ago
Question is still relevant, came on exam today
upvoted 6 times
CarlosMarin
1 year, 6 months ago
On mine as well 31/08/2023
upvoted 4 times
alverdiyev91
1 year, 2 months ago
so what was the answer?? oh man why you put comments without answers?? what's wrong with you??
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago