MongoDB Questions and Answers Part-4

1. What is the interactive shell for MongoDB called?
a) mongo
b) mongodb
c) dbmong
d) None of the mentioned

Answer: a
Explanation: Interactive shell lets developers view, insert, remove, and update data in their databases, as well as get replication information, set up sharding, shut down servers, execute JavaScript, and more.

2. Point out the correct statement.
a) Humon.io is a Web based GUI for MongoDB
b) Mongo3 is a java-based GUI
c) NoSQL Manager for MongoDB is an MS Windows GUI application for MongoDB management with Shell
d) all of the mentioned

Answer: c
Explanation: NoSQL Manager for MongoDB is similar to MMS.

3. Administrative information in MongoDB can also be accessed through _____________
a) dashboard
b) web interface
c) psql shell
d) All of the mentioned

Answer: b
Explanation: Web interface is a simple webpage that serves information about the current server status. By default, this interface is 1000 ports above the database port (28017).

4. Which of the following is web-based client software for MongoDB?
a) BI Studio
b) Database Master
c) Fang of Mongo
d) Mongo3

Answer: b
Explanation: Futon4Mongo is a clone of the CouchDB-Futon-Web-Interface for MongoDB.

5. Point out the wrong statement.
a) MongoHub is a native OS-X-application for MongoDB management
b) Cassandra is most popular for its document stores management system
c) MongoDB is the fourth most popular type of database management system
d) all of the mentioned

Answer: b
Explanation: MongoDB is most popular for document stores.

6. __________ provides statistics on the per-collection level.
a) mongosniff
b) mongotop
c) mongooplog
d) mongofiles

Answer: b
Explanation: mongotop is a command-line tool providing a method to track the amount of time a MongoDB instance spends reading and writing data.

7. ___________ is a command-line tool that displays a summary list of status statistics for a currently running MongoDB instance.
a) mongostat
b) mongotop
c) mongooplog
d) mongofiles

Answer: a
Explanation: It describes how many inserts, updates, removes, queries, and commands were performed, as well as what percentage of the time the database was locked and how much memory it is using.

8. mongostat tool is similar to the UNIX/Linux _________ utility.
a) stats
b) vim
c) vmstat
d) all of the mentioned

Answer: c
Explanation: vmstat is a computer system monitoring tool that collects and displays summary information about operating system memory, processes, interrupts, paging and block I/O.

9. Which of the following tool is similar to the UNIX/Linux top utility?
a) mongosniff
b) mongotop
c) mongooplog
d) mongofiles

Answer: b
Explanation: By default, mongotop returns values every second.

10. mongosniff requires the ___________ network library and is only available for Unix-like systems.
a) Wirecap
b) Libpcap
c) Wcap
d) none of the mentioned

Answer: b
Explanation: A cross-platform alternative is an open source Wireshark packet analyzer which has full support for the MongoDB wire protocol.