exam questions

Exam MS-600 All Questions

View all questions & answers for the MS-600 exam

Exam MS-600 topic 2 question 15 discussion

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

DRAG DROP -
You are developing a web app that will display emails from the Microsoft 365 mailbox of the current signed-in user.
For performance reasons, you do not want all the emails to be loaded simultaneously, rather page-by-page as the user navigates the app.
You plan to display 30 emails per page. The most recent emails must be displayed first.
How should you complete the query parameters for the REST request to display the third page of emails? To answer, drag the appropriate query parameters to the correct targets. Each query parameter may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: top -
Number of items to return in a result

Box 2: skip -
$skip Indexes into a result set. Also used by some APIs to implement paging and can be used together with $top to manually page results.
Incorrect Answers:
✑ $select
To specify a different set of properties to return than the default set provided by the Graph, use the $select query option. The $select option allows for choosing a subset or superset of the default set returned. For example, when retrieving your messages, you might want to select that only the from and subject properties of messages are returned.
✑ $search
To restrict the results of a request that match a search criterion, use the $search query parameter. You cannot use $filter or $orderby in a $search request.
Reference:
https://developer.microsoft.com/en-us/graph/docs/overview/query_parameters

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
ANEEL_KUMAR
Highly Voted 2 years, 9 months ago
Answer is: Box 1 - skip, Box 2 - top
upvoted 42 times
...
johnyb
Highly Voted 2 years, 9 months ago
I think this is false. In order to get 30 mails per page you must use top=30. Also with skip=60 you skip the first two pages and you get the third page.
upvoted 20 times
...
Contactfornitish
Most Recent 5 months ago
Skip in first box and then top. Third page means index 61-90 emails means you need to skip first 60 to get to third page directly
upvoted 2 times
...
RandomRubbish
1 year, 1 month ago
1. skip 2. top Agree with all the other results, we need to get to page 3, so we "skip" the first 2 pages of 30 results.
upvoted 1 times
...
CristianDF
1 year, 1 month ago
Correct answer (tested on Graph Explorer): 1. skip 2. top
upvoted 2 times
...
Carpos
1 year, 7 months ago
EXCLUDE THE FIRST 60 AND TAKE THE NEXT 30 skip and top
upvoted 2 times
...
Carpos
1 year, 7 months ago
BOX 1 = SKIP & BOX 2 = TOP, TAKE THE FIRST 60 AND TAKE THE NEXT 30
upvoted 2 times
...
RajatSahani
2 years, 1 month ago
given answer is not correct. this is correct option to query skip 60 and Top 30
upvoted 4 times
...
TechieBloke
2 years, 1 month ago
I would o for 1st skip and 2nd top. Skip the first 60 (which means 2 page) and show 30 emails from the 61st one... https://docs.microsoft.com/en-us/graph/query-parameters#skip-parameter https://docs.microsoft.com/en-us/graph/query-parameters#top-parameter
upvoted 2 times
...
PreetiLearner
2 years, 3 months ago
answer should be 1. Skip 2. top
upvoted 2 times
...
wonderznight
2 years, 3 months ago
https://graph.microsoft.com/v1.0/me/messages?$skip=60&$top=30&$orderby=sentDateTime desc
upvoted 3 times
...
SuriSagar
2 years, 4 months ago
any clarity on this answer? I think answer is Box 1 - skip, Box 2 - top
upvoted 3 times
...
ETU69
2 years, 7 months ago
It is about "The most recent emails must be displayed first." With "sentDateTime desc" and "top=60" you get the most recent 60 emails. Using "skip=30" you will get the first 30 emails including a nextLink ("@odata.nextLink": "https://graph.microsoft.com/v1.0/me/messages?$skip=30") to get the next 30 emails. So, the answer should be 1: "top" 2: "skip".
upvoted 3 times
dheerajbalmuri
2 years, 5 months ago
but how are you displaying the third page of the emails with this logic.
upvoted 6 times
AzureConsultant
1 year, 2 months ago
The question says, 30 emails per page and also asking us to display emails on the 3RD page. It should be Skip and then top 30
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago