1.

Point out the wrong statement.(a) MongoDB can query for locations contained entirely within a specified polygon(b) MongoDB require an index for inclusion queries; however, such indexes will improve query performance(c) Indexes on embedded fields allow you to use a “dot notation,” to introspect into embedded documents(d) None of the mentionedThe question was posed to me during an online exam.Question is taken from Index Types topic in division Index/Indexing Concepts of MongoDB

Answer»

Right answer is (b) MONGODB REQUIRE an index for inclusion queries; however, such INDEXES will improve QUERY performance

To explain: Both 2d and 2dsphere indexes can SUPPORT inclusion queries.



Discussion

No Comment Found

Related InterviewSolutions