1.

Which of the following ddds an arbiter to a replica set?(a) rs.addArb()(b) rs.addArbiter()(c) rs.addtoArb()(d) all of the mentionedI had been asked this question during a job interview.My doubt stems from Replication Processes in section Replication Concepts, Processes and Replication Set of MongoDB

Answer» CORRECT answer is (a) rs.addArb()

To elaborate: rs.addArb() ADDS a NEW arbiter to an existing replica set.


Discussion

No Comment Found

Related InterviewSolutions