DP-420 · Question #199
DP-420 Question #199: Real Exam Question with Answer & Explanation
Sign in or unlock DP-420 to reveal the answer and full explanation for question #199. The question stem and answer options stay visible for context.
Question
You have an Azure Cosmos DB for NoSQL account that contains a database named DB1. Users run the following query against DB1. SELECT * FROM c WHERE c.bikeParts = "Frame, Chain, Peddles" ORDER BY c.bikeParts ASC You add an index to the recordset. You need to change the ORDER BY syntax of the query to optimize the use of the index. The solution must NOT change the result set. Which syntax should you use?
Options
- AORDER BY c._ts ASC, c.bikeParts DESC
- BORDER BY c._ts DESC, c.bikeParts ASC
- CORDER BY c.bikeParts ASC, c._ts ASC
- DORDER BY c.bikeParts DESC, c._ts ASC
Unlock DP-420 to see the answer
You've previewed enough free DP-420 questions. Unlock DP-420 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.