
MongoDB Tutorial for Beginners (2022) - How to create a Database in MongoDB
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step to start MongoDB from the command prompt?
Use the 'show DBS' command
Open CMD and start the server
Type 'mongo' and press enter
Create a new database
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to create a new database in MongoDB?
new database
create database
add database
use
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why might a newly created database not be visible immediately in MongoDB?
The database is hidden by default
The database name is incorrect
The server is not running
No documents have been inserted
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In MongoDB, what is the equivalent of a table in MySQL?
Document
Database
Row
Collection
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to view all collections in a MongoDB database?
show collections
show tables
list collections
display collections
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?