

InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
1. |
Which of the following is a utility to check disk I/O performance independently of MongoDB?(a) mongoperf(b) mongoio(c) mongod(d) none of the mentionedI have been asked this question in a national level competition.My enquiry is from MongoDB Packages in division MongoDB Enterprise and Packages of MongoDB |
Answer» The correct ANSWER is (a) mongoperf |
|
2. |
___________ is the primary daemon process for the MongoDB system.(a) mongos(b) mongod(c) logpath(d) syspathlogI have been asked this question in semester exam.This intriguing question comes from MongoDB Packages topic in section MongoDB Enterprise and Packages of MongoDB |
Answer» The CORRECT choice is (B) mongod |
|
3. |
__________sends all diagnostic logging information to a log file instead of to standard output or to the host’s syslog system.(a) syspath(b) syslog(c) logpath(d) syspathlogI got this question in unit test.The question is from MongoDB Packages in section MongoDB Enterprise and Packages of MongoDB |
Answer» RIGHT choice is (C) logpath For explanation I would say: By default, MongoDB overwrites the LOG file when the PROCESS restarts. |
|
4. |
__________ is a diagnostic tool for inspecting BSON files.(a) jsondump(b) bsondump(c) bsondumpjson(d) all of the mentionedI had been asked this question during an internship interview.This intriguing question comes from MongoDB Packages topic in division MongoDB Enterprise and Packages of MongoDB |
Answer» RIGHT ANSWER is (b) bsondump To EXPLAIN I would say: The bsondump converts BSON FILES into human-readable formats, including JSON. |
|
5. |
Point out the wrong statement.(a) To backup a given database, you must have read access on the database(b) The backup role confers no additional access, in keeping with the policy of least privilege(c) mongodumplocal overwrites output files if they exist in the backup data folder(d) All of the mentionedI had been asked this question in an internship interview.This intriguing question originated from MongoDB Packages in section MongoDB Enterprise and Packages of MongoDB |
Answer» Right option is (c) mongodumplocal OVERWRITES output files if they exist in the backup data folder |
|
6. |
___________ is a routing service for MongoDB shard configurations that processes queries from the application layer.(a) mongod(b) mongos(c) mongocon(d) none of the mentionedI had been asked this question by my school teacher while I was bunking the class.I want to ask this question from MongoDB Packages in section MongoDB Enterprise and Packages of MongoDB |
Answer» CORRECT OPTION is (b) MONGOS Easiest explanation: From the perspective of the application, a mongos instance behaves IDENTICALLY to any other MongoDB instance. |
|
7. |
To backup all the databases in a cluster via mongodump, you should have the ___________ role.(a) restore(b) backup(c) replication(d) all of the mentionedI had been asked this question in a job interview.My question is taken from MongoDB Packages topic in portion MongoDB Enterprise and Packages of MongoDB |
Answer» CORRECT answer is (B) backup To elaborate: The backup role provides the REQUIRED privileges for BACKING up all DATABASES. |
|
8. |
Point out the correct statement.(a) The data format used by mongodump from version 2.2 or later is incompatible with earlier versions of mongod(b) The replica role confers no additional access, in keeping with the policy of least privilege(c) To backup a given database’s users, you must have the replace action on the admin database’s admin.system.users collection(d) All of the mentionedThe question was asked at a job interview.This interesting question is from MongoDB Packages in section MongoDB Enterprise and Packages of MongoDB |
Answer» The correct ANSWER is (a) The data format used by mongodump from VERSION 2.2 or later is incompatible with EARLIER versions of mongod |
|
9. |
____________ does not dump the content of the local database.(a) mongoshell(b) mongodump(c) mongolocaldump(d) none of the mentionedThe question was posed to me in an interview.This intriguing question comes from MongoDB Packages topic in division MongoDB Enterprise and Packages of MongoDB |
Answer» RIGHT option is (b) MONGODUMP For explanation: mongodump can READ data from either MONGOD or mongos instances, in addition to reading directly from MONGODB data files without an active mongod. |
|
10. |
___________ allows you to scale your cluster linearly by adding more machines.(a) Vertical sharding(b) Autosharding(c) Horizontal sharding(d) All of the mentionedThis question was addressed to me by my school principal while I was bunking the class.Query is from MongoDB Enterprise in chapter MongoDB Enterprise and Packages of MongoDB |
Answer» Right option is (B) Autosharding |
|
11. |
MongoDB is installed unattended on Windows from the command line using ____________(a) msi.exe(b) msiexec.exe(c) exec.exe(d) none of the mentionedThis question was addressed to me in final exam.Question is taken from MongoDB Enterprise topic in chapter MongoDB Enterprise and Packages of MongoDB |
Answer» The CORRECT OPTION is (B) msiexec.exe |
|
12. |
Which of the following file is not a MongoDB configuration file?(a) mongodb.conf(b) mongod.conf(c) mongodb.con(d) none of the mentionedThis question was addressed to me in final exam.I'm obligated to ask this question of MongoDB Enterprise topic in section MongoDB Enterprise and Packages of MongoDB |
Answer» Correct answer is (b) mongod.conf |
|
13. |
User account running mongod has _______ permissions for the directory.(a) write only(b) read only(c) read and write(d) none of the mentionedThe question was posed to me in unit test.This interesting question is from MongoDB Enterprise topic in division MongoDB Enterprise and Packages of MongoDB |
Answer» Right answer is (c) read and write |
|
14. |
The MongoDB process listens on port _________ by default.(a) 27017(b) 27170(c) 27107(d) 26017The question was asked during an interview.This question is from MongoDB Enterprise in division MongoDB Enterprise and Packages of MongoDB |
Answer» Correct choice is (a) 27017 |
|
15. |
The MongoDB instance stores its _________ files in /var/lib/mongo by default.(a) log(b) data(c) replica(d) all of the mentionedI had been asked this question in final exam.Question is taken from MongoDB Enterprise topic in division MongoDB Enterprise and Packages of MongoDB |
Answer» Correct answer is (B) data |
|
16. |
Point out the wrong statement.(a) If you change the user that runs the MongoDB process, you must modify the access control rights(b) The MongoDB instance stores its data files in /var/log/mongodb by default(c) MongoDB uses memory mapped files for data management for efficiency(d) None of the mentionedI have been asked this question in class test.The origin of the question is MongoDB Enterprise topic in division MongoDB Enterprise and Packages of MongoDB |
Answer» Right answer is (B) The MongoDB instance stores its data files in /var/LOG/mongodb by DEFAULT |
|
17. |
Point out the correct statement.(a) MongoDB can be installed on SUSE which is a Linux flavour(b) MongoDB Enterprise is available on select platforms and contains support for several features related to security and monitoring(c) A commercial edition of MongoDB that includes additional features(d) All of the mentionedThis question was posed to me in class test.My query is from MongoDB Enterprise in portion MongoDB Enterprise and Packages of MongoDB |
Answer» Correct ANSWER is (d) All of the mentioned |
|
18. |
To install the latest stable version of MongoDB on SUSE, issue ______________(a) sudo zypper install mongodb-enterprise(b) sudo zypper update mongodb-enterprise(c) sudo zyp install mongodb-enterprise(d) none of the mentionedI had been asked this question in a national level competition.This question is from MongoDB Enterprise topic in chapter MongoDB Enterprise and Packages of MongoDB |
Answer» The correct OPTION is (a) sudo zypper INSTALL mongodb-enterprise |
|
19. |
mongod process is stopped by issuing which of the following command?(a) sudo service mongod start(b) sudo service mongod stop(c) sudo service mongod restart(d) none of the mentionedThe question was asked in unit test.This question is from MongoDB Enterprise in portion MongoDB Enterprise and Packages of MongoDB |
Answer» The correct choice is (B) SUDO SERVICE mongod stop |
|
20. |
Command to install the latest stable version of MongoDB Enterprise in Ubuntu is ______________(a) sudo apt-get install mongodb(b) sudo apt-get install mongodb-enterprise(c) sudo apt-get install mongodb-ent(d) all of the mentionedThe question was asked during an interview.I want to ask this question from MongoDB Enterprise topic in section MongoDB Enterprise and Packages of MongoDB |
Answer» The CORRECT answer is (b) sudo apt-get install mongodb-enterprise |
|
21. |
MongoDB only provides Enterprise packages for Ubuntu ________ LTS.(a) 13.04(b) 12.10(c) 12.04(d) 13.10This question was addressed to me in an internship interview.This intriguing question comes from MongoDB Enterprise topic in chapter MongoDB Enterprise and Packages of MongoDB |
Answer» Right ANSWER is (c) 12.04 |
|
22. |
Which of the following is the Ubuntu package management tool?(a) wapt(b) dpkg(c) capt(d) watThe question was posed to me by my school teacher while I was bunking the class.Question is from MongoDB Enterprise topic in section MongoDB Enterprise and Packages of MongoDB |
Answer» Right option is (b) DPKG |
|
23. |
Point out the wrong statement.(a) As of version 2.0.0, there are no control scripts for mongos(b) The mongodb-enterprise package includes various control scripts, including the init script /etc/rc.d/init.d/mongod(c) You must configure SELinux to allow MongoDB to start on Red Hat Linux-based systems(d) None of the mentionedI had been asked this question in a job interview.This key question is from MongoDB Enterprise topic in division MongoDB Enterprise and Packages of MongoDB |
Answer» Right option is (a) As of VERSION 2.0.0, there are no CONTROL scripts for MONGOS |
|
24. |
Which of the following is not a part of mongodb-enterprise-tools?(a) mongodump(b) mongotop(c) mongodown(d) none of the mentionedThe question was asked in semester exam.I would like to ask this question from MongoDB Enterprise in portion MongoDB Enterprise and Packages of MongoDB |
Answer» The correct choice is (c) mongodown |
|
25. |
______ package contains the mongod daemon and associated configuration and init scripts.(a) mongodb-enterprise(b) mongodb-enterprise-server(c) mongodb-enterprise-mongos(d) none of the mentionedI got this question in unit test.I'm obligated to ask this question of MongoDB Enterprise topic in section MongoDB Enterprise and Packages of MongoDB |
Answer» CORRECT ANSWER is (B) mongodb-enterprise-server The best I can explain: mongodb-enterprise-mongos PACKAGE contains the mongos daemon. |
|
26. |
Point out the correct statement.(a) MongoDB provides packages of the officially supported MongoDB Enterprise builds in it’s own repository(b) mongodb-enterprise-tool package contains the mongo shell(c) mongodb-enterprise-shell package contains the mongo tools(d) All of the mentionedThe question was posed to me in unit test.My question comes from MongoDB Enterprise in division MongoDB Enterprise and Packages of MongoDB |
Answer» The correct OPTION is (a) MONGODB PROVIDES packages of the officially supported MongoDB Enterprise BUILDS in it’s own repository |
|
27. |
Which of the following tool can be used to reload a database dump?(a) mongorestore(b) mongofiles(c) mongosupport(d) none of the mentionedI have been asked this question at a job interview.The question is from Installation in chapter MongoDB Enterprise and Packages of MongoDB |
Answer» RIGHT choice is (a) mongorestore To ELABORATE: The mongorestore program writes data from a binary DATABASE DUMP created by mongodump to a MONGODB instance. |
|
28. |
Which of the following is a metapackage for enterprise?(a) mongodb-enterprise(b) mongodb-enterprise-server(c) mongodb-enterprise-mongos(d) none of the mentionedI had been asked this question during a job interview.My doubt stems from MongoDB Enterprise in chapter MongoDB Enterprise and Packages of MongoDB |
Answer» Correct answer is (a) mongodb-enterprise |
|
29. |
__________ is a command-line utility to import content from a JSON, CSV, or TSV.(a) mongorestore(b) mongofiles(c) mongosupport(d) mongoimportThis question was addressed to me in final exam.The above asked question is from Installation in division MongoDB Enterprise and Packages of MongoDB |
Answer» The correct CHOICE is (d) mongoimport |
|
30. |
Which of the following is used for creating a binary export of the contents of a Mongo database?(a) mongodump(b) mongofiles(c) mongosupport(d) mongoimportThe question was asked in homework.Origin of the question is Installation in section MongoDB Enterprise and Packages of MongoDB |
Answer» The CORRECT ANSWER is (a) mongodump |
|
31. |
___________ manipulate files stored in your MongoDB instance in GridFS.(a) mongorestore(b) mongofiles(c) mongosupport(d) none of the mentionedThis question was posed to me in quiz.This intriguing question comes from Installation topic in portion MongoDB Enterprise and Packages of MongoDB |
Answer» Right answer is (b) mongofiles |
|
32. |
Point out the wrong statement.(a) BSON is difficult to code and manage(b) MongoDB stores data in JSON documents(c) JSON provides a rich data model that seamlessly maps to native programming language types(d) All of the mentionedI got this question in an international level competition.Enquiry is from Installation in section MongoDB Enterprise and Packages of MongoDB |
Answer» CORRECT option is (a) BSON is DIFFICULT to CODE and manage For EXPLANATION I would say: BSON is easy to code and manage. |
|
33. |
Point out the correct statement.(a) MongoDB supports a “standalone” or single-instance operation(b) Sharded clusters provide high performance replication with automated failover(c) Replica sets make it possible to partition large data sets over many machines transparently to the users(d) All of the mentionedThe question was posed to me in an online interview.The above asked question is from Installation in division MongoDB Enterprise and Packages of MongoDB |
Answer» The correct option is (a) MongoDB supports a “STANDALONE” or single-instance operation |
|
34. |
Which of the following network analyzer fully supports MongoDB?(a) Wireshark(b) Riakshark(c) Snort(d) SuricataI had been asked this question in class test.The doubt is from Installation topic in chapter MongoDB Enterprise and Packages of MongoDB |
Answer» RIGHT answer is (a) Wireshark To EXPLAIN I would SAY: Wireshark is CROSS platform and open source network sniffer. |
|
35. |
Which of the following is simplest tool for installation of MongoDB?(a) mongorestore(b) mongooplog(c) mongodump(d) all of the mentionedI got this question by my college director while I was bunking the class.I need to ask this question from Installation topic in section MongoDB Enterprise and Packages of MongoDB |
Answer» Right choice is (b) mongooplog |
|
36. |
Which of the following provides low-level tracing/sniffing view into database activity?(a) mongosniff(b) mongotop(c) mongooplog(d) mongofilesThe question was posed to me in unit test.My doubt is from Installation in portion MongoDB Enterprise and Packages of MongoDB |
Answer» The correct answer is (a) mongosniff |
|
37. |
Which of the following tool is similar to the UNIX/Linux top utility?(a) mongosniff(b) mongotop(c) mongooplog(d) mongofilesI got this question during a job interview.I would like to ask this question from Installation topic in portion MongoDB Enterprise and Packages of MongoDB |
Answer» Correct OPTION is (b) mongotop |
|
38. |
mongostat tool is similar to the UNIX/Linux _________ utility.(a) stats(b) vim(c) vmstat(d) all of the mentionedI have been asked this question in unit test.I want to ask this question from Installation in chapter MongoDB Enterprise and Packages of MongoDB |
Answer» The correct option is (C) vmstat |
|
39. |
___________ 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) mongofilesThe question was posed to me at a job interview.My question is taken from Installation topic in section MongoDB Enterprise and Packages of MongoDB |
Answer» Correct ANSWER is (a) mongostat |
|
40. |
___________ provides statistics on the per-collection level.(a) mongosniff(b) mongotop(c) mongooplog(d) mongofilesThis question was addressed to me by my school principal while I was bunking the class.Query is from Installation topic in division MongoDB Enterprise and Packages of MongoDB |
Answer» Correct option is (b) mongotop |
|
41. |
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 mentionedThis question was posed to me in quiz.My question is based upon Installation topic in division MongoDB Enterprise and Packages of MongoDB |
Answer» The CORRECT OPTION is (b) CASSANDRA is most popular for its document stores management system |
|
42. |
Which of the following is web-based client software for MongoDB?(a) BI Studio(b) Database Master(c) Fang of Mongo(d) Mongo3I had been asked this question in an internship interview.This question is from Installation in division MongoDB Enterprise and Packages of MongoDB |
Answer» The CORRECT CHOICE is (b) Database Master |
|
43. |
Administrative information in MongoDB can also be accessed through _____________(a) dashboard(b) web interface(c) psql shell(d) all of the mentionedI had been asked this question at a job interview.The origin of the question is Installation topic in division MongoDB Enterprise and Packages of MongoDB |
Answer» CORRECT answer is (b) web INTERFACE The best I can explain: 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). |
|
44. |
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 mentionedThis question was posed to me in class test.My doubt is from Installation topic in portion MongoDB Enterprise and Packages of MongoDB |
Answer» The correct option is (C) NoSQL MANAGER for MongoDB is an MS WINDOWS GUI application for MongoDB management with Shell |
|
45. |
What is the interactive shell for MongoDB called?(a) mongo(b) mongodb(c) dbmong(d) none of the mentionedI have been asked this question during an interview.Question is taken from Installation topic in division MongoDB Enterprise and Packages of MongoDB |
Answer» Correct ANSWER is (a) mongo |
|