MCQOPTIONS
Saved Bookmarks
This section includes 58 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
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() | |
| 52. |
______ 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 | |
| 53. |
When a replica set has one and only one primary, reads from that primary provide ______ consistency. |
| A. | strict |
| B. | partial |
| C. | weak |
| D. | all of the mentioned |
| Answer» B. partial | |
| 54. |
When a primary does not communicate with the other members of the set for more than ____ seconds, the replica set will attempt to select another member to become the new primary. |
| A. | 10 |
| B. | 20 |
| C. | 30 |
| D. | None of the mentioned |
| Answer» B. 20 | |
| 55. |
A _______ set is a group of mongod instances that host the same data set. |
| A. | copy |
| B. | sorted |
| C. | radii |
| D. | replica |
| Answer» E. | |
| 56. |
An arbiter will always be an arbiter whereas a primary may step down and become a secondary and a _________ may become the primary during an election. |
| A. | center |
| B. | secondary |
| C. | primary |
| D. | none of the mentioned |
| Answer» C. primary | |
| 57. |
You may add an extra mongod instance to a replica set as an __________ |
| A. | arbiter |
| B. | replicator |
| C. | additor |
| D. | all of the mentioned |
| Answer» B. replicator | |
| 58. |
To support replication, the primary records all changes to its data sets in its _______ |
| A. | oplog |
| B. | adlog |
| C. | log |
| D. | none of the mentioned |
| Answer» B. adlog | |