New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft DP-420 Exam - Topic 14 Question 36 Discussion

Actual exam question for Microsoft's DP-420 exam
Question #: 36
Topic #: 14
[All DP-420 Questions]

You are developing an application that will use an Azure Cosmos DB Core (SQL) API account as a data source.

You need to create a report that displays the top five most ordered fruits as shown in the following table.

A collection that contains aggregated data already exists. The following is a sample document:

{

"name": "apple",

"type": ["fruit", "exotic"],

"orders": 10000

}

Which two queries can you use to retrieve data for the report? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A)

B)

C)

D)

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Miles
3 months ago
I feel like B could work too, but not as well as A.
upvoted 0 times
...
Delfina
4 months ago
Wow, 10,000 orders for apples? That's impressive!
upvoted 0 times
...
Elvera
4 months ago
Not sure about C, seems a bit off to me.
upvoted 0 times
...
Freida
4 months ago
Definitely agree with A, it looks solid.
upvoted 0 times
...
Rolland
4 months ago
I think Option A and C are the best choices!
upvoted 0 times
...
Arlene
4 months ago
I feel like I’ve seen a question like this before, but I can’t recall if it was about filtering or sorting the results.
upvoted 0 times
...
Shalon
5 months ago
I’m a bit confused about the aggregation part. Do we need to use a specific function to get the top five?
upvoted 0 times
...
Kenny
5 months ago
I think options B and D look familiar. They might be the right queries to get the top five fruits based on orders.
upvoted 0 times
...
Maybelle
5 months ago
I remember we practiced a similar question about querying Cosmos DB, but I'm not sure if it's the same structure.
upvoted 0 times
...
Stevie
5 months ago
Okay, let's think this through step-by-step. I need to find a query that sorts the documents by the "orders" field in descending order and limits the results to the top 5. I think options B and D might be the way to go.
upvoted 0 times
...
Gerald
5 months ago
Hmm, I'm a bit confused about the sample document structure. I'll need to carefully review the options to make sure I understand how to extract the data correctly.
upvoted 0 times
...
Ayesha
5 months ago
This looks like a straightforward query to retrieve the top 5 most ordered fruits from the Cosmos DB collection. I think I can handle this one.
upvoted 0 times
...
Izetta
5 months ago
I'm not entirely sure about this one. The sample document structure is a bit different from what I'm used to. I'll need to experiment with the different query options to see which one works best.
upvoted 0 times
...
Antonette
5 months ago
Gotta be geolocation, right? I mean, how can you navigate without knowing where you are? I'm pretty confident that D is the right answer here.
upvoted 0 times
...
Galen
5 months ago
Hmm, this is a tricky one. I'm not too familiar with the NetApp product lineup, so I'll need to think through the options carefully. SnapManager for Oracle sounds promising, but I'm not sure if that's the right answer.
upvoted 0 times
...
Mayra
5 months ago
This seems like a good opportunity to apply my knowledge of Azure components and their capabilities. I'll make sure to consider all the options carefully.
upvoted 0 times
...
Melissa
5 months ago
Okay, I know in a typical stock purchase, you need over 50% of voting shares to control a company. So I'm leaning towards 51%.
upvoted 0 times
...
Osvaldo
10 months ago
Option B is the way to go, my friends. It's like ordering a classic cheeseburger - no need for fancy toppings when the core ingredients are perfect.
upvoted 0 times
...
Arletta
10 months ago
Ah, the age-old dilemma of too many options. But in this case, Option B stands out as the clear winner. It's like choosing the ripe, juicy apple over the exotic, overly complicated fruit.
upvoted 0 times
Walker
8 months ago
Yes, Option B is the clear winner here, just like choosing a ripe apple over a complicated exotic fruit.
upvoted 0 times
...
Nida
8 months ago
I think Option B simplifies the process and gets the job done effectively.
upvoted 0 times
...
Rachael
8 months ago
I agree, Option B seems like the most efficient solution for this scenario.
upvoted 0 times
...
Evangelina
9 months ago
Option B is definitely the way to go for retrieving data for the report.
upvoted 0 times
...
...
Ivan
10 months ago
Hmm, Option D seems a bit too complex for this use case. I'm leaning towards Option B - it gets the job done without any unnecessary frills.
upvoted 0 times
Amie
9 months ago
I think Option B is the way to go for simplicity and effectiveness.
upvoted 0 times
...
Ben
9 months ago
Yeah, Option B seems like the most efficient choice here.
upvoted 0 times
...
Daniel
9 months ago
I agree, Option B looks like the most straightforward solution for this report.
upvoted 0 times
...
...
Mozell
10 months ago
While Option A might work, it seems a bit overkill for this simple requirement. I'd go with Option B to keep things clean and efficient.
upvoted 0 times
...
Wei
10 months ago
The query in Option B looks like the perfect solution to retrieve the top 5 most ordered fruits. It's simple, straightforward, and clearly accomplishes the task at hand.
upvoted 0 times
Maryann
9 months ago
Let's go with Option B for the query, it looks like the most efficient solution.
upvoted 0 times
...
Tess
9 months ago
I think Option B will make it easy to get the top 5 most ordered fruits without any complications.
upvoted 0 times
...
Lauran
9 months ago
I agree, Option B seems like the best choice for retrieving the data we need.
upvoted 0 times
...
...
Fausto
11 months ago
I'm not sure, I think Option C could also work well for this scenario.
upvoted 0 times
...
Louisa
11 months ago
I agree with Merri, Option A seems like the best solution for the report.
upvoted 0 times
...
Merri
11 months ago
I think we should use Option A to retrieve the data.
upvoted 0 times
...

Save Cancel