Exam AZ-104 All QuestionsBrowse all questions from this 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?

    Correct Answer: A

    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
macrawatOption: A

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

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

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

garmatey

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

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

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

Indy429

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

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

kkkkkkkkkkkkkkkk

maxsteele

lol you cant trust ChatGPT to be truthful.

SDiwanOption: D

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 .

Y2Option: D

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

hakeem89Option: D

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

3c5adceOption: D

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.

18c2076Option: D

.... 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.

MakoporoshOption: A

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

DicerOption: D

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)

LearnerFLOption: D

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.

23169fdOption: A

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.

3c5adceOption: C

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.

Amir1909Option: A

A is right

237f4d0Option: A

Correct Answer is A. tested as well.

gil906Option: A

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

Amir1909Option: A

A is correct

AsridOption: A

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