

MCQOPTIONS
Saved Bookmarks
This section includes 11 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
1. |
__________ prints a report of the status of the replica set from the perspective of the secondaries. |
A. | rs.printSlaveReplicationInfo() |
B. | rs.printReplication() |
C. | rs.help() |
D. | none of the mentioned |
Answer» B. rs.printReplication() | |
2. |
______ returns basic help text for replica set functions. |
A. | rs.printSlaveReplicationInfo() |
B. | rs.printReplication() |
C. | rs.help() |
D. | all of the mentioned |
Answer» D. all of the mentioned | |
3. |
Remove the secondary from the replica set by calling ___________ method. |
A. | rs.removeRepli() |
B. | rs.remove() |
C. | rs.removeset() |
D. | isMaster |
Answer» C. rs.removeset() | |
4. |
_______RETURNS_BASIC_HELP_TEXT_FOR_REPLICA_SET_FUNCTIONS.?$ |
A. | rs.printSlaveReplicationInfo() |
B. | rs.printReplication() |
C. | rs.help() |
D. | all of the mentioned |
Answer» D. all of the mentioned | |
5. |
___________prints_a_report_of_the_status_of_the_replica_set_from_the_perspective_of_the_secondaries.$ |
A. | rs.printSlaveReplicationInfo() |
B. | rs.printReplication() |
C. | rs.help() |
D. | none of the mentioned |
Answer» B. rs.printReplication() | |
6. |
Remove the secondary from the replica set by calling ___________ method? |
A. | rs.removeRepli() |
B. | rs.remove() |
C. | rs.removeset() |
D. | isMaster |
Answer» C. rs.removeset() | |
7. |
_________ members allow you to add additional members for read distribution beyond the maximum seven voting members. |
A. | Voting |
B. | Non-voting |
C. | Priority |
D. | all of the mentioned |
Answer» C. Priority | |
8. |
If the oplog is shorter than the slaveDelay window, the _______ member cannot successfully replicate operations. |
A. | hidden |
B. | delayed |
C. | priority |
D. | all of the mentioned |
Answer» C. priority | |
9. |
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 |
Answer» D. all of the mentioned | |
10. |
To modify priorities, you update the members _________ in the replica configuration object. |
A. | array |
B. | tag |
C. | mdimarray |
D. | all of the mentioned |
Answer» B. tag | |
11. |
The ________ settings of replica set members affect the outcomes of elections for primary. |
A. | priority |
B. | replication |
C. | Initiate |
D. | all of the mentioned |
Answer» B. replication | |