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 1 year, 11 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 116 times
c75e123
2 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 1 times
...
yettie79
1 year, 11 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 10 times
riquesg
1 year, 10 months ago
Correct. Did the same. Very tricky. But this is the right answer.
upvoted 2 times
...
garmatey
1 year, 9 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
...
...
Indy429
1 year, 2 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
1 year, 11 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 1 year, 11 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
1 year, 9 months ago
kkkkkkkkkkkkkkkk
upvoted 2 times
...
maxsteele
1 year, 5 months ago
lol you cant trust ChatGPT to be truthful.
upvoted 20 times
...
...
vrm1358
Most Recent 4 weeks ago
Selected Answer: D
Today, Feb 2025, you i could add Storage File Data SMB Share Contributor role for a user without enable identity-based data access for the file shares in storage1. D is correct
upvoted 1 times
...
Bravo_Dravel
1 month, 1 week ago
Selected Answer: A
C. Select Default to Azure Active Directory authorization in the Azure portal for storage1: While this step is necessary, it comes after enabling identity-based data access. Without enabling identity-based access first, this setting alone won't work.
upvoted 1 times
...
youngjanpawel
2 months ago
Selected Answer: D
By the way - If I need wait for moderator approval my comment. Why comments with wrong answers are visible? I see a lot of new comments (1-6 months ago) "YEA I HAD A CHAT WITH CHAT GPT THE ANSWER IS 100% A" - Hollllyyy and the price is higher and higher....
upvoted 1 times
...
youngjanpawel
2 months ago
Selected Answer: D
Correct answer is D I tried the same way like macrawat however in my case that works - inside created file share "share1" I was able to grant access from IAM to user. State of identity-based access is "not configured" as on screenshot from microsoft doc https://learn.microsoft.com/en-us/azure/storage/files/storage-files-identity-auth-domain-services-enable?tabs=azure-portal
upvoted 1 times
MaDota
1 month, 3 weeks ago
Really? see the documentation that you sent, what's the first thing being configured?
upvoted 4 times
...
...
danlo
2 months, 2 weeks ago
Selected Answer: A
Just repro in a lab with a new storage account. Identity-based access can be enabled in two steps for a particular share in this storage account. This allows individual users to use their Active Directory or Microsoft Entra account to gain access to a specific file share. Step 1: Enable an identity source
upvoted 1 times
...
Mark74
3 months ago
Selected Answer: A
A for me is correct
upvoted 1 times
...
JPA210
4 months ago
Selected Answer: A
Definetly A is the correct answer. That is the first step.
upvoted 1 times
...
Yoooom
4 months, 2 weeks ago
Selected Answer: A
The answer is A
upvoted 1 times
...
jamesf
4 months, 2 weeks ago
Selected Answer: A
Should be A enable identity-based authentication 1st, then only go to D, IAM
upvoted 1 times
...
jamesf
4 months, 2 weeks ago
I prefer A then D
upvoted 1 times
...
minura
5 months ago
Selected Answer: A
To assign User1 the Storage File Data SMB Share Contributor role for share1 (a file share in storage1), you first need to enable identity-based data access for file shares in storage1. This is required so that you can use Azure AD-based authentication for accessing the file shares. Once identity-based access is enabled, Azure Active Directory (Azure AD) users like User1 can be assigned roles such as Storage File Data SMB Share Contributor to control access to Azure file shares. You will eventually need to assign the role to User1 using IAM, but first, you must enable identity-based access to the file shares.
upvoted 2 times
...
117b84e
5 months, 1 week ago
chatgpt To assign User1 the Storage File Data SMB Share Contributor role for share1, the first step is to ensure that Azure Active Directory (AD)-based authentication is enabled for the file shares. This allows Azure AD users to be authenticated when accessing the file shares using SMB. In this scenario, the correct action to perform first is: A. Enable identity-based data access for the file shares in storage1. Explanation: Azure Files supports Azure AD-based access control for file shares using SMB. However, before you can assign roles like Storage File Data SMB Share Contributor, you need to enable identity-based access for the file shares within the storage account (storage1 in this case). Once identity-based access is enabled, you can then assign roles such as Storage File Data SMB Share Contributor to Azure AD users like User1, granting them the necessary permissions on share1.
upvoted 1 times
...
b35c3ef
5 months, 4 weeks ago
I think I'm going to go with A based on the following information I found when I search the differences between identity-based access and access control IAM: Identity and Access Management (IAM) IAM is a cybersecurity discipline that manages how users access digital resources and what they can do with them. IAM systems verify users' identities and ensure that they have the correct permissions to do their jobs. IAM can also integrate with AI-based cybersecurity tools to analyze data for potential cyber attacks. Access control Access control is a data security process that manages who has access to corporate data and resources. Access control uses policies to verify users' identities and grant them the appropriate level of access. Access control is important for applications that have different levels of authorization for different users.
upvoted 1 times
...
[Removed]
6 months ago
Selected Answer: A
it´s A as the first step D comes next
upvoted 1 times
...
Thisisacat
7 months, 1 week ago
It should be D. In the lab, I created following : 1. A user 2. A new storage account 3. A new file share. Then, I went to file share > IAM > Add role assignment > Members > (newly created user) > Role > (search for given role) > select > review+assign > done. No error, nothing.
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago