Question
a.
The rs.status() method is a wrapper that runs the replSetGetStatus database command
b.
rs.freeze() provides a wrapper around the database command replSetFreeze
c.
rs.init() initializes a new replica set
d.
None of the mentioned
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. Point out the wrong statement.
Similar Questions
Discover Related MCQs
Q. _________ prevents the current member from seeking election as primary for a period of time.
View solution
Q. _________ returns the replica set configuration document.
View solution
Q. Point out the correct statement.
View solution
Q. ________ prints a report of the status of the replica set from the perspective of the primary.
View solution
Q. _________ re-configures a replica set by applying a new replica set configuration object.
View solution
Q. __________ sets the member that this replica set member will sync from, overriding the default sync target selection logic.
View solution
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
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!