Google News
logo
MongoDB - Quiz(MCQ)
Which of the following command returns quickly and does not impact MongoDB performance?
A)
dbStats
B)
db.stats()
C)
None of the above
D)
db.serverStatus()

Correct Answer :   db.serverStatus()


Explanation : serverStatus outputs an account of the state of a MongoDB instance.

Advertisement