1.

Which of the following indexes cannot be multikey?(a) Hashed(b) Unique(c) Multikey(d) compoundI had been asked this question in an interview.Question is taken from Index Types in section Index/Indexing Concepts of MongoDB

Answer»

Right ANSWER is (a) Hashed

To ELABORATE: You cannot specify a MULTIKEY index as the shard KEY index.



Discussion

No Comment Found

Related InterviewSolutions