1.

Point out the wrong statement.(a) Documents have static schema in MongoDB(b) Eventually-consistent reads can be distributed over replicated servers(c) Indexes can include keys from embedded documents and arrays(d) None of the mentionedThis question was posed to me by my school teacher while I was bunking the class.I would like to ask this question from Getting Started with MongoDB topic in section MongoDB CRUD Concepts and Operation of MongoDB

Answer»

Right choice is (a) DOCUMENTS have STATIC schema in MongoDB

Explanation: Dynamic schema MEANS that documents in the same collection do not need to have the same set of fields or structure, and common fields in a collection’s documents MAY hold different TYPES of data.



Discussion

No Comment Found

Related InterviewSolutions