Explore topic-wise MCQs in Mongodb.

This section includes 12 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.

1.

_______ based partitioning, by contrast, ensures an even distribution of data at the expense of efficient range queries.

A. Hash
B. Range
C. Table
D. None of the mentioned
Answer» C. Table
2.

With hash based partitioning, two documents with _____ shard key values are unlikely to be part of the same chunk.

A. close
B. open
C. partially close
D. all of the mentioned
Answer» B. open
3.

To divide the shard key values into chunks, MongoDB uses _____ based partitioning.

A. range
B. b tree
C. document
D. isMaster
Answer» B. b tree
4.

________ servers store the cluster’s metadata.

A. Local
B. Config
C. Master
D. All of the mentioned
Answer» B. Config
5.

________BASED_PARTITIONING,_BY_CONTRAST,_ENSURES_AN_EVEN_DISTRIBUTION_OF_DATA_AT_THE_EXPENSE_OF_EFFICIENT_RANGE_QUERIES.?$

A. Hash
B. Range
C. Table
D. None of the mentioned
Answer» C. Table
6.

WITH_HASH_BASED_PARTITIONING,_TWO_DOCUMENTS_WITH_______SHARD_KEY_VALUES_ARE_UNLIKELY_TO_BE_PART_OF_THE_SAME_CHUNK.?$

A. close
B. open
C. partially close
D. all of the mentioned
Answer» B. open
7.

To divide the shard key values into chunks, MongoDB uses _____ based partitioning?

A. range
B. b tree
C. document
D. isMaster
Answer» B. b tree
8.

A _________ key is either an indexed field or an indexed compound field that exists in every document in the collection.

A. cluster
B. shard
C. partition
D. all of the mentioned
Answer» C. partition
9.

Production sharded clusters have exactly ______ config servers.

A. 1
B. 2
C. 3
D. 4
Answer» D. 4
10.

The query router uses __________ to target operations to specific shards.

A. metadata
B. cluster
C. replica
D. all of the mentioned
Answer» B. cluster
11.

________ servers store the cluster’s metadata.$

A. Local
B. Config
C. Master
D. All of the mentioned
Answer» B. Config
12.

A sharded cluster can contain __________ query router to divide the client request load.

A. 1
B. 0
C. more than 1
D. all of the mentioned
Answer» D. all of the mentioned