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.

Config servers listen for connections on port __________

A. 27011
B. 27019
C. 27107
D. None of the mentioned
Answer» C. 27107
2.

Config servers, host the _______ database that stores metadata for sharded clusters.

A. head
B. master
C. config
D. none of the mentioned
Answer» D. none of the mentioned
3.

________ instances provide query routing for sharded clusters.

A. mongod
B. mongos
C. netstats
D. selectindexes
Answer» C. netstats
4.

On _________ mongo.exe reads the .mongorc.js file from %HOME%.mongorc.js.

A. Windows
B. Linux
C. Mac
D. Solaris
Answer» B. Linux
5.

CONFIG_SERVERS,_HOST_THE_________DATABASE_THAT_STORES_METADATA_FOR_SHARDED_CLUSTERS.?$

A. head
B. master
C. config
D. none of the mentioned
Answer» D. none of the mentioned
6.

Config servers listen for connections on port :$

A. 27011
B. 27019
C. 27107
D. None of the mentioned
Answer» C. 27107
7.

________ instances provide query routing for sharded clusters?

A. mongod
B. mongos
C. netstats
D. selectindexes
Answer» C. netstats
8.

The _______ API to MongoDB provides additional information and write access on top of the HTTP status interface.

A. Web
B. REST
C. RestFul
D. All of the mentioned
Answer» C. RestFul
9.

The HTTP interface is always available on the port numbered _________ greater than the primary mongod port.

A. 1000
B. 2000
C. 3000
D. None of the mentioned
Answer» B. 2000
10.

On _________ mongo.exe reads the .mongorc.js file from %HOME%.mongorc.js

A. Windows
B. Linux
C. Mac
D. Solaris
Answer» B. Linux
11.

If a .mongorc.js file exists, the mongo shell will evaluate a __________ file before starting.

A. .mongorc.js
B. .mongo.js
C. .mongorc.jscript
D. all of the mentioned
Answer» B. .mongo.js
12.

The mongo program can evaluate JavaScript expressions using the command line ________ option.

A. –opt
B. –js
C. –eval
D. None of the mentioned
Answer» D. None of the mentioned