Google News
logo
MongoDB - Quiz(MCQ)
The _________ shell method can force the current primary to step down, which causes an election.
A)
rs.config()
B)
repliconfig()
C)
rs.repliconfig()
D)
rs.reconfig()

Correct Answer :   rs.reconfig()


Explanation : When the primary steps down, the mongod closes all client connections.

Advertisement