1.

_________ prevents the current member from seeking election as primary for a period of time.(a) rs.freeze()(b) rs.conf()(c) rs.printReplicationInfo()(d) secondaryThe question was asked in an online interview.I need to ask this question from Replication Processes in section Replication Concepts, Processes and Replication Set of MongoDB

Answer»

Correct CHOICE is (a) rs.freeze()

The best I can EXPLAIN: rs.freeze() makes the CURRENT replica set MEMBER ineligible to become primary for the period SPECIFIED.



Discussion

No Comment Found

Related InterviewSolutions