MongoDB MCQ Questions and Answers
Practice ModeShowing 10 of 43 questions
Q21
Which is the primary daemon process for MongoDB?
Answer: Option A
Explanation: `mongod` = core MongoDB server process.
Q22
What file does the mongo shell load on startup?
Answer: Option B
Explanation: `.mongorc.js` contains custom scripts.
Q23
What is a MongoDB "shard"?
Answer: Option D
Explanation: Shards = pieces of a distributed dataset.
Q24
Which pipeline is used for aggregation in MongoDB?
Answer: Option C
Explanation: Aggregation pipeline = data processing framework.
Q25
Which avoids repetition of data in MongoDB schema?
Answer: Option D
Explanation: References help normalize data.
Q26
Which statement is incorrect about documents in MongoDB?
Answer: Option D
Explanation: All restrictions are correct.
Q27
MongoDB documents are composed of field-and-value pairs. Correct structure?
Answer: Option A
Explanation: Syntax uses key: value pairs.
Q28
Which statement is true about MongoDB schema design?
Answer: Option D
Explanation: MongoDB = schema-less.
Q29
What does BSON stand for?
Answer: Option A
Explanation: BSON = Binary JSON.
Q30
MongoDB's data storage format is best described as:
Answer: Option B
Explanation: Stored as BSON documents.