1.

The ______ property of an index ensures that the index only contain entries for documents that have the indexed field.(a) Hashed(b) Unique(c) Sparse(d) None of the mentionedI had been asked this question during an online exam.My question is from Index Types in chapter Index/Indexing Concepts of MongoDB

Answer»

The correct answer is (c) Sparse

For EXPLANATION: The INDEX SKIPS documents that do not have the indexed FIELD.



Discussion

No Comment Found

Related InterviewSolutions