exam questions

Exam AZ-103 All Questions

View all questions & answers for the AZ-103 exam

Exam AZ-103 topic 2 question 2 discussion

Actual exam question from Microsoft's AZ-103
Question #: 2
Topic #: 2
[All AZ-103 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.
References:
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
awsnoob
Highly Voted 5 years, 2 months ago
https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows Storage account key: To mount an Azure file share, you will need the primary (or secondary) storage key. SAS keys are not currently supported for mounting. 2nd question: "will be prompted for credentials"
upvoted 18 times
Neonlight8
4 years, 3 months ago
This article is updated since 06/22/2020 does not say SAS keys not currently supported for mounting.
upvoted 1 times
...
...
somedude
Highly Voted 5 years, 2 months ago
"Will be prompted for credentials" could be the correct answer to 2nd question. https://feedback.azure.com/forums/217298-storage/suggestions/14498352-allow-azure-files-shares-to-be-mounted-using-sas-s
upvoted 11 times
nakedsun
5 years ago
This is correct, the SAS key generated in the question is in effect an incorrect password and will prompt for the correct creds, (or the net use command might just fail and no access). For everyone below with links showing the "net use" command working, this the storage ACCOUNT key, not a normal SAS key. The account key will work, the SAS wont. https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows#prerequisites https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview#types-of-shared-access-signatures "To mount an Azure file share, you will need the primary (or secondary) storage key. SAS keys are not currently supported for mounting."
upvoted 7 times
...
[Removed]
5 years, 1 month ago
I don't think so, you are using the tiken instead of usual credentials to access thd file. I doesn't make sense to generatd aSAS token, something you can do un file storage, just to ask for credentials whdn the user tries to get the file. The answer of this question is correct, yo will hacd access to the file once you provide the token.
upvoted 5 times
...
...
MatAlves
Most Recent 1 year, 3 months 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
...
Subhi1234
3 years, 4 months ago
Both will be no access as the first one has an IP value out of range and the second has SMB which doesn't support SAS.
upvoted 3 times
...
LexusNX425
4 years, 1 month ago
Net use uses SMB, and SMB is not supported with SAS. Therefore, 2nd one will be "no access".
upvoted 4 times
...
JBinuya
4 years, 4 months ago
Based on: https://docs.microsoft.com/en-us/azure/storage/common/storage-auth?toc=/azure/storage/blobs/toc.json Azure File (SMB) does not support SAS so shouldn't it be "will have no access"?
upvoted 1 times
...
NickyDee
4 years, 5 months ago
No access Prompts for creds again when using SAS
upvoted 1 times
...
simanastasiya
4 years, 6 months ago
in exam az-104 29nov 2020
upvoted 3 times
...
auron34
4 years, 6 months ago
You can't use SAS1 with net use command... you have to use storage account key as password, here point 4 of Mount the Azure file share with File Explorer: https://docs.microsoft.com/en-gb/azure/storage/files/storage-how-to-use-files-windows Mount the Azure file share with File Explorer Open File Explorer. This can be done by opening from the Start Menu, or by pressing Win+E shortcut. Navigate to This PC on the left-hand side of the window. This will change the menus available in the ribbon. Under the Computer menu, select Map network drive. Select the drive letter and enter the UNC path, the UNC path format is \\<storageAccountName>.file.core.windows.net\<fileShareName>. For example: \\anexampleaccountname.file.core.windows.net\example-share-name. Use the storage account name prepended with AZURE\ as the username and a storage account key as the password.
upvoted 2 times
...
Xila
4 years, 9 months ago
Agree with the rest. Second answer should "Will be prompted for credentials". Password is Key, not SAS Token.
upvoted 3 times
...
Blaaa
4 years, 9 months ago
https://docs.microsoft.com/en-us/answers/questions/40741/sas-key-for-unc-path.html No access for second one!
upvoted 2 times
...
wesignature
4 years, 9 months ago
Digital Signature is the need of this digital world. WeSignature helps you create a digital signature online. With Wesignature you can sign documents like sales contracts, google docs, insurance forms, and many others with just a few quick clicks. It boosts profits and increases workflow efficiency.
upvoted 2 times
...
Loma
4 years, 9 months ago
tested 1 minute ago, the result is: "System error 1326 has occurred. The user name or password is incorrect." So, no access, no credentials prompt. Answer is "Will have no access"
upvoted 7 times
...
Shades
4 years, 10 months ago
By default , if you use Net use, the password that it uses is the Access Key. So if he had not used the work SAS1 key...it would be ale to access it..
upvoted 1 times
...
PrinceVarghese
4 years, 11 months ago
The allowed port on SAS is HTTPS only, "net use" is using SMB port 445, does this allow? I hope IP on the original exam will be different which will allow Azure Storage explorer to connect using SAS.
upvoted 2 times
...
raj10207
4 years, 11 months ago
Came in Exam , Exam given on 06.07.2020
upvoted 3 times
PrinceVarghese
4 years, 11 months ago
@raj10207, the IP address on the answer options were same showing here in the answer? The last digit, was it 1 or 10 ?
upvoted 1 times
...
...
Anshi
4 years, 11 months ago
so whats true Case 1 (SAS passed) ======== When you copy a blob to another blob that resides in a different storage account, you must use a SAS to authorize access to the source blob. You can optionally use a SAS to authorize access to the destination blob as well. When you copy a file to another file that resides in a different storage account, you must use a SAS to authorize access to the source file. You can optionally use a SAS to authorize access to the destination file as well. When you copy a blob to a file, or a file to a blob, you must use a SAS to authorize access to the source object, even if the source and destination objects reside within the same storage account. Case 2: (SAS not supported) ======= https://docs.microsoft.com/en-us/azure/storage/common/storage-auth?toc=/azure/storage/blobs/toc.json Gosh what is this
upvoted 1 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 ...