24 of 24 questions
// Interview Deck · MONGODB
MongoDB
Schema design, indexing, querying, and the document-database thinking that's different from SQL.
01
Beginner
What is MongoDB and why use a NoSQL database over SQL?
Card #1View Answer
02
Beginner
What are documents and collections in MongoDB?
Card #2View Answer
03
Beginner
Difference between BSON and JSON?
Card #3View Answer
04
Beginner
Is MongoDB really 'schema-less'? Does schema design still matter?
Card #4View Answer
05
Beginner
How do insertOne and insertMany work?
Card #5View Answer
06
Beginner
How do find and findOne work, including basic query operators?
Card #6View Answer
07
Intermediate
How do updateOne and updateMany work, including $set and $inc?
Card #7View Answer
08
Beginner
How do deleteOne and deleteMany work?
Card #8View Answer
09
Intermediate
What is the _id field and ObjectId?
Card #9View Answer
10
Intermediate
Difference between embedding and referencing (relationships in MongoDB)?
Card #10View Answer
11
Intermediate
How do you model one-to-one, one-to-many, and many-to-many relationships in MongoDB?
Card #11View Answer
12
Intermediate
What are indexes in MongoDB and why do they matter?
Card #12View Answer
13
Intermediate
What are the different types of indexes in MongoDB?
Card #13View Answer
14
Intermediate
What are common query operators in MongoDB ($gt, $or, $and, etc.)?
Card #14View Answer
15
Intermediate
What is Mongoose and how do schemas/models work?
Card #15View Answer
16
Intermediate
How does validation work in Mongoose?
Card #16View Answer
17
Advanced
What are Mongoose middleware/hooks (pre/post save)? (conceptual)
Card #17View Answer
18
Advanced
What are Mongoose virtuals? (conceptual)
Card #18View Answer
19
Intermediate
How do sorting, limiting, and pagination work (sort, limit, skip)?
Card #19View Answer
20
Beginner
Difference between SQL and NoSQL databases?
Card #20View Answer
21
Advanced
What are ACID properties and transactions in MongoDB? (conceptual)
Card #21View Answer
22
Advanced
What are replication and sharding in MongoDB? (conceptual)
Card #22View Answer
23
Advanced
What is connection pooling? (conceptual)
Card #23View Answer
24
Advanced
What are common MongoDB data modeling mistakes and best practices?
Card #24View Answer