Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 3 question 33 discussion

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

HOTSPOT -
You have an Azure subscription named Subscription1.
In Subscription1, you create an Azure file share named share1.
You create a shared access signature (SAS) named SAS1 as shown in the following exhibit:

To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Will have no access -
The IP 193.77.134.1 does not have access on the SAS.
Box 2: Will have read, write, and list access
The net use command is used to connect to file shares.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-dotnet-shared-access-signature-part-1 https://docs.microsoft.com/en-us/azure/vs-azure-tools-storage-manage-with-storage-explorer?tabs=windows

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
fedztedz
Highly Voted 3 years, 9 months ago
The Answer is not correct. It should be no access for both cases. - for first case, cause the IP is not matching the SAS requirements - for second case, since it is using "net use" where it uses SMB. The SMB (Server Message Broker) protocol does not support SAS. it still asks for username/password. Accordingly, it will give error wrong username/pass and will not provide access.
upvoted 284 times
KiwE
1 year, 2 months ago
It's amazing that wrong answers can be on the site for 2.5 years when this is a paid service.
upvoted 29 times
ProfessorJayy
5 months, 2 weeks ago
keeps them from getting shutdown.
upvoted 3 times
...
Exilic
1 year, 2 months ago
Boggles the mind.
upvoted 4 times
...
...
researched_answer_boi
3 years, 4 months ago
Authenticating against an Azure File Share using SAS is currently not supported. Only the Storage Account Keys would work. https://docs.microsoft.com/en-us/answers/questions/40741/sas-key-for-unc-path.html
upvoted 6 times
...
sshiv
3 years, 9 months ago
could provide refer doc links what you are saying
upvoted 1 times
berkejf
3 years, 9 months ago
fedztedz is correct. both are no access.
upvoted 2 times
berkejf
3 years, 9 months ago
prove: https://docs.microsoft.com/en-us/azure/storage/files/storage-files-faq#:~:text=Shared%20access%20signature%20keys%20are%20supported%20only%20via%20the%20REST%20API%20or%20in%20client%20libraries.%20You%20must%20mount%20the%20Azure%20file%20share%20over%20SMB%20by%20using%20the%20storage%20account%20keys
upvoted 3 times
Allahham
3 years, 8 months ago
so the answer will be prompted for credentials or have no access?
upvoted 2 times
Beitran
3 years, 8 months ago
"System error 86 has occurred. The specified network password is not correct."
upvoted 3 times
...
...
...
...
...
NickyDee
3 years, 9 months ago
SMB = Simple Message Block
upvoted 3 times
...
...
mlantonis
Highly Voted 3 years, 4 months ago
Correct Answer: Box 1: will have no access The IP 193.77.134.1 does not have access on the SAS, because it is not matching the SAS requirements. IP is out of range. Box 2: will have no access The SAS token is not supported in mounting Azure File share currently, it just supports the Azure storage account key. Since it is using "net use" where it uses SMB, the SMB (Server Message Broker) protocol does not support SAS. it still asks for username/password. Accordingly, it will give error wrong username/pass and will not provide access. Reference: https://docs.microsoft.com/en-us/azure/storage/common/storage-dotnet-shared-access-signature-part-1 https://docs.microsoft.com/en-us/azure/vs-azure-tools-storage-manage-with-storage-explorer?tabs=windows https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows https://docs.microsoft.com/en-us/answers/questions/40741/sas-key-for-unc-path.html
upvoted 241 times
dhiii
7 months, 4 weeks ago
Shared access signature (SAS) tokens aren't currently supported for mounting Azure file shares. Proof/Demo: https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/storage/files/storage-how-to-use-files-windows.md
upvoted 2 times
...
...
SeMo0o0o0o
Most Recent 1 month ago
WRONG 1. will have no access 2. will have no access
upvoted 1 times
...
MatAlves
7 months, 1 week ago
Shared access signature (SAS) tokens aren't currently supported for mounting Azure file shares. https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows
upvoted 1 times
...
Amir1909
7 months, 1 week ago
- will have no access - will have no access
upvoted 2 times
...
Ishraj
8 months, 2 weeks ago
Box1: have no access , due to IP restriction. Box2: Will be able to access, since storage explorer can access the share using SAS. Now the SAS will need to be modified by appending the share name after the storage account file endpoint "https://<StorageAccount>.file.core.windows.net/<share1>/?<SAS>"
upvoted 2 times
...
SgtDumitru
10 months, 1 week ago
Box 1: Will have no access. The IP 193.77.134.1 is not in IP range of SAS requirements; Box 2: Will have all rights. Net use now supports SAS token when mounting Azure File share: CMD: net use Z: \\mystorageaccount.file.core.windows.net\myshare /u:Azure\mystorageaccount <SAS_Token>
upvoted 5 times
...
Ataimoor
11 months, 2 weeks ago
This is what I got an answer today from Bing AI. Yes, you can access a storage account using SAS with the net use command. The net use command is used to connect to a file share on a remote computer and map it to a drive letter on your local computer 1. To connect to an Azure storage account using SAS, you can use the following command: net use <drive-letter>: \\<storage-account-name>.file.core.windows.net\<share-name> /u:<storage-account-name> <storage-account-key>
upvoted 2 times
Yhorm
11 months, 2 weeks ago
AI is not a reliable source
upvoted 4 times
...
SDiwan
8 months ago
This is incorrect, SAS is still not supported. You can refer here, where the screenshot shows 2 options, Active Directory or Storage account key, SAS is not available. https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows
upvoted 1 times
...
...
lampayeah
1 year ago
In my examp september 2023.
upvoted 3 times
...
JWS80
1 year ago
Found the question on another site I am studying, and it has the same answer which I don't think is correct. It takes forever to check some of these questions.
upvoted 4 times
...
Teroristo
1 year, 2 months ago
Box 1: will have no access The IP 193.77.134.1 does not have access on the SAS, because it is not matching the SAS requirements. IP is out of range. Box 2: will have no access The SAS token is not supported in mounting Azure File share currently, it just supports the Azure storage account key. Since it is using "net use" where it uses SMB, the SMB (Server Message Broker) protocol does not support SAS. it still asks for username/password. Accordingly, it will give error wrong username/pass and will not provide access. Reference: https://docs.microsoft.com/en-us/azure/storage/common/storage-dotnet-shared-access-signature-part-1 https://docs.microsoft.com/en-us/azure/vs-azure-tools-storage-manage-with-storage-explorer?tabs=windows https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows https://docs.microsoft.com/en-us/answers/questions/40741/sas-key-for-unc-path.html
upvoted 5 times
LGWJ12
1 year, 2 months ago
I agree, very good explanation.
upvoted 2 times
...
...
Qjb8m9h
1 year, 3 months ago
I had this in my exam today - Passed 800
upvoted 3 times
...
Sizzle
1 year, 3 months ago
How are most these answers wrong? What a trash exam collection
upvoted 6 times
...
xRiot007
1 year, 4 months ago
Some of these questions are just trash, I swear, like they WANT you to FAIL.
upvoted 6 times
...
JunetGoyal
1 year, 5 months ago
Exact same Q came in my exam on 30 April2023.
upvoted 5 times
...
jassa012
1 year, 5 months ago
Answer is A: No Access B: No Access SAS can't be used as a password. It has to be passed as a Key https://learn.microsoft.com/en-us/azure/storage/common/storage-sas-overview#how-a-shared-access-signature-works
upvoted 2 times
...
ITFranz
1 year, 8 months ago
The Answer is incorrect. It should be no access for both cases.
upvoted 3 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 ...