1.

For a _____ multikey index, each indexed document can have at most one indexed field whose value is an array.(a) Hashed(b) Unique(c) Multikey(d) compoundI got this question by my college professor while I was bunking the class.I'm obligated to ask this question of Index Types in division Index/Indexing Concepts of MongoDB

Answer»

The correct CHOICE is (d) COMPOUND

To elaborate: As such, you cannot create a compound multikey index if more than one to-be-indexed FIELD of a DOCUMENT is an array.



Discussion

No Comment Found

Related InterviewSolutions