1.

To support ________ based sharding, MongoDB provides a hashed index type.(a) primary(b) root(c) hash(d) all of the mentionedThis question was posed to me in an internship interview.My question is from Index Types topic in section Index/Indexing Concepts of MongoDB

Answer»

The correct option is (C) hash

Best explanation: These INDEXES have a more random distribution of values along their range, but only support EQUALITY MATCHES and cannot support range-based queries.



Discussion

No Comment Found

Related InterviewSolutions