Question: To cleanly shut down MongoDB, what command should you use from the MongoDB shell?

  1. quit()
  2. exit()
  3. db.shutdownServer()
  4. db.shutdown()

Answer: The correct answer of the above question is Option C:db.shutdownServer()