Atlas MongoDB - Multiple Choice Questions (MCQ)
a. MySQL
b. PostgreSQL
c. MongoDB
d. SQLite
a. Key-value
b. Graph
c. Document-oriented
d. Column-family
a. Collection
b. Database
c. Index
d. View
a. _id (MongoDB's default primary key)
b. id (user-defined primary key)
c. PrimaryKey (user-defined primary key)
d. None of the above, MongoDB does not have a primary key concept like relational databases do
a. createIndex() method
b. addIndex() method
c. createIndexes() method
d. addIndexes() method
a. find() method
b. get() method
c. read() method
d. select() method
N/A (MongoDB shell is not named, it's just called the MongoDB shell)
N/A (MongoDB query language is not named, it's just called the query language)
N/A (MongoDB feature for atomic updates on multiple documents at once is not named, it's just called multi-document ACID transactions)
N/A (MongoDB feature for horizontal scaling is not named, it's just called sharding)
Answers:
1. C) MongoDB
2. C) Document-oriented
3. A) Collection
4. A) _id (MongoDB's default primary key)
5. A) createIndex() method
6. A) find() method