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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
fedztedz
Highly Voted 3 years, 12 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 288 times
regex33
4 days, 21 hours ago
the answer is: 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 Refer to this resource for better understanding. https://learn.microsoft.com/en-us/answers/questions/40741/sas-key-for-unc-path
upvoted 1 times
...
KiwE
1 year, 4 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
7 months, 3 weeks ago
keeps them from getting shutdown.
upvoted 4 times
...
Exilic
1 year, 4 months ago
Boggles the mind.
upvoted 4 times
...
...
researched_answer_boi
3 years, 6 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, 11 months ago
could provide refer doc links what you are saying
upvoted 1 times
berkejf
3 years, 11 months ago
fedztedz is correct. both are no access.
upvoted 2 times
berkejf
3 years, 11 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, 11 months ago
so the answer will be prompted for credentials or have no access?
upvoted 2 times
Beitran
3 years, 10 months ago
"System error 86 has occurred. The specified network password is not correct."
upvoted 3 times
...
...
...
...
...
...
mlantonis
Highly Voted 3 years, 7 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 246 times
dhiii
10 months, 1 week 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
...
...
JPA210
Most Recent 1 month, 3 weeks ago
The response is correct . no access for the first option read, write, and list access for the case you use 'net use' command: you can use a SAS (Shared Access Signature) with the net use command to map an Azure file share as a network drive. Here’s how you can do it: Generate the SAS URL for your Azure file share. Open Command Prompt with administrative privileges. Use the net use command with the SAS URL. Here’s an example command: net use Z: https://<storage-account-name>.file.core.windows.net/<file-share-name> /user:Azure\<storage-account-name> "<SAS-token>" Replace <storage-account-name>, <file-share-name>, and <SAS-token> with your actual storage account name, file share name, and SAS token. This command maps the Azure file share to the Z: drive on your local machine. If the SAS token is valid, you should be able to access the file share as if it were a local drive.
upvoted 1 times
JPA210
1 month, 3 weeks ago
On the other hand I have just found the following in here: https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows " Shared access signature (SAS) tokens aren't currently supported for mounting Azure file shares."
upvoted 1 times
...
...
SeMo0o0o0o
3 months, 1 week ago
WRONG 1. will have no access 2. will have no access
upvoted 1 times
...
MatAlves
9 months, 2 weeks 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
9 months, 2 weeks ago
- will have no access - will have no access
upvoted 2 times
...
Ishraj
10 months, 4 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
1 year 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 6 times
...
Ataimoor
1 year, 1 month 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
1 year, 1 month ago
AI is not a reliable source
upvoted 4 times
...
SDiwan
10 months, 1 week 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, 2 months ago
In my examp september 2023.
upvoted 3 times
...
JWS80
1 year, 2 months 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, 4 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, 4 months ago
I agree, very good explanation.
upvoted 2 times
...
...
Qjb8m9h
1 year, 5 months ago
I had this in my exam today - Passed 800
upvoted 3 times
...
Sizzle
1 year, 6 months ago
How are most these answers wrong? What a trash exam collection
upvoted 6 times
...
xRiot007
1 year, 6 months ago
Some of these questions are just trash, I swear, like they WANT you to FAIL.
upvoted 6 times
...
JunetGoyal
1 year, 7 months ago
Exact same Q came in my exam on 30 April2023.
upvoted 5 times
...
jassa012
1 year, 7 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
...
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