DS0-001 · Question #73
Which of the following NoSQL database types best categorizes MongoDB?
The correct answer is A. Document. MongoDB is classified as a document store because it stores data as flexible, JSON-like documents (BSON format), allowing nested fields, arrays, and varying schemas within the same collection - unlike relational tables with fixed columns. Why the distractors are wrong: B (Column-
Question
Which of the following NoSQL database types best categorizes MongoDB?
Options
- ADocument
- BColumn-oriented
- CGraph
- DKey-value stores
How the community answered
(38 responses)- A92% (35)
- C3% (1)
- D5% (2)
Explanation
MongoDB is classified as a document store because it stores data as flexible, JSON-like documents (BSON format), allowing nested fields, arrays, and varying schemas within the same collection - unlike relational tables with fixed columns.
Why the distractors are wrong:
- B (Column-oriented): Column stores like Apache Cassandra organize data by columns for analytical workloads; MongoDB organizes by documents.
- C (Graph): Graph databases like Neo4j model relationships as nodes and edges; MongoDB has no native graph traversal primitives.
- D (Key-value): Key-value stores like Redis only retrieve data by a single key with no internal structure; MongoDB documents are richly queryable by any field.
Memory tip: Think "Mongo = JSON Mongo-ose" - MongoDB documents look exactly like the JSON objects developers write every day, making it the quintessential document database.
Topics
Community Discussion
No community discussion yet for this question.