1.

The _________ property for an index causes MongoDB to reject duplicate values for the indexed field.(a) Hashed(b) Unique(c) Multikey(d) None of the mentionedI got this question during an interview.I need to ask this question from Index Types topic in section Index/Indexing Concepts of MongoDB

Answer»

The correct answer is (C) Multikey

The best I can EXPLAIN: Other than the unique constraint, unique indexes are FUNCTIONALLY interchangeable with other MONGODB indexes.



Discussion

No Comment Found

Related InterviewSolutions