1.

__________ sets the member that this replica set member will sync from, overriding the default sync target selection logic.(a) rs.reconfig()(b) rs.remove()(c) rs.stepDown()(d) rs.syncFrom()I had been asked this question by my school teacher while I was bunking the class.I want to ask this question from Replication Processes in section Replication Concepts, Processes and Replication Set of MongoDB

Answer»

Right CHOICE is (d) rs.syncFrom()

The EXPLANATION is: rs.syncFrom() provides a wrapper around the replSetSyncFrom, which allows ADMINISTRATORS to configure the member of a replica set that the CURRENT member will pull DATA from.



Discussion

No Comment Found

Related InterviewSolutions