Interview prep
MongoDB interview questions
Documents and schema design, indexes, aggregation pipelines and replication. Practise free with instant feedback, then test yourself in a timed exam.
Sample MongoDB questions
-
Q1
What is the primary purpose of MongoDB performance monitoring?
- A Manage users
- B Encrypt data
- C Identify performance bottlenecks
- D Create backups
-
Q2
Which MongoDB feature records database operations?
- A Aggregation
- B Database Profiler
- C Journaling
- D Replication
-
Q3
MongoDB Profiler stores profiling data in:
- A admin.profile
- B system.profile
- C system.metrics
- D system.logs
-
Q4
Which command enables profiling?
- A db.setProfilingLevel()
- B db.startProfiler()
- C db.enableProfiler()
- D db.profile()
-
Q5
Which profiling level disables profiling?
- A 2
- B 0
- C 3
- D 1
Answers and explanations appear as you practise — take the free quiz to check yours.