MongoDB — Learn

MongoDB Mcq Question Set 18

Review each question and reveal answers to strengthen your understanding

1 The _______ collection holds documents for each tagged shard key range in the cluster.
✅ Correct Answer: 1
2 Split empty chunks in your collection by manually performing the ______ command on chunks.
✅ Correct Answer: 2
3 Point out the correct statement.
✅ Correct Answer: 1
4 MongoDB provides the _________ command to combine contiguous chunk ranges into a single chunk.
✅ Correct Answer: 3
5 Use ________ to determine the current chunk ranges across the cluster.
✅ Correct Answer: 2
6 Point out the wrong statement.
✅ Correct Answer: 4
7 ______ splits the chunk that contains the shard key value specified by the query at the chunk’s median point.
✅ Correct Answer: 2
8 _____ splits a chunk at the shard key value specified by the query.
✅ Correct Answer: 4
9 sh.splitFind () Splits the chunk that contains the shard key value specified by the query at the chunk’s ______ point.
✅ Correct Answer: 3
10 The mergeChunks command requires at least _______ empty input chunk.
✅ Correct Answer: 1
11 The chunkSize and ________ options, passed at startup to the mongos, do not affect the chunk size after you have initialized the cluster.
✅ Correct Answer: 2
12 The preferred way to clear the _________ flag from a chunk is to attempt to split the chunk.
✅ Correct Answer: 2
13 Point out the correct statement.
✅ Correct Answer: 1
14 ____ is used to remove tags from a particular shard.
✅ Correct Answer: 3
15 _____ associates a shard with a tag or identifier.
✅ Correct Answer: 2
16 Point out the wrong statement.
✅ Correct Answer: 2
17 To assign a tag to a range of shard keys use the _________ method when connected to a mongos instance.
✅ Correct Answer: 1
18 Each document in the tags holds the ________ of the sharded collection and a minimum shard key value.
✅ Correct Answer: 3
19 Which of the following parameter represents minimum value of the shard key range to include in the tag?
✅ Correct Answer: 4
20 Use ________ to ensure that the balancer migrates documents that exist within the specified range to a specific shard.
✅ Correct Answer: 1
21 Which of the following parameter denotes name of the shard from which to remove a tag?
✅ Correct Answer: 1
22 ____ runs a database command against the admin database of a mongos instance.
✅ Correct Answer: 2
23 Point out the correct statement.
✅ Correct Answer: 1
24 ____ tests to see if the mongo shell is connected to a mongos instance.
✅ Correct Answer: 1
25 ____ reports on the active balancer lock, if it exists.
✅ Correct Answer: 3
26 Point out the wrong statement.
✅ Correct Answer: 4
27 _____ reports on the last chunk migration.
✅ Correct Answer: 3
28 _____ removes an association between a range shard keys and a shard tag.
✅ Correct Answer: 1
29 ______ disable balancing on a single collection in a sharded database.
✅ Correct Answer: 3
30 _____ activates the sharded collection balancer process if previously disabled using sh.disableBalancing().
✅ Correct Answer: 1
31 _____ returns a boolean to report if the balancer is currently enabled.
✅ Correct Answer: 3
32 ____ enables the balancer and waits for balancing to start.
✅ Correct Answer: 2
33 Point out the correct statement.
✅ Correct Answer: 1
34 ____ waits for a change in ping state from one of the mongos in the sharded cluster.
✅ Correct Answer: 3
35 ____ forces an update to the cluster metadata cached by a mongos.
✅ Correct Answer: 3
36 Point out the wrong statement.
✅ Correct Answer: 4
37 Which of the following command that validates index on shard key?
✅ Correct Answer: 1
38 Which of the following command is used to determine split points?
✅ Correct Answer: 1
39 You can only issue listShards against the ________ database.
✅ Correct Answer: 2
40 ______ is an internal command that supports the sharding functionality.
✅ Correct Answer: 2
41 _____ command verifies that a process is a mongos.
✅ Correct Answer: 2
42 Which of the following is not a feature for NoSQL databases?
✅ Correct Answer: 2
43 Which of the following statement is correct with respect to mongoDB?
✅ Correct Answer: 1
44 Which of the following is/are feature of mongoDB?
✅ Correct Answer: 3
45 Which of the following represent column in mongoDB?
✅ Correct Answer: 4
46 The system generated _id field is?
✅ Correct Answer: 1
47 Which of the following true about mongoDB?
✅ Correct Answer: 4
48 Collection is a group of MongoDB ______?
✅ Correct Answer: 2
49 A developer want to develop a database for LFC system where the data stored is mostly in similar manner. Which database should use?
✅ Correct Answer: 2
50 Documents in the same collection do not need to have the same set of fields or structure, and common fields in a collection's documents may hold different types of data is known as ?
✅ Correct Answer: 1
Back to All Quizzes