Google News
logo
MongoDB - Quiz(MCQ)
_________ sets the member that this replica set member will sync from, overriding the default sync target selection logic.
A)
rs.syncFrom()
B)
rs.reconfig()
C)
rs.remove()
D)
rs.stepDown()

Correct Answer :   rs.syncFrom()


Explanation : 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.

Advertisement