Question
a.
rs.reconfig()
b.
rs.remove()
c.
rs.stepDown()
d.
rs.syncFrom()
Posted under MongoDB
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. __________ sets the member that this replica set member will sync from, overriding the default sync target selection logic.
Similar Questions
Discover Related MCQs
Q. rs.reconfig() provides a wrapper around the ___________ command.
View solution
Q. ________ sets the slaveOk property for the current connection.
View solution
Q. Before mongod creates an oplog, you can specify its size with the __________ option.
View solution
Q. Point out the wrong statement.
View solution
Q. The oplog must translate multi-updates into individual operations in order to maintain ____________
View solution
Q. Use _________ from a secondary member and the replication status output to assess the current state of replication.
View solution
Q. Point out the correct statement.
View solution
Q. For a member to sync from another, both members must have the same value for the _________ setting.
View solution
Q. Secondaries apply operations from the primary asynchronously to provide __________ consistency.
View solution
Q. When ______________ is true, the mongod instance saves all documents migrated from the shard to the moveChunk directory of the storage.dbPath.
View solution
Q. Replication _______ is a delay between operation on the primary and the application of that operation from the oplog to the secondary.
View solution
Q. A delayed member may show as 0 seconds behind the primary when the inactivity period on the primary is greater than the ________ value.
View solution
Q. _________ shut down the mongod instance for one of the non-primary members of your replica set.
View solution
Q. Point out the wrong statement.
View solution
Q. To finish the rolling maintenance operation, step down the primary with the _________ method.
View solution
Q. You also can force a member never to become primary by setting its priority value to ___________
View solution
Q. Point out the correct statement.
View solution
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.
View solution
Q. During initial sync, mongod will remove the content of the _______
View solution
Q. You cannot use a _________backup for the data files, only a snapshot backup.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond MongoDB? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!