Which of the following operator can be used to control the number of items of an array that a query returns?
What is the output of the following program?
A MongoDB database administrator needs to improve the performance of the following query:
db.employees.find(
{},
{ name: 1, department: 0, salary: 1 }
).sort({ department: 1, salary: -1 });
What index should the administrator use to achieve this goal?
What stage of the Winning Plan in an Explain Result identifies the Index Key for the query pattern?