exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 3 question 90 discussion

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

HOTSPOT
-

You have an Azure Storage account named contoso2024 that contains the resources shown in the following table.



You have users that have permissions for contoso2024 as shown in the following table.



The contoso2024 account is configured as shown in the following exhibit.



For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
SK879
Highly Voted 1 year, 2 months ago
N-N-N User 1 does not have Storage Blob Data Reader or Storage Blob Data Contributor role to read File1. https://learn.microsoft.com/en-us/azure/storage/blobs/assign-azure-role-data-access?tabs=portal
upvoted 35 times
vrm1358
1 month, 1 week ago
Tested in LAB Box1: No User with read access on Storage account can not read file1: (Error: You do not have permission to use the access key to list data) Box2- Yes The user with storage account contributor can read file2 Box3- No Access Key is disabled on the storage account
upvoted 3 times
...
MiniLa92
2 months ago
Appeared on exam 02 Jan 2025. But the roles was not given to Users, instead SAS was given User1: User Delegation SAS with max assigned permissions User2: Service Level SAS with max assigned permissions User3: Account Level SAS with max assigned permissions
upvoted 7 times
Z_MU
2 months ago
storage account key access was disabled also? what was your answer? is SAS access will work or not with that key access option disabled?
upvoted 2 times
Z_MU
2 months ago
never mind, I got the answer here, only user delegation will still have access https://learn.microsoft.com/en-us/azure/storage/common/shared-key-authorization-prevent?tabs=portal#understand-how-disallowing-shared-key-affects-sas-tokens
upvoted 5 times
...
...
...
kam1122
3 months, 2 weeks ago
Y-N-N Public access is enabled for blob, therefor user1 can read file1
upvoted 3 times
...
Megabyte10
6 months ago
The first one is YES becaues public access is enabled for the blob.
upvoted 8 times
2d153f5
3 months, 2 weeks ago
Not for the container. It is enabled for the storage account to be able to enable in every container if you want.
upvoted 1 times
sca88
3 months, 2 weeks ago
"Allow Blob Public Access" is Enabled. So the first is YES
upvoted 1 times
...
...
...
...
sismer
Highly Voted 1 year, 2 months ago
Correct Answer: 1-Yes: Public Access is enabled for blob 2- No: Azure Storage Account Contributor role can't access the file share 3- No: Access Key is disabled on the storage account
upvoted 26 times
SQL_Student
1 year, 2 months ago
There is a permission action on the storage account contributor role: "Microsoft.Storage/storageAccounts/*" The file share permissions are a sub category of this: The storage file data DMB share reader role uses this: "Microsoft.Storage/storageAccounts/fileServices/fileshares/files/read" I did not test this in a lab but I don't see how the contributor role is failing to grant read access to a file share.
upvoted 2 times
Andreas_Czech
1 year, 1 month ago
"Microsoft.Storage/storageAccounts/*" is a Action of the Storage Account Contributor, but "Microsoft.Storage/storageAccounts/fileServices/fileshares/files/read" is a DataAction of the Storage File Data Privileged Contributor Correct is therefore: 1: "yes" 2: "no" 3: "no"
upvoted 2 times
...
SQL_Student
1 year, 2 months ago
typo DMB --> SMB
upvoted 1 times
...
nmshrwt
1 year, 1 month ago
reading data is a data action and is defined in dataAction not in AllowPermissions. That's why even with storage account contributor you cannot perform read action on blob
upvoted 3 times
rnd3131
1 year, 1 month ago
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#storage-account-contributor see data action part
upvoted 1 times
...
...
...
MatAlves
1 year, 1 month ago
ANSWERS = N-N-N Storage Account Contributor: DataActions => none Reader: DataActions => none Storage account access keys: disabled "These keys can be used to authorize access to data in your storage account via Shared Key authorization, or via SAS tokens that are signed with the shared key." Reference: https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles https://learn.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage?tabs=azure-portal
upvoted 8 times
suddin1
9 months, 1 week ago
from your link : https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles 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. So this allows you to access data via key since keys are disabled in the question answer is NO
upvoted 1 times
...
...
...
rtsh06
Most Recent 3 months, 3 weeks ago
Hello Everyone, I have my exam scheduled on 14th November 2024 and I have purchased the ExamTopics dump this time. Earlier I had followed the dump of IT Exams but I wasn't able to clear the exam. However, I scored above 90% in Storage Account section in my last attempt on 17th Sept 2024 and this question was there in the exam. This is what I feel should be the correct answer. User1 can read File1 as user1 has Read Access Reader Role. User2 can read file2: No as User2 has storage account contributor Role. The contributor role gives you access to manage but not to access it. User3 can Read File1 and File2: In the shared access signature there is nothing mentioned about the Read permission. Hence User3 doesn’t have any read permission. I referred the below Microsoft Document: https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles
upvoted 2 times
...
Stunomatic
4 months, 1 week ago
Key Points: Public Access at Storage Account Level: When Allow Blob Public Access is enabled at the storage account level, it means that public access can be granted at the container or blob level. However, this setting alone does not open up the storage account for public access. Public Access at the Container/Blob Level: For actual public access, you must explicitly configure each container or blob to allow public access. The container can be set to one of the following: No public access: Only authorized users can access the container and blobs. Blob-level public access: Public users can access individual blobs, but not list the contents of the container. Container-level public access: Public users can access the blobs and list the contents of the container. This is what i was trying to understand sometimes while using AWS S3 I face this problem.
upvoted 1 times
...
0378d43
4 months, 1 week ago
Storage Acct Public access does not mean that Blobs/Containers can be read. It is just that Storage Acct is accessible from public network. Roles are required to read files/blobs. Hence N, N,Y
upvoted 2 times
...
codered4409
5 months, 3 weeks ago
1) Yes - Reader role allows reading of data 2) No - User2 role does not allow reading of data 3) Yes - access keys give access to all the data Note: Anonymous (or public) access for storage account does not allow reading of data; you will have to give a container level anonymous access to allow reading of data
upvoted 1 times
codered4409
5 months, 3 weeks ago
EDIT 1) No - Reader role does not allow reading of data; only reading of resources
upvoted 1 times
seri7
5 months, 2 weeks ago
for 3) storage account key access is disabled, that would make User3 unable to read the files
upvoted 1 times
...
...
...
[Removed]
6 months ago
WRONG No (Reader can´t read contents of Blob Container) No (Storage account contributor can´t read contents of File Share) No (key access is disabled)
upvoted 3 times
...
AC2021
6 months, 1 week ago
Public Access is enabled for blob, why not all of 3 users can read?
upvoted 1 times
...
SofiaLorean
9 months, 2 weeks ago
The Reader role in Azure RBAC allows users to view Azure resources but not make any changes. Specifically, this role includes permissions to view the configuration of the storage account but does not grant permissions to read the data within the storage account, such as the contents of blob containers. To read data within a blob container, you need a role that includes the necessary data access permissions. The appropriate role for this purpose is: So, N N N
upvoted 5 times
ozansenturk
1 month, 3 weeks ago
The Reader role in Azure RBAC does not grant access to the data itself—it only allows viewing the configuration of the storage account. Role Required to Read Data in a Blob Container The role you need is the "Storage Blob Data Reader" role.
upvoted 1 times
...
...
varinder82
9 months, 3 weeks ago
Final Answer: N N N
upvoted 1 times
...
Chris76
1 year ago
Tested it. 1. Y - Public access enabled (even my grandpa will have access, dont argue). Portal doesn't matter. If you have the URI you can read it whilst sipping coconut drink with umbrella on yacht. 2. N - File Share can use Entra Id or if user has access to Account Key use that see:(https://learn.microsoft.com/en-us/azure/storage/files/authorize-data-operations-portal) But Account Key is DISABLED, so he can't fallback to that authentication method. So its N. 3. N.
upvoted 8 times
op22233
10 months, 2 weeks ago
N,N,N Key Access is disabled, You can not access file shares without SAS. Since SAS can only be made with access keys. No one can gain Access. The same reason why user 3 can not gain access to files 1 and 2
upvoted 4 times
...
...
SDiwan
1 year ago
Answer should be No-No-No 1. No, Reader does not allow to read contents . It only allows to read the metadata and other settings. 2. No, Storage account contributor also does not allow to read data. Only access to read/change settings. 3. No, since access keys are disabled
upvoted 7 times
...
mcclane654
1 year, 1 month ago
NNN - tested in lab - not even my global admin can read data with these settings. Allow public access setting means that is possible to open the containers data for public. but they are still by default private. if you make it public then all of them would have to be Y. but in portal its still no access. Storage account contributor: Lets you manage storage accounts, including accessing storage account keys which provide full access to storage account data. so even though it has no Data actions it would normally have access to the data trough the access key which is default auth method in portal. However since that is disabled it has no access. same issue with my global admin. and also why 3 i a N. a role like Storage Blob Data Reader will have access without the keys.
upvoted 3 times
...
Strifel1fe
1 year, 1 month ago
No one can access since there's no key allowed and role access is disabled.
upvoted 2 times
edurakhan
9 months, 4 weeks ago
just tested in lab, even I (creator of the container) couldn't access blobs once I disabled key access
upvoted 1 times
...
...
ggogel
1 year, 1 month ago
1 - No Public blob access doesn't mean that any data is publicly accessible. It just means that it's in general allowed to make containers publicly accessible. See: By default, a storage account allows public access to be configured for containers in the account, but does not enable public access to your data. Public access to blob data is never permitted unless you take the additional step to explicitly configure the public access setting for a container. https://azure.microsoft.com/de-de/updates/choose-to-allow-or-disallow-blob-public-access-on-azure-storage-accounts/
upvoted 1 times
...
MatAlves
1 year, 1 month ago
ANSWERS = N-N-N Storage Account Contributor: DataActions => none Reader: DataActions => none Storage account access keys: disabled "These keys can be used to authorize access to data in your storage account via Shared Key authorization, or via SAS tokens that are signed with the shared key." Reference: https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles https://learn.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage?tabs=azure-portal
upvoted 3 times
...
learnboy123
1 year, 2 months ago
YNN, correct
upvoted 1 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