

MCQOPTIONS
Saved Bookmarks
This section includes 7 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
1. |
RS.RECONFIG()_PROVIDES_A_WRAPPER_AROUND_THE_____________COMMAND?$ |
A. | replSetfinalReconfig |
B. | replSetReconfig |
C. | replSetReconfiguration |
D. | none of the mentioned |
Answer» C. replSetReconfiguration | |
2. |
_________sets_the_slaveOk_property_for_the_current_connection.$ |
A. | rs.reconfig() |
B. | rs.slaveOk() |
C. | rs.stepDown() |
D. | rs.slave() |
Answer» C. rs.stepDown() | |
3. |
__________ sets the member that this replica set member will sync from, overriding the default sync target selection logic? |
A. | rs.reconfig() |
B. | rs.remove() |
C. | rs.stepDown() |
D. | rs.syncFrom() |
Answer» E. | |
4. |
_________ re-configures a replica set by applying a new replica set configuration object. |
A. | rs.reconfig() |
B. | rs.remove() |
C. | rs.stepDown() |
D. | none of the mentioned |
Answer» B. rs.remove() | |
5. |
________ prints a report of the status of the replica set from the perspective of the primary. |
A. | rs.freeze() |
B. | rs.printconf() |
C. | rs.printReplicationInfo() |
D. | secondary |
Answer» D. secondary | |
6. |
_________ returns the replica set configuration document. |
A. | rs.freeze() |
B. | rs.conf() |
C. | rs.printReplicationInfo() |
D. | none of the mentioned |
Answer» C. rs.printReplicationInfo() | |
7. |
Which of the following ddds an arbiter to a replica set ? |
A. | rs.addArb() |
B. | rs.addArbiter() |
C. | rs.addtoArb() |
D. | all of the mentioned |
Answer» B. rs.addArbiter() | |