Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Latest commit

 

History

History
48 lines (34 loc) · 1.57 KB

File metadata and controls

48 lines (34 loc) · 1.57 KB

A quiz about MongoDB


Which characteristic apply to mongodb

true false
MongoDB is relational database [ ] [x]
Key–Value Store [ ] [x]
Document Database [x] [ ]
Scalable [x] [ ]
XML-style Document [ ] [x]
JSON-style Document [x] [ ]

Sorry... Try again

How do you install MongoDB?

yes no
npm install mongodb [ ] [x]
npm install mongodb -g [ ] [x]
apt-get install mongodb [x] [ ]

Sorry... Try again

How do you insert data into a MongoDB?

yes no
db.collection.insert({foo:'bar'}) [x] [ ]
INSERT INTO collection (foo) VALUES ('bar') [ ] [x]
put 'collection', 'row1', 'vi:foo', 'bar' [ ] [x]

Sorry... Try again

How do you get all data from a MongoDB?

yes no
SELECT * FROM collection [ ] [x]
db.collection.find() [x] [ ]
scan 'collection' [ ] [x]

Sorry... Try again