exam questions

Exam MS-600 All Questions

View all questions & answers for the MS-600 exam

Exam MS-600 topic 2 question 31 discussion

Actual exam question from Microsoft's MS-600
Question #: 31
Topic #: 2
[All MS-600 Questions]

DRAG DROP -
You are developing an application that will upload files that are larger than 50 MB to Microsoft OneDrive.
You need to recommend an upload solution to ensure that the file upload process can resume if a network error occurs during the upload.
Which four actions should you perform in sequence? To answer, move the actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Step 1: Create an upload session that gets the uploadUrl value
To upload a file using an upload session, there are two steps:
1. Create an upload session
2. Upload bytes to the upload session
Step 2: Upload the first sequence of bytes.
To upload the file, or a portion of the file, your app makes a PUT request to the uploadUrl value received in the createUploadSession response.
Step 3: Use the nextExpectedRanges field to continue the upload process.
Your app can use the nextExpectedRanges value to determine where to start the next byte range.
Step 4: Send the final byte sequence
When the last byte range of a file is received the server will response with an HTTP 201 Created or HTTP 200 OK. The response body will also include the default property set for the driveItem representing the completed file.
Once the last byte of the file has been uploaded the upload session is completed and the final file is shown in the destination folder.
Example:
PUT https://sn3302.up.1drv.com/up/fe6987415ace7X4e1eF866337

Content-Length: 21 -
Content-Range: bytes 101-127/128
<final bytes of the file>
Reference:
https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_createuploadsession

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
WhatsUppppp
8 months, 3 weeks ago
Answer seems to be correct
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 ...