exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 2 question 78 discussion

Actual exam question from Microsoft's AZ-104
Question #: 78
Topic #: 2
[All AZ-104 Questions]

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?

  • A. Enable identity-based data access for the file shares in storage1.
  • B. Modify the security profile for the file shares in storage1.
  • C. Select Default to Azure Active Directory authorization in the Azure portal for storage1.
  • D. Configure Access control (IAM) for share1.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
macrawat
Highly Voted 2 years, 4 months ago
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.
upvoted 123 times
yettie79
2 years, 4 months ago
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'
upvoted 12 times
riquesg
2 years, 3 months ago
Correct. Did the same. Very tricky. But this is the right answer.
upvoted 2 times
...
garmatey
2 years, 2 months ago
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?
upvoted 4 times
...
...
c75e123
7 months, 2 weeks ago
Still in 2024, is A correct 3. In the File share settings section, select Identity-based access: Not configured. 4. Under Microsoft Entra Domain Services select Set up, then enable the feature by ticking the checkbox. https://learn.microsoft.com/en-us/azure/storage/files/storage-files-identity-auth-domain-services-enable?tabs=azure-portal#enable-microsoft-entra-domain-services-authentication-for-your-account
upvoted 2 times
...
Indy429
1 year, 7 months ago
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!
upvoted 5 times
...
Slimus
2 years, 3 months ago
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.
upvoted 3 times
...
...
mfalkjunk
Highly Voted 2 years, 4 months ago
Selected Answer: 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.
upvoted 22 times
AndreLima
2 years, 2 months ago
kkkkkkkkkkkkkkkk
upvoted 2 times
...
maxsteele
1 year, 10 months ago
lol you cant trust ChatGPT to be truthful.
upvoted 21 times
...
...
fensitutor
Most Recent 1 week, 5 days ago
Selected Answer: A
To assign Azure AD roles like Storage File Data SMB Share Contributor, you must first: Enable Azure Active Directory (Azure AD) integration on the storage account for file shares. This is done by enabling identity-based access. Then, configure Access Control (IAM) to assign the appropriate role. Why not the others? B. Modify the security profile – Not the required first step for RBAC. C. Select Default to Azure Active Directory authorization – This is done later; enabling identity-based access is first. D. Configure Access control (IAM) – You can't assign roles until the storage account supports identity-based access.
upvoted 1 times
...
ahmadniknam
2 weeks, 1 day ago
Selected Answer: A
Before you can effectively assign the SMB Contributor role, you must enable Azure AD (identity-based access) for the storage account. https://learn.microsoft.com/en-us/azure/storage/files/storage-files-identity-ad-ds-overview
upvoted 1 times
...
Ian88
2 weeks, 1 day ago
Selected Answer: 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.
upvoted 1 times
...
Azghouls
3 weeks, 4 days ago
Selected Answer: A
It's A. This one is one of many "gotcha" moments. This only applies to SMB access. You can assign that role as per point D. It will succeed. Yet, the catch is that allows access to the control plane and not the data plane. The data plane access is completing point A. I believe there is some authentication behind the scenes to allow this file share to work hence doing point A first then point D.
upvoted 1 times
Azghouls
3 weeks, 4 days ago
Following up from my answer above, yes there are three options - AD DS, Entra, Kerberos.
upvoted 1 times
...
...
MasterMans
3 weeks, 6 days ago
Selected Answer: A
Before you can assign Azure AD roles for SMB share access, the storage account must be configured to allow identity-based authentication.
upvoted 1 times
...
nagesh21
1 month, 1 week ago
Selected Answer: D
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'
upvoted 1 times
...
CMal
1 month, 3 weeks ago
Selected Answer: A
You can’t assign roles until identity-based access is enabled, so the answer is A
upvoted 1 times
...
ahmadsaquib
2 months, 4 weeks ago
Selected Answer: D
Go to Azure Portal Create a new storage account Create a new File Share Go to the File Share > IAM > Add Role Assignment > Storage File Data SMB Share Contributor
upvoted 1 times
...
4f45fce
3 months, 2 weeks ago
Selected Answer: A
chatGpt's answer is A
upvoted 1 times
...
rmacjj
3 months, 4 weeks ago
Selected Answer: D
https://learn.microsoft.com/en-us/azure/storage/files/storage-files-identity-assign-share-level-permissions?tabs=azure-portal To assign an Azure role to a Microsoft Entra identity, using the Azure portal, follow these steps: 1. In the Azure portal, go to your file share, or create an SMB file share. 2. Select Access Control (IAM). 3. Select Add a role assignment 4. In the Add role assignment blade, select the appropriate built-in role from the Role list. 5. Leave Assign access to at the default setting: Microsoft Entra user, group, or service principal. Select the target Microsoft Entra identity by name or email address. The selected Microsoft Entra identity must be a hybrid identity and cannot be a cloud only identity. This means that the same identity is also represented in AD DS. 6. Select Save to complete the role assignment operation.
upvoted 1 times
...
kriChe27
4 months, 1 week ago
Selected Answer: A
The correct answer is A. Enable identity-based data access for the file shares in Storage1 Enable identity-based data access for the file shares in Storage1: This step is necessary to allow Azure AD identities to access the file shares. Without enabling identity-based data access, you cannot assign Azure AD roles like the Storage File Data SMB Share Contributor role to users for accessing file shares.
upvoted 1 times
kriChe27
4 months, 1 week ago
Modify the security profile for the file shares in Storage1: This option is not relevant to the task. Modifying the security profile does not enable identity-based access or allow role assignments. Security profiles typically involve settings related to encryption, access protocols, and other security configurations. Select Default to Azure Active Directory authorization in the Azure portal for Storage1: While this option is related to enabling Azure AD authorization, it is not the first step. You need to enable identity-based data access first before you can configure Azure AD authorization settings.
upvoted 1 times
...
...
AndrewChedid
4 months, 1 week ago
Selected Answer: D
Go to Azure Portal Create a new storage account Create a new File Share Go to the File Share > IAM > Add Role Assignment > Storage File Data SMB Share Contributor
upvoted 1 times
...
Ponpon3185
4 months, 3 weeks ago
Selected Answer: D
Tested and "Identity-based access: Not configured"
upvoted 1 times
...
netloony
4 months, 3 weeks ago
Selected Answer: D
Just tested it, create storage, selected IAM and gave the user the role.
upvoted 1 times
...
Ponpon3185
5 months ago
Selected Answer: D
D is ok tested with a pay as you go
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...