1.

To finish the rolling maintenance operation, step down the primary with the _________ method.(a) rs.syncFrom()(b) rs.stepDown()(c) rs.synchrepl()(d) secondaryThis question was posed to me in an international level competition.My enquiry is from Replication Maintenance topic in division Replication Concepts, Processes and Replication Set of MongoDB

Answer» CORRECT option is (b) rs.stepDown()

EASY explanation: The REPLICA set member will recover and “catch up” before it is eligible for election to primary.


Discussion

No Comment Found

Related InterviewSolutions