C100DBA · Question #44
MongoDB is a schema-less design.
The correct answer is B. True. B (True) is correct because MongoDB is a document-oriented NoSQL database that does not enforce a fixed schema - documents within the same collection can have different fields, data types, and structures, giving developers maximum flexibility. A (False) is incorrect because…
Question
MongoDB is a schema-less design.
Options
- AFalse
- BTrue
How the community answered
(47 responses)- A6% (3)
- B94% (44)
Explanation
B (True) is correct because MongoDB is a document-oriented NoSQL database that does not enforce a fixed schema - documents within the same collection can have different fields, data types, and structures, giving developers maximum flexibility.
A (False) is incorrect because MongoDB genuinely operates without a rigid schema requirement. Unlike relational databases (e.g., MySQL, PostgreSQL), there is no CREATE TABLE DDL that mandates column definitions before inserting data.
Memory tip: Think "Mongo = Mongo-changing structure" - each document is a self-contained JSON-like object that can look completely different from its neighbors in the same collection. If you've ever worked with a Python dict where keys aren't fixed, MongoDB collections work the same way.
Topics
Community Discussion
No community discussion yet for this question.