MS-600 · Question #13
You are developing an application that will track changes to the UserPrincipalName attribute of Microsoft 365 accounts. You need to use a REST request to retrieve the information by using Microsoft…
The correct answer is B. Use GET https://graph.microsoft.com/v1.0/users/delta?$select=UserPrincipalName for the first. Use delta query to track changes in a resource collection The typical call pattern is as follows:application begins by calling a GET request with the delta function on the desired resource. 1. The Graph sends a response containing the requested resource and a state token…
Question
You are developing an application that will track changes to the UserPrincipalName attribute of Microsoft 365 accounts. You need to use a REST request to retrieve the information by using Microsoft Graph. The solution must minimize the amount of data retrieved. What should you do?
Options
- AUse GET https://graph.microsoft.com/v1.0/users/delta for the first call. Use the state token in
- BUse GET https://graph.microsoft.com/v1.0/users/delta?$select=UserPrincipalName for the first
- CUse GET https://graph.microsoft.com/v1.0/users$select=UserPrincipalName for the calls and
- DUse GET https://graph.microsoft.com/v1.0/users for the calls and track the changes.
How the community answered
(32 responses)- A3% (1)
- B78% (25)
- C6% (2)
- D13% (4)
Explanation
Use delta query to track changes in a resource collection The typical call pattern is as follows:application begins by calling a GET request with the delta function on the desired resource. 1. The Graph sends a response containing the requested resource and a state token. Example: Selecting three properties The next example shows the initial request selecting three properties for change tracking, with default response behavior. Note: Delta query enables applications to discover newly created, updated, or deleted entities without performing a full read of the target resource with every request. Incorrect Answers: A: Example: Default properties The following is an example of the request. There is no $select parameter, so a default set of properties is tracked and returned.
Topics
Community Discussion
No community discussion yet for this question.