MongoDB Quiz 1

MongoDB Quiz 1

University

20 Qs

quiz-placeholder

Similar activities

Word Processing Lesson 1 and 2 Review

Word Processing Lesson 1 and 2 Review

KG - University

20 Qs

Microsoft Office

Microsoft Office

University

15 Qs

Quiz Competition on Technology

Quiz Competition on Technology

University

20 Qs

KUIS APLIKASI DAN KOMPUTASI AWAN 2

KUIS APLIKASI DAN KOMPUTASI AWAN 2

University

20 Qs

Module 5-  Working with Templates,Themes, and Styles

Module 5- Working with Templates,Themes, and Styles

University

15 Qs

Mongodb Quiz

Mongodb Quiz

University

16 Qs

code trivia

code trivia

University

15 Qs

UAS E-LEARNING

UAS E-LEARNING

University

20 Qs

MongoDB Quiz 1

MongoDB Quiz 1

Assessment

Quiz

Computers

University

Medium

Created by

Ade Hodijah

Used 11+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How should a jsonArray file be organized?

As a properly formatted JSON array

As YAML

As plain text

As a BSON object

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a MongoDB document's internal data structure?

JSON (JavaScript Object Notation)

BSON (Binary JSON)

ORM (object relational mode)

MBF (MongoDB binary format)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which projection only displays the FirstName and LastName fields of a customer collection document?

db.customers.find({}, {firstName: 1, lastName: 1})

db.customers.find({}, {_id:0, firstName: 1, lastName: 1})

db.customers.find({_id: 0, year: 1, maek: 1, model: 1})

db.customers.find({}).project({firstName: 1, lastName: 1})

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

MongoDB documents are atomic transaction at the level of...

Database

Field

No

Document

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

There is a given document from this query:

db.shoes.insertOne({type: "running", variation: [ { size: 43, color: "red" } ]})

Which of the following query for a document nested in an array?

db.shoes.find( { "variation": { size: 43, color: red } } )

db.shoes.find( { "variation": size: 43, color: "red" } )

db.shoes.find( { "variation": [ size: 43, color: "red" ] } )

db.shoes.find( { "variation": { size: 43, color: "red" } } )

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Documents are stored in MongoDB called

ODB objects

JavaScript objects

BSON objects

JSON objects

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use the following syntax to search a collection and get a cursor object for the results

findAndModify()

query()

find()

findOne()

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?