1.

Which of the following command returns quickly and does not impact MongoDB performance?(a) dbStats(b) db.serverStatus()(c) db.stats()(d) none of the mentionedI had been asked this question in exam.The doubt is from MongoDB Backup in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB

Answer»

Correct CHOICE is (b) db.SERVERSTATUS()

For EXPLANATION: serverStatus outputs an ACCOUNT of the state of a MongoDB instance.



Discussion

No Comment Found

Related InterviewSolutions