AZ-104 Exam QuestionsBrowse all questions from this exam

AZ-104 Exam - Question 118


You have an Azure subscription that contains the resources shown in the following table.

You need to assign User1 the Storage File Data SMB Share Contributor role for share1.

What should you do first?

Show Answer
Correct Answer: AD

To allocate the Storage File Data SMB Share Contributor role to User1 for share1, the initial step is to authorize identity-based data access for the file shares in storage1. This action guarantees that individual user access is properly authenticated, adhering to Azure's security protocols. Subsequent to this, you can proceed to configure Access control (IAM) to assign the specific role to User1.

Discussion

17 comments
Sign in to comment
macrawatOption: A
Mar 15, 2023

It should be A, I just created a storage account, then created a file share, went to IAM, and it says : To give individual accounts access to the file share (Kerberos), enable identity-based authentication for the storage account.

yettie79
Apr 4, 2023

A is correct I am getting the same message when I go to IAM on File Share. 'To give individual accounts access to the file share (Kerberos), enable identity-based authentication for the storage account'

riquesg
Apr 29, 2023

Correct. Did the same. Very tricky. But this is the right answer.

garmatey
May 28, 2023

but its not asking how to give access, its asking what to do first. So dont you need to configure the access control before enabling identity-based data access for the file shares in storage1?

Slimus
Apr 8, 2023

https://learn.microsoft.com/en-us/azure/storage/files/storage-files-active-directory-overview How it works Azure file shares use the Kerberos protocol to authenticate with an AD source. You can enable identity-based authentication on your new and existing storage accounts using one of three AD sources: AD DS, Azure AD DS, or Azure AD Kerberos (hybrid identities only). Only one AD source can be used for file access authentication on the storage account, which applies to all file shares in the account. Before you can enable identity-based authentication on your storage account, you must first set up your domain environment.

qrlkaidhn
Jun 21, 2023

so, it says the fist step is "authentication for the storage account." that means 3 is correct.

Indy429
Dec 17, 2023

I also thought it was A. Then I freaked and started doubting when I saw the Vote Distribution being 50-50 between A & D. Thanks for testing and confirming for us. Correct answer should be A then!

mfalkjunkOption: A
Mar 31, 2023

After arguing with ChatGPT here is the answer: The correct steps to assign User1 the Storage File Data SMB Share Contributor role for share1 are: 1. Enable identity-based data access for the file shares in storage1. 2. Configure Access control (IAM) for share1 and add User1 as a role assignment with the Storage File Data SMB Share Contributor role. So the correct answer is A.

AndreLima
May 11, 2023

kkkkkkkkkkkkkkkk

maxsteele
Sep 20, 2023

lol you cant trust ChatGPT to be truthful.

SDiwanOption: D
Feb 3, 2024

Correct answer is D, the question is here about granting RBAC role to a user. the option A, i about identity based access, it is only needed when you want to give permissions to a file share to lets say end users. It has nothing to do with RBAC role .

18c2076Option: D
Mar 15, 2024

.... i had no issues assigning Storage File Data SMB Share Contributor role through IAM to a single user.............. didnt have to do anything else like enable identy based authentication. etc.

3c5adceOption: D
May 12, 2024

D. Configure Access control (IAM) for share1. Here’s why: Configure Access control (IAM): In Azure, roles such as the Storage File Data SMB Share Contributor are assigned through the Access control (IAM) settings. This process involves selecting the appropriate role and assigning it to a user or group for a specific resource, which in this case is the file share named share1.

hakeem89Option: D
Jun 3, 2024

To add RBAC role you just need to assign the role to any Entra user through IAM Kerberos access is a different topic don't confuse this with RBAC

Y2Option: D
Jul 18, 2024

Tested - Was able to assign the role in Access Control (IAM) without enabling identity-based authentication.

AsridOption: A
Feb 7, 2024

To give individual accounts access to the file share (Kerberos), enable identity-based authentication for the storage account.

Amir1909Option: A
Feb 15, 2024

A is correct

gil906Option: A
Mar 3, 2024

Should B a as it needs UDentity-based authentication for individual users

237f4d0Option: A
Mar 13, 2024

Correct Answer is A. tested as well.

Amir1909Option: A
Mar 21, 2024

A is right

3c5adceOption: C
May 11, 2024

Option C: Select Default to Azure Active Directory authorization in the Azure portal for storage1 - This option is the most straightforward and necessary initial step for setting up Azure AD-based authorization. It directly configures the storage account to use Azure AD for access control, which is a prerequisite for assigning Azure AD roles to manage access to file shares.

23169fdOption: A
May 29, 2024

A is correct because this setting allows Azure AD-based authentication for the file shares, which is a prerequisite for assigning roles based on Azure AD identities.

LearnerFLOption: D
Jun 7, 2024

To assign the SMB Share Contributor role to user1 for Share1, you can follow these steps1: 1. Go to the Azure portal: Log in to your Azure portal. 2. Navigate to the storage account: Browse to the storage account (storage1) that contains the file share (Share1) you created previously1. 3. Select Access Control (IAM): This is where you can manage access to your resources1. 4. Add a role assignment: Select ‘+ Add’, then select ‘Add role assignment’ from the drop-down menu1. 5. Select the role and assign it to the user: In the ‘Add role assignment’ blade, select the ‘Storage File Data SMB Share Contributor’ role from the Role list1. Then, in the ‘Select members’ field, search for and select user11. 6. Review and assign: Review the role assignment details and then click 'Assign’1.

DicerOption: D
Jun 19, 2024

Answer is D. Stop saying A. It is very clea in Microsfot Documentation ( https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal ) Step 2: Open the Add role assignment page (Answer D) Step 3: Select the appropriate role (Answer A)

MakoporoshOption: A
Jul 7, 2024

A is correct key words are what should you do first, A is done first before D.