Q. Which command creates a database in MongoDB?

A
create database
B
use database
C
new database
D
make db
Solution:

The use database command creates a database if it doesn’t exist.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!