1.

Query shape consists of a combination of query, sort, and _________ specifications.(a) selection(b) projection(c) collection(d) none of the mentionedThis question was posed to me during a job interview.I need to ask this question from Aggregation Pipeline in section Aggregation Concepts and Aggregation Mechanics of MongoDB

Answer»

Correct choice is (c) collection

The explanation is: If an INDEX FILTER exists for a GIVEN query SHAPE, the optimizer only considers those indexes SPECIFIED in the filter.



Discussion

No Comment Found

Related InterviewSolutions