1.

________ returns a document that reports on the status of the replica set.(a) replSetGetStatus(b) replSetFreeze(c) replSetInitiate(d) all of the mentionedThe question was posed to me in an international level competition.The doubt is from Troubleshooting topic in section Replication Concepts, Processes and Replication Set of MongoDB

Answer»

The correct option is (a) replSetGetStatus

The best EXPLANATION: The replSetGetStatus command returns the status of the REPLICA set from the point of view of the CURRENT SERVER.



Discussion

No Comment Found

Related InterviewSolutions