Exams > Microsoft > MS-600: Building Applications and Solutions with Microsoft 365 Core Services
MS-600: Building Applications and Solutions with Microsoft 365 Core Services
Page 2 out of 18 pages Questions 11-20 out of 178 questions
Question#11

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:

Discover Answer Hide Answer

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

Question#12

HOTSPOT -
You need to retrieve a list of the last 10 files that the current user opened from Microsoft OneDrive. The response must contain only the file ID and the file name.
Which URI should you use to retrieve the results? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Discover Answer Hide Answer

Answer:
"graph.microsoft.com" "drive" onedrive

Box 1: root -
/root - The root folder for the drive.

Box 2: $select=id,name -
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.
Reference:
https://docs.microsoft.com/en-us/onedrive/developer/rest-api/concepts/addressing-driveitems https://developer.microsoft.com/en-us/graph/docs/overview/query_parameters

Question#13

You need to build a daemon app that polls Microsoft Graph to get all user information.
You register and configure the app in Azure Active Directory (Azure AD).
Which three actions should you perform next? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Get the consent of each user.
  • B. Pass a bearer token in the authorization header and call the Microsoft Graph API.
  • C. Get an ID token.
  • D. Get an access token.
  • E. Provide the admin consent URL to a global administrator in Azure AD.
Discover Answer Hide Answer

Answer: BDE
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-daemon-overview https://docs.microsoft.com/en-us/graph/auth/auth-concepts

Question#14

You are developing an app that will display all the users returned in a Microsoft Graph query.
The entire dataset is too large, and you receive the following response.

How should you retrieve the next page of data?

  • A. Send an HTTP PATCH request to the @odata.context value.
  • B. Send an HTTP GET request that contains the id value.
  • C. Send an HTTP GET request that contains the skiptoken value.
  • D. Append the skip query parameter to the last request.
  • E. Send an HTTP GET request to the @odata.nextLink value.
Discover Answer Hide Answer

Answer: D
Reference:
https://docs.microsoft.com/en-us/graph/query-parameters

Question#15

You are building an application that will help Azure Active Directory (Azure AD) administrators manage Microsoft 365 groups.
You are building a details page that will display information about the groups.
You need to display the groups of which the current group is a member. The results must contain the nested groups.
Which URI should you use?

  • A. https://graph.microsoft.com/v1.0/groups/{id}/transitiveMemberOf
  • B. https://graph.microsoft.com/v1.0/groups/{id}/memberOf
  • C. https://graph.microsoft.com/v1.0/groups/{id}/transitiveMembers
  • D. https://graph.microsoft.com/v1.0/groups/{id}/owners
  • E. https://graph.microsoft.com/v1.0/groups/{id}/members
Discover Answer Hide Answer

Answer: A
Reference:
https://docs.microsoft.com/en-us/graph/api/group-list-transitivememberof?view=graph-rest-1.0&tabs=http

Question#16

HOTSPOT -
You have an app named App1 that uses the Microsoft Graph API.
You need to identify all users who have a job title of Developer. The solution must return only the display name and email address attributes of the users.
How should you complete the Microsoft Graph API query? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Discover Answer Hide Answer

Answer:
Reference:
https://docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http

Question#17

You have the following Microsoft Graph call.
PATCH /me/drive/items/01NKDM7HMOJTVYMDOSXFDK2QJDXCDI3WUK

Content-type: application/json -
{
"name": "Marketing-Campaign.docx"
}
What occurs when you execute the call?

  • A. A file that has an ID of 01NKDM7HMOJTVYMDOSXFDK2QJDXCDI3WUK in the root of your Microsoft OneDrive is renamed as Marketing-Campaign.docx.
  • B. A file that has an ID of 01NKDM7HMOJTVYMDOSXFDK2QJDXCDI3WUK in a Microsoft SharePoint Online site is renamed as Marketing-Campaign.docx.
  • C. A file named Marketing-Campaign.docx that has an ID of 01NKDM7HMOJTVYMDOSXFDK2QJDXCDI3WUK is uploaded to the root of your Microsoft OneDrive.
  • D. A file named Marketing-Campaign.docx that has an ID of 01NKDM7HMOJTVYMDOSXFDK2QJDXCDI3WUK is uploaded to a Microsoft SharePoint Online site.
Discover Answer Hide Answer

Answer: A
Reference:
https://docs.microsoft.com/en-us/graph/api/driveitem-update?view=graph-rest-1.0&tabs=http

Question#18

HOTSPOT -
You are developing a web app that will use the Microsoft Graph API. The app will use a front end to authenticate users and a backend to provision new unified groups.
Users do not have permission to provision groups in Azure Active Directory (Azure AD).
You need to recommend which permission types to grant. The solution must use the principle of least privilege.
What should you recommend? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Discover Answer Hide Answer

Answer:
Reference:
https://docs.microsoft.com/en-us/azure/app-service/scenario-secure-app-access-microsoft-graph-as-user?tabs=azure-resource-explorer%2Ccommand-line

Question#19

HOTSPOT -
You have a Microsoft 365 tenant that contains a Microsoft SharePoint Online site named Projects.
You need to get a list of documents in the Documents library by using the Microsoft Graph API.
How should you complete the query? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Discover Answer Hide Answer

Answer:
Reference:
https://docs.microsoft.com/en-us/graph/api/list-get?view=graph-rest-1.0&tabs=http

Question#20

You have a custom web app that uses the Microsoft Graph API.
You receive an HTTP 403 Forbidden error when you call the Microsoft Graph endpoint.
What are two possible causes of the error? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  • A. The access token is valid but corresponds to a different endpoint.
  • B. The Authorization header is missing from the HTTP request.
  • C. The requested resource does not exist.
  • D. The API permissions are insufficient to call the requested resource.
  • E. The access token is invalid.
Discover Answer Hide Answer

Answer: AD
Reference:
https://docs.microsoft.com/en-us/graph/resolve-auth-errors

chevron rightPrevious Nextchevron right