Microsoft Azure Administrator (AZ-104) · Section 2 · 18% of the exam
Configure identity-based access for Azure Files
One of the objectives of the Microsoft Azure Administrator (AZ-104) exam, in the section “Implement and manage storage”. Here is what it covers, the points to remember and a question to try.
What it covers
Azure Files gives you fully managed SMB and NFS file shares. This lesson covers creating a share, choosing a tier and mounting it, controlling access with Kerberos identity sources, share-level roles and NTFS permissions, protecting data with share snapshots and soft delete, and moving data with Azure Storage Explorer and AzCopy.
Points to remember
- A share is SMB or NFS, not both; NFS needs SSD (premium), no identity-based auth; SMB needs outbound port 445.
- One identity source per storage account: AD DS, Entra Domain Services or Entra Kerberos. Only Entra Kerberos supports cloud-only users.
- Access needs a share-level role (or default share-level permission, initially None) and a matching NTFS ACL; role changes take up to 30 minutes.
- Elevated Contributor can modify ACLs; Contributor cannot. SMB Admin equals the account key.
- Share snapshots: read-only, incremental, up to 200 per share, deleted with the share.
Try a question
A company cannot sync its on-premises Active Directory to Microsoft Entra ID, but wants domain users to use an Azure file share with their domain credentials and finer folder permissions managed through Windows ACLs. What should the administrator configure?
- AAssign Azure RBAC roles to the individual domain users in Microsoft Entra ID
- BUse Microsoft Entra Kerberos for cloud-only users and assign roles to them
- CMount the share with the storage account key for all users and rely on ACLs
- DEnable AD DS authentication, set a default share-level permission, and use NTFS ACLs
Show the answer
D. The default share-level permission (initially None) is the supported workaround when you cannot sync AD DS to Entra ID. Choose the least privileged role that fits, such as the SMB Share Contributor, and rely on ACLs for restriction.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Azure Files: identity, shares, snapshots and copy tools teaches this objective (about 45 minutes), and 15 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Configure Azure Storage firewalls and virtual networks
- Create and use shared access signature (SAS) tokens
- Configure stored access policies
- Manage access keys
- Create and configure storage accounts
- Configure Azure Storage redundancy
- Configure object replication
- Configure storage account encryption
- Manage data by using Azure Storage Explorer and AzCopy
- Create and configure a file share in Azure Storage
- Create and configure a container in Blob Storage
- Configure storage tiers