1.

An arbiter will always be an arbiter whereas a primary may step down and become a secondary and a _________ may become the primary during an election.(a) center(b) secondary(c) primary(d) none of the mentionedThis question was addressed to me in an online interview.I would like to ask this question from Replication in MongoDB topic in division Replication Concepts, Processes and Replication Set of MongoDB

Answer» CORRECT choice is (b) secondary

To explain: If your replica set has an even number of MEMBERS, add an arbiter to obtain a majority of VOTES in an ELECTION for primary.


Discussion

No Comment Found

Related InterviewSolutions