Free MS-600 Exam Braindumps (page: 6)

Page 6 of 26

You are developing a human resources application that will show users where they are in their company's organization chart.
You are adding a new feature that will display the name of a user's manager inside the application. You need to create a REST query to retrieve the information. The solution must minimize the amount of data retrieved.
Which query should you use?

  1. GET https://graph.microsoft.com/v1.0/users/{UserPricipalName}/ manager?$select=displayName
  2. GET https://graph.microsoft.com/v1.0/users/{UserPricipalName}/ people?$filter=jobTitle eq 'manager'&$select=displayName
  3. GET https://graph.microsoft.com/v1.0/users/{UserPricipalName}/ contacts?$filter=jobTitle eq 'manager'
  4. GET https://graph.microsoft.com/v1.0/users/{UserPricipalName}/manager

Answer(s): A

Explanation:

Get user's manager. Returns the user or organizational contact assigned as the user's manager.
Syntax:
GET /me/manager
GET /users/{id | userPrincipalName}/manager
Only the name of the user's manager should be displayed so we use ?select=displayname 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.


Reference:

https://docs.microsoft.com/en-us/graph/api/user-list-manager https://developer.microsoft.com/en-us/graph/docs/overview/query_parameters



HOTSPOT
You receive the following JSON document when you use Microsoft Graph to query the current signed-in user.



For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Exhibit A:



Exhibit B:

  1. Please refer to Exhibit B for answer.

Answer(s): A

Explanation:

Box 1: Yes
Syntax: GET /me/photo/$value
Get the specified profilePhoto or its metadata (profilePhoto properties). Example: Get the photo for the signed-in user in the largest available size GET https://graph.microsoft.com/v1.0/me/photo/$value
Box 2: Yes
Syntax: GET /users/{id | userPrincipalName}/photo/$value Get the specified profilePhoto or its metadata (profilePhoto properties).
Box 3: Yes
Syntax: GET /users/{id | userPrincipalName}/photo/$value Get the specified profilePhoto or its metadata (profilePhoto properties).


Reference:

https://docs.microsoft.com/en-us/graph/api/profilephoto-get



DRAG DROP
You are developing in application named App1.
App1 needs to use the Microsoft Graph API to retrieve emails from Microsoft 365 for the current signed-in user. The solution must meet the following requirements:
·Emails that have attachments and are from bill@contoso.com must be retrieved.
·The results must show the subject of the email, the sender address, and the count of emails retrieved.
How should you complete the URI to retrieve the results? To answer, drag the appropriate values to the correct targets. Each value 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.
Exhibit A:



Exhibit B:

  1. Please refer to Exhibit B for answer.

Answer(s): A

Explanation:

Box 1: $count
Use $count as a query parameter to include a count of the total number of items in a collection alongside the page of data values returned from the Graph, as in the following example:
GET https://graph.microsoft.com/v1.0/me/contacts?$count=true Box 2: $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.
Box 3: $filter
To filter the response data based on a set of criteria, use the $filter query option. The following example returns messages that have the address field of the from property equal to "jon@contoso.com".
The from property is of the complex type emailAddress. GET https://graph.microsoft.com/v1.0/me/messages?$filter=from/emailAddress/address eq 'jon@contoso.com'


Reference:

https://developer.microsoft.com/en-us/graph/docs/overview/query_parameters



HOTSPOT
You have an application that has the code shown in the exhibits. (Click the JavaScript Version tab or the C# Version tab.)
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

JavaScript Version



C# Version




Exhibit A:


Exhibit B:

  1. Please refer to Exhibit B for answer.

Answer(s): A

Explanation:

Box 1: No
Box 2: No
Box 3: Yes
A file is downloaded from OneDrive and saved locally. Drive/Root is the drive resource is the top level object representing a user's OneDrive or a document library in SharePoint.


Reference:

https://docs.microsoft.com/en-us/graph/api/resources/drive



Page 6 of 26



Post your Comments and Discuss Microsoft MS-600 exam with other Community members:

Vivik commented on June 08, 2021
This exam is very hard. Study these questions from the this exam dumsp well. I would not have apssed without these exam dumps questions.
INDIA
upvote

Rajesh commented on August 19, 2020
I thought due to low price the quality would be bad. But I was wrong. The PDF questions are well formatted and the Free Xengine Engine Simulator Test Engine is really Free.
UNITED STATES
upvote