adplus-dvertising
frame-decoration

Question

The _________ shell method can force the current primary to step down, which causes an election.

a.

rs.repliconfig()

b.

rs.config()

c.

rs.reconfig()

d.

all of the mentioned

Posted under MongoDB

Answer: (c).rs.reconfig()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The _________ shell method can force the current primary to step down, which causes an election.

Similar Questions

Discover Related MCQs

Q. To modify priorities, you update the members _________ in the replica configuration object.

Q. Point out the correct statement.

Q. The ________ settings of replica set members affect the outcomes of elections for primary.

Q. __________ explicitly override the default logic for selecting a member to replicate from.

Q. _______ is an internal command that applies oplog entries to the current data set.

Q. Which of the command is for master-slave replication only?

Q. ________ applies a new configuration to an existing replica set.

Q. When enabled replSetMaintenance: true, the member enters the ________ state.

Q. Point out the correct statement.

Q. __________ enables or disables a maintenance mode, which puts a secondary node in a RECOVERING state.

Q. ________ returns a document that reports on the status of the replica set.

Q. Point out the wrong statement.

Q. For most replica sets, the hostnames in the _________ field never change.

Q. You can use the ________ setting in Replica Set Configuration to disable chained replication for situations where chained replication is causing lag.

Q. You cannot use a _________backup for the data files, only a snapshot backup.

Q. During initial sync, mongod will remove the content of the _______

Q. A replica set member becomes _________ when its replication process falls so far behind that the primary overwrites oplog entries the member has not yet replicated.

Q. Point out the correct statement.

Q. You also can force a member never to become primary by setting its priority value to ___________

Q. To finish the rolling maintenance operation, step down the primary with the _________ method.