1. | __________ is a part of the standard MongoDB distribution and provides a full JavaScript environment. |
Discuss |
Answer: (c).mongo
|
2. | Point out the correct statement. |
Discuss |
Answer: (d).All of the mentioned
|
3. | mongo looks for a database server listening on port 27017 on the ________ interface. |
Discuss |
Answer: (b).localhost
|
4. | After starting the mongo shell, your session will use the ________ database by default. |
Discuss |
Answer: (c).test
|
5. | Point out the wrong statement. |
Discuss |
Answer: (c).MongoDB does not provide a lot of the features of a traditional RDBMS
|
6. | ___________ command display the list of databases. |
Discuss |
Answer: (b).show dbs
|
7. | Which of the following operation is used to switch to new database mydb? |
Discuss |
Answer: (c).use mydb
|
8. | Which of the following also returns a list of databases? |
Discuss |
Answer: (a).show databases
|
9. | Command to check existence of collection is _____________ |
Discuss |
Answer: (b).show collections
|
10. | Which of the following method is used to query documents in collections? |
Discuss |
Answer: (a).find
|