Microsoft
DP-420 · Question #39
Drag and Drop Question You have an app that stores data in an Azure Cosmos DB for NoSQL account The app performs queries that return large result sets. You need to return a complete result set to the
Sign in or unlock DP-420 to reveal the answer and full explanation for question #39. The question stem and answer options stay visible for context.
Optimize an Azure Cosmos DB solution
Question
Drag and Drop Question You have an app that stores data in an Azure Cosmos DB for NoSQL account The app performs queries that return large result sets. You need to return a complete result set to the app by using pagination. Each page of results must return 80 items. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. Answer:
Exhibit
Answer Area
Drag items
Configure MaxItemCount in QueryRequestOptionsRun the query and provide a continuation tokenConfigure MaxBufferedItemCount in QueryRequestOptionsAppend the results to a variableRun the query and increment MaxItemCount
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.
Topics
#Pagination#Azure Cosmos DB NoSQL#Query optimization#SDK
