DS0-001 · Question #73
DS0-001 Question #73: Real Exam Question with Answer & Explanation
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
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.
Community Discussion
No community discussion yet for this question.