1.

_________ shut down the mongod instance for one of the non-primary members of your replica set.(a) db.shutdown()(b) db.shutdownServer()(c) db.shutServer()(d) all of the mentionedI got this question during an interview.I want to ask this question from Replication Maintenance topic in portion Replication Concepts, Processes and Replication Set of MongoDB

Answer»

The correct answer is (b) db.shutdownServer()

For explanation I WOULD say: Restart this MONGOD as a standalone INSTANCE running on a DIFFERENT port and without the –replSet PARAMETER.



Discussion

No Comment Found

Related InterviewSolutions