All Topics/MongoDB
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 #1
02
Beginner

What are documents and collections in MongoDB?

Card #2
03
Beginner

Difference between BSON and JSON?

Card #3
04
Beginner

Is MongoDB really 'schema-less'? Does schema design still matter?

Card #4
05
Beginner

How do insertOne and insertMany work?

Card #5
06
Beginner

How do find and findOne work, including basic query operators?

Card #6
07
Intermediate

How do updateOne and updateMany work, including $set and $inc?

Card #7
08
Beginner

How do deleteOne and deleteMany work?

Card #8
09
Intermediate

What is the _id field and ObjectId?

Card #9
10
Intermediate

Difference between embedding and referencing (relationships in MongoDB)?

Card #10
11
Intermediate

How do you model one-to-one, one-to-many, and many-to-many relationships in MongoDB?

Card #11
12
Intermediate

What are indexes in MongoDB and why do they matter?

Card #12
13
Intermediate

What are the different types of indexes in MongoDB?

Card #13
14
Intermediate

What are common query operators in MongoDB ($gt, $or, $and, etc.)?

Card #14
15
Intermediate

What is Mongoose and how do schemas/models work?

Card #15
16
Intermediate

How does validation work in Mongoose?

Card #16
17
Advanced

What are Mongoose middleware/hooks (pre/post save)? (conceptual)

Card #17
18
Advanced

What are Mongoose virtuals? (conceptual)

Card #18
19
Intermediate

How do sorting, limiting, and pagination work (sort, limit, skip)?

Card #19
20
Beginner

Difference between SQL and NoSQL databases?

Card #20
21
Advanced

What are ACID properties and transactions in MongoDB? (conceptual)

Card #21
22
Advanced

What are replication and sharding in MongoDB? (conceptual)

Card #22
23
Advanced

What is connection pooling? (conceptual)

Card #23
24
Advanced

What are common MongoDB data modeling mistakes and best practices?

Card #24