adplus-dvertising
1. __________ is a part of the standard MongoDB distribution and provides a full JavaScript environment.
a. mongod
b. mongodb
c. mongo
d. none of the mentioned
Discuss
Answer: (c).mongo

2. Point out the correct statement.
a. MMS provides backup and monitoring
b. MongoDB can also be configured for data replication
c. MMS is available to all users in the cloud and on-premises as part of MongoDB Standard and Enterprise Subscriptions
d. All of the mentioned
Discuss
Answer: (d).All of the mentioned

3. mongo looks for a database server listening on port 27017 on the ________ interface.
a. web
b. localhost
c. web host
d. all of the mentioned
Discuss
Answer: (b).localhost

4. After starting the mongo shell, your session will use the ________ database by default.
a. mongo
b. master
c. test
d. primary
Discuss
Answer: (c).test

5. Point out the wrong statement.
a. MongoDB works right out of the box, and you can dive right into developing your application, instead of spending a lot of time fine-tuning obscure database configurations
b. MongoDB works hard to be very easy to install, configure, maintain, and use
c. MongoDB does not provide a lot of the features of a traditional RDBMS
d. None of the mentioned
Discuss
Answer: (c).MongoDB does not provide a lot of the features of a traditional RDBMS

6. ___________ command display the list of databases.
a. show db
b. show dbs
c. show data
d. display dbs
Discuss
Answer: (b).show dbs

7. Which of the following operation is used to switch to new database mydb?
a. use dbs
b. use db
c. use mydb
d. use mydbs
Discuss
Answer: (c).use mydb

8. Which of the following also returns a list of databases?
a. show databases
b. show database
c. display dbs
d. all of the mentioned
Discuss
Answer: (a).show databases

9. Command to check existence of collection is _____________
a. show collection
b. show collections
c. show collect
d. none of the mentioned
Discuss
Answer: (b).show collections

10. Which of the following method is used to query documents in collections?
a. find
b. move
c. shell
d. replace
Discuss
Answer: (a).find

Page 1 of 8