1.

Point out the correct statement.(a) In practice, the documents in a collection share a different structure(b) Data in MongoDB has a flexible schema(c) The key challenge in data modeling is balancing the needs of the application, the performance characteristics of the database engine, and the data retrieval patterns(d) None of the mentionedI have been asked this question in an online interview.This intriguing question comes from Data Modeling Introduction in division Data Models of MongoDB

Answer»

Right answer is (b) DATA in MongoDB has a flexible schema

The explanation: MongoDB’s collections do not ENFORCE DOCUMENT STRUCTURE.



Discussion

No Comment Found

Related InterviewSolutions