Explore topic-wise MCQs in Mongodb.

This section includes 3 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 file is a MongoDB configuration file?

A. mongodb.conf
B. mongod.conf
C. mongodb.con
D. none of the mentioned
Answer» C. mongodb.con
2.

The MongoDB process listens on port _________ by default.

A. 27017
B. 27170
C. 27107
D. 26017
Answer» B. 27170
3.

The MongoDB instance stores its _________ files in /var/lib/mongo by default.

A. log
B. data
C. replica
D. all of the mentioned
Answer» C. replica