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

  1. Q1

    What is the primary purpose of MongoDB performance monitoring?

    • A Manage users
    • B Encrypt data
    • C Identify performance bottlenecks
    • D Create backups
  2. Q2

    Which MongoDB feature records database operations?

    • A Aggregation
    • B Database Profiler
    • C Journaling
    • D Replication
  3. Q3

    MongoDB Profiler stores profiling data in:

    • A admin.profile
    • B system.profile
    • C system.metrics
    • D system.logs
  4. Q4

    Which command enables profiling?

    • A db.setProfilingLevel()
    • B db.startProfiler()
    • C db.enableProfiler()
    • D db.profile()
  5. 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.

MongoDB courses on IntQues

More interview topics

Open WhatsApp chat