An Azure subscription contains storage account storage1 with a file share share1. You need to assign User1 the Storage File Data SMB Share Contributor role for share1. What should you do first?
Choose an answer
Tap an option to check your answer.
Correct answer: Configure Access control (IAM) for share1..
Why this is the answer
To assign a role like Storage File Data SMB Share Contributor to a specific file share, you must configure Access control (IAM) directly on that share. This is because role assignments for data plane roles (like those for file shares, blobs, or queues) can be scoped to the resource itself (the share in this case). Enabling identity-based data access or selecting "Default to Azure Active Directory authorization" are broader settings for the storage account that enable the use of Azure AD for authentication but don't perform the role assignment itself. Modifying the security profile is not a standard Azure action for role assignment.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed