exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 16 question 1 discussion

Actual exam question from Microsoft's PL-400
Question #: 1
Topic #: 16
[All PL-400 Questions]

HOTSPOT -
You need to correct the portal query issues.
Which code should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Scenario: The query for all registered users must return the data categorized by division. Queries must return only the Name and Sport fields. Queries return all fields. The query is as follows:

Box 1: GET ..$select=name, sport
Use select to return only the Name and Sport fields.
Box 2: $apply(groupby(sport ne null)
Categorize by division, that is to sports.

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
Sami324
Highly Voted 10 months ago
Correct Answer based on the scenario
upvoted 8 times
...
Juan0414
Most Recent 3 months, 3 weeks ago
Requirements are not that clear: "The query for all registered users must return the data categorized by division. Queries must return only the Name and Sport fields. Queries return all fields." But the answer should be the one provided: select=name,sport ("must return only the Name and Sport fields") groupby(sport ne null) -> ("all registered users must return the data categorized by division")
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 ...