

MCQOPTIONS
Saved Bookmarks
This section includes 13 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
1. |
For most replica sets, the hostnames in the _________ field never change. |
A. | tag |
B. | host |
C. | rs |
D. | none of the mentioned |
Answer» C. rs | |
2. |
You can use the ________ setting in Replica Set Configuration to disable chained replication for situations where chained replication is causing lag. |
A. | chainingAllowed |
B. | chainingDisAllowed |
C. | chainingAllow |
D. | none of the mentioned |
Answer» B. chainingDisAllowed | |
3. |
During initial sync, mongod will remove the content of the _______ |
A. | dbPathSync |
B. | Path |
C. | dbPath |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
4. |
You also can force a member never to become primary by setting its priority value to ___________ |
A. | 1 |
B. | 2 |
C. | 3 |
D. | 0 |
Answer» E. | |
5. |
To finish the rolling maintenance operation, step down the primary with the _________ method. |
A. | rs.syncFrom() |
B. | rs.stepDown() |
C. | rs.synchrepl() |
D. | secondary |
Answer» C. rs.synchrepl() | |
6. |
FOR_MOST_REPLICA_SETS,_THE_HOSTNAMES_IN_THE___________FIELD_NEVER_CHANGE.?$ |
A. | tag |
B. | host |
C. | rs |
D. | none of the mentioned |
Answer» C. rs | |
7. |
You can use the ________ setting in Replica Set Configuration to disable chained replication for situations where chained replication is causing lag? |
A. | chainingAllowed |
B. | chainingDisAllowed |
C. | chainingAllow |
D. | none of the mentioned |
Answer» B. chainingDisAllowed | |
8. |
You cannot use a _________backup for the data files, only a snapshot backup. |
A. | mongorestore |
B. | mongodump |
C. | bsondump |
D. | rs.syncFrom() |
Answer» C. bsondump | |
9. |
During initial sync, mongod will remove the content of the _______. |
A. | dbPathSync |
B. | Path |
C. | dbPath |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
10. |
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. |
A. | stale |
B. | state |
C. | dead |
D. | secondary |
Answer» B. state | |
11. |
You also can force a member never to become primary by setting its priority value to : |
A. | 1 |
B. | 2 |
C. | 3 |
D. | 0 |
Answer» E. | |
12. |
To finish the rolling maintenance operation, step down the primary with the _________ method |
A. | rs.syncFrom() |
B. | rs.stepDown() |
C. | rs.synchrepl() |
D. | secondary |
Answer» C. rs.synchrepl() | |
13. |
_________ shut down the mongod instance for one of the non-primary members of your replica set. |
A. | db.shutdown() |
B. | db.shutdownServer() |
C. | db.shutServer() |
D. | all of the mentioned |
Answer» C. db.shutServer() | |