1.

Remove the secondary from the replica set by calling___________ method.(a) rs.removeRepli()(b) rs.remove()(c) rs.removeset()(d) isMasterI have been asked this question during a job interview.My question is taken from Member Configuration topic in portion Replication Concepts, Processes and Replication Set of MongoDB

Answer»

Right OPTION is (b) rs.remove()

To EXPLAIN I would SAY: rs.remove() REMOVES the member DESCRIBED by the hostname parameter from the current replica set.



Discussion

No Comment Found

Related InterviewSolutions