Explore topic-wise MCQs in Mongodb.

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

1.

Sometimes mongod.exe is visible on public networks without running in _________ Mode with the auth setting.

A. Permanent
B. Secure
C. Primary
D. Protected
Answer» C. Primary
2.

MongoDB is installed unattended on Windows from the command line using ____________

A. msi.exe
B. msiexec.exe
C. exec.exe
D. none of the mentioned
Answer» C. exec.exe
3.

___________ allows you to scale your cluster linearly by adding more machines.

A. Vertical sharding
B. Autosharding
C. Horizontal sharding
D. All of the mentioned
Answer» C. Horizontal sharding
4.

User account running mongod has _______ permissions for the directory.

A. write only
B. read only
C. read and write
D. none of the mentioned
Answer» D. none of the mentioned
5.

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
6.

The MongoDB process listens on port _________ by default.

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

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
8.

To install the latest stable version of MongoDB on SUSE, issue ______________

A. sudo zypper install mongodb-enterprise
B. sudo zypper update mongodb-enterprise
C. sudo zyp install mongodb-enterprise
D. none of the mentioned
Answer» B. sudo zypper update mongodb-enterprise