Question 71
You have an Azure subscription that contains a storage account named storage1. The subscription is linked to an Azure Active Directory (Azure AD) tenant named contoso.com that syncs to an on-premises Active Directory domain.
The domain contains the security principals shown in the following table.

The domain contains the security principals shown in the following table.


Explanation:
The storage account is configured with identity-based authentication using Active Directory (AD), meaning on-premises AD credentials are used for SMB access to Azure Files. Azure AD users (User2) cannot directly access file shares when AD authentication is enabled because the authentication flows through the on-premises AD domain.
Correct Answers:
Statement 1: You can assign the Storage File Data SMB Share Contributor role to User1 for share1.
Answer: Yes
User1 is an on-premises Active Directory user that syncs to Azure AD. When directoryServiceOptions is set to "AD", Azure Files authenticates against the on-premises AD domain. User1's synced identity in Azure AD can be assigned Azure RBAC roles, and the permissions will be respected when User1 accesses the share using their on-premises credentials.
Statement 2: You can assign the Storage File Data SMB Share Reader role to Computer1 for share1.
Answer: No
Computer accounts from on-premises Active Directory cannot be assigned Azure RBAC roles. Azure RBAC roles are designed for security principals (users, groups, service principals) in Azure AD. Computer accounts are not supported objects for role assignments in Azure.
Statement 3: You can assign the Storage File Data SMB Share Elevated Contributor role to User2 for share1.
Answer: No
User2 is created directly in Azure AD and does not exist in the on-premises AD domain. Since directoryServiceOptions is set to "AD" (not "AADDS" or "AADKERBEROS"), Azure Files authenticates against the on-premises AD domain only. User2 cannot access the share using Azure AD credentials because the storage account is configured for on-premises AD authentication.
Reference:
Microsoft Learn: Overview of Azure Files identity-based authentication
Microsoft Learn: Assign share-level permissions to an identity
Microsoft Learn: SMB access to Azure Files using on-premises AD DS













