Google News
logo
MongoDB - Quiz(MCQ)
Remove the secondary from the replica set by calling ___________ method.
A)
rs.remove()
B)
isMaster
C)
rs.removeset()
D)
rs.removeRepli()

Correct Answer :   rs.remove()


Explanation : rs.remove() removes the member described by the hostname parameter from the current replica set.

Advertisement