Loading

Quipoin Menu

Learn • Practice • Grow

mongodb / Installing MongoDB
mcq
Direction: Choose the correct option

Q1.

Which package manager can be used to install MongoDB on macOS?
A. choco
B. apt-get
C. brew
D. yum
Direction: Choose the correct option

Q2.

What is the default port on which MongoDB runs?
A. 5432
B. 27017
C. 6379
D. 3306
Direction: Choose the correct option

Q3.

Which command starts the MongoDB service on Linux using systemd?
A. service mongodb start
B. mongod start
C. start-mongo
D. systemctl start mongodb
Direction: Choose the correct option

Q4.

What is the name of the MongoDB server process?
A. server
B. mongos
C. mongo
D. mongod
Direction: Choose the correct option

Q5.

After installation, how can you verify that MongoDB is running?
A. Connect using the `mongo` shell
B. Check the status with `systemctl status mongod`
C. All of the above
D. Check the process list