exam questions

Exam DP-700 All Questions

View all questions & answers for the DP-700 exam

Exam DP-700 topic 3 question 4 discussion

Actual exam question from Microsoft's DP-700
Question #: 4
Topic #: 3
[All DP-700 Questions]

HOTSPOT -
You are processing streaming data from an external data provider.
You have the following code segment.


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

Show Suggested Answer Hide Answer
Suggested Answer:

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
MDWPartners
Highly Voted 3 months, 2 weeks ago
NO, YES, YES First row will be Washington, Contoso, 400 Fabrikam in Seattle will have 2 because row_rank_dense allows ties Yes, in both cases it will be 1
upvoted 22 times
...
Tuki93
Highly Voted 3 months ago
NO, YES, YES Location Company UnitsSold Rank Washington DC Contoso 400 1 Washington DC Litware 300 2 Seattle Contoso 300 1 Seattle Litware 100 2 Seattle Fabrikam 100 2 San Francisco Relecloud 500 1 San Francisco Litware 500 1 New York Litware 1000 1 New York Contoso 300 2 New York Relecloud 300 2 New York Fabrikam 200 3
upvoted 14 times
...
a85becd
Most Recent 6 days, 3 hours ago
No-Yes-No Litware from New York will be displayed at the top of the result (N) Sorting prioritizes Location in descending order, so rows from locations like "Washington DC" or "San Francisco" will appear before "New York." Thus, Litware from New York will not be at the top. Fabrikam in Seattle will have value = 2 in the Rank column (Y) Within the "Seattle" location, Fabrikam and Litware both have UnitsSold = 100. These rows are tied, and row_rank_dense assigns both a rank of 2 because dense ranking skips no numbers. Litware in San Francisco will have the same value in the Rank column as Litware in New York (N) The row_rank_dense function assigns ranks independently for each Location. "Litware" in San Francisco and "Litware" in New York belong to different partitions and will have different ranks.
upvoted 1 times
a85becd
6 days, 3 hours ago
Sorting: Rows are first sorted by Location in descending order (alphabetically) and then by UnitsSold in descending order Ranking: The row_rank_dense function assigns ranks within each Location. Rows with the same UnitsSold value share the same rank, and the next rank increments without gaps.
upvoted 1 times
...
...
13d2a97
1 week, 5 days ago
No Yes No
upvoted 2 times
...
MultiCloudIronMan
2 months ago
N̈o No YEs
upvoted 3 times
MultiCloudIronMan
1 month, 3 weeks ago
No Yes Yes
upvoted 4 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