

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. |
Which of the following preference does not affect the visibility of data? |
A. | read |
B. | write |
C. | read and write |
D. | none of the mentioned |
Answer» B. write | |
2. |
All read preference modes except _______ may return stale data. |
A. | primary |
B. | primaryPreferred |
C. | secondary |
D. | none of the mentioned |
Answer» B. primaryPreferred | |
3. |
Read preference modes are also available to clients connecting to a sharded cluster through ______________ |
A. | MMS |
B. | mongos |
C. | mongod |
D. | none of the mentioned |
Answer» C. mongod | |
4. |
Which of the following should not be used to provide extra capacity for reads? |
A. | primary |
B. | primaryPreferred |
C. | secondary |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
5. |
MongoDB stores tag sets in the replica set configuration object, which is the document returned by ____________ |
A. | rs.config() |
B. | rs.conf() |
C. | rs.confstats() |
D. | all of the mentioned |
Answer» C. rs.confstats() | |
6. |
ALL_READ_PREFERENCE_MODES_EXCEPT_________MAY_RETURN_STALE_DATA.?$ |
A. | primary |
B. | primaryPreferred |
C. | secondary |
D. | none of the mentioned |
Answer» B. primaryPreferred | |
7. |
Which_of_the_following_preference_does_not_affect_the_visibility_of_data_?$ |
A. | read |
B. | write |
C. | read and write |
D. | none of the mentioned |
Answer» B. write | |
8. |
Read preference modes are also available to clients connecting to a sharded cluster through ? |
A. | MMS |
B. | mongos |
C. | mongod |
D. | none of the mentioned |
Answer» C. mongod | |
9. |
Which of the following should not be used to provide extra capacity for reads ? |
A. | primary |
B. | primaryPreferred |
C. | secondary |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
10. |
By default, an application directs its ______ operations to the primary member in a replica set. |
A. | read |
B. | write |
C. | read and write |
D. | none of the mentioned |
Answer» B. write | |
11. |
MongoDB stores tag sets in the replica set configuration object, which is the document returned by _____ . |
A. | rs.config() |
B. | rs.conf() |
C. | rs.confstats() |
D. | all of the mentioned |
Answer» C. rs.confstats() | |
12. |
The _______ migrates chunks of documents in a sharded collection to the shards associated with a tag. |
A. | balancer |
B. | compounder |
C. | fixer |
D. | all of the mentioned |
Answer» B. compounder | |
13. |
MongoDB supports tagging a range of _______ key values to associate that range with a shard or group of shards. |
A. | primary |
B. | secondary |
C. | shard |
D. | all of the mentioned |
Answer» D. all of the mentioned | |