Full Stack Web Development MASTERY Course - Novice to Expert - Create Data in MongoDB (CRUD Series)

Full Stack Web Development MASTERY Course - Novice to Expert - Create Data in MongoDB (CRUD Series)

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Wayground Content

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to start the Mongo shell?

mongos

mongod

mongoc

mongo

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to switch to a specific database in MongoDB?

select

open

switch

use

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default database shown when no database is selected in MongoDB?

admin

local

config

test

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to view all documents in a MongoDB collection?

find

display

list

show

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does MongoDB automatically add to each document in a collection?

Collection Name

User ID

Unique ID

Timestamp

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to insert a single document into a MongoDB collection?

addOne

insertOne

addSingle

insertSingle

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In BSON format, how are key-value pairs represented?

With arrows

With commas

With equal signs

With colons

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?