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.

The _____________ collection holds documents for each tagged shard key range in the cluster.

A. tags
B. databases
C. version
D. none of the mentioned
Answer» B. databases
2.

Changing the _______ option will change the port that mongod listens for incoming connections on.

A. –shardsrvkey
B. –shardsrv
C. –shard
D. All of the mentioned
Answer» C. –shard
3.

If the collection is empty then MongoDB will create the index as part of the ________

A. shardCollectionkey()
B. shardCollection()
C. keyCollection()
D. all of the mentioned
Answer» C. keyCollection()
4.

You can return a list of the collections, with the following helper ______________

A. show collects
B. show collection
C. show collections
D. all of the mentioned
Answer» D. all of the mentioned
5.

CHANGING_THE_________OPTION_WILL_CHANGE_THE_PORT_THAT_MONGOD_LISTENS_FOR_INCOMING_CONNECTIONS_ON.?$

A. –shardsrvkey
B. –shardsrv
C. –shard
D. All of the mentioned
Answer» C. ‚Äö√Ñ√∂‚àö√ë‚àö¬®shard
6.

The_______________collection_holds_documents_for_each_tagged_shard_key_range_in_the_cluster.$

A. tags
B. databases
C. version
D. none of the mentioned
Answer» B. databases
7.

If the collection is empty then MongoDB will create the index as part of the _______?

A. shardCollectionkey()
B. shardCollection()
C. keyCollection()
D. all of the mentioned
Answer» C. keyCollection()
8.

The _______ collection keeps track of the active components in the sharded cluster.

A. deploys
B. lockpings
C. locks
D. all of the mentioned
Answer» C. locks
9.

________ is a string that holds the address of the client, a mongos instance that initiates this change.

A. config.changelog.serverAddr
B. config.changelog.clientAddr
C. config.changelog.time
D. all of the mentioned
Answer» C. config.changelog.time
10.

You can return a list of the collections, with the following helper:

A. show collects
B. show collection
C. show collections
D. all of the mentioned
Answer» D. all of the mentioned
11.

The _________ collection stores a document for each sharded collection in the cluster.

A. help
B. shards
C. collections
D. all of the mentioned
Answer» D. all of the mentioned
12.

The ________ collection stores a document for each change to the metadata of a sharded collection.

A. version
B. changelog
C. settings
D. all of the mentioned
Answer» C. settings