

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 document configures the threshold which determines whether a query is “slow” for the purpose of the logging system?(a) systemLog.verbosity(b) operationProfiling.mode(c) operationProfiling.slowOpThresholdMs(d) none of the mentionedI got this question in an international level competition.My doubt is from MongoDB Maintenance topic in division GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Correct answer is (C) operationProfiling.slowOpThresholdMs |
|
2. |
On Linux, use the ______ command to check if disk I/O is a bottleneck for your database.(a) stat(b) iostats(c) iostat(d) none of the mentionedI had been asked this question in a job interview.My question is based upon MongoDB Maintenance in section GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Correct option is (C) iostat |
|
3. |
MongoDB stores tag sets in the replica set configuration object, which is the document returned by _____(a) rs.config()(b) rs.conf()(c) rs.confstats()(d) all of the mentionedThe question was posed to me in unit test.This intriguing question originated from MongoDB Maintenance topic in section GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Right choice is (B) rs.conf() |
|
4. |
When the TTL thread is active, you will see _______ operations in the output of db.currentOp().(a) read(b) update(c) delete(d) all of the mentionedThis question was addressed to me in an online interview.I need to ask this question from MongoDB Maintenance topic in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Correct choice is (C) delete |
|
5. |
Which of the following represents Shared lock?(a) R(b) w(c) r(d) WI had been asked this question by my college director while I was bunking the class.My question comes from MongoDB Maintenance topic in portion GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The correct option is (a) R |
|
6. |
Point out the correct statement.(a) MongoDB distributions are currently available for Mac OS X, Linux, Windows Server 2012, Windows Server 2008 R2 64bit, Windows 7 (64 bit), Windows Vista, and Solaris(b) The MongoDB distribution for Solaris include support for the WiredTiger storage engine(c) mongod will not start if dbPath contains data files created by a storage engine(d) None of the mentionedThis question was posed to me during an online interview.I would like to ask this question from MongoDB Maintenance in division GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» CORRECT choice is (b) The MongoDB distribution for Solaris INCLUDE support for the WIREDTIGER STORAGE engine The EXPLANATION is: The MongoDB distribution for Solaris does not include support for the WiredTiger storage engine. |
|
7. |
The _________ field provides the amount of resident memory in use.(a) mem.resident(b) memory.resident(c) mem.resident(d) all of the mentionedI had been asked this question in quiz.Asked question is from MongoDB Maintenance in division GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» CORRECT choice is (c) mem.resident To EXPLAIN: If this exceeds the amount of system memory and there is a SIGNIFICANT amount of data on DISK that isn’t in RAM, you MAY have exceeded the capacity of your system. |
|
8. |
The ___________ collection stores custom roles that administrators create and assign to users to provide access to specific resources.(a) admin.system.role(b) admin.system.roles(c) admin.system.roleasign(d) all of the mentionedThis question was addressed to me during an online exam.The doubt is from MongoDB Maintenance in section GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Right answer is (b) admin.SYSTEM.roles |
|
9. |
________ contains a counter of the total number of clients with active operations in progress or queued.(a) globalLock.active(b) localLock.activeClients(c) globalLock.activeClients(d) all of the mentionedThe question was posed to me in examination.My question is based upon MongoDB Maintenance topic in portion GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The correct answer is (C) globalLock.activeClients |
|
10. |
Point out the correct statement.(a) In MongoDB 3.0, cursor.explain() returns the indexOnly field to indicate whether the index covered a query(b) When an index covers a query, MongoDB can both match the query conditions and return the results using only the index keys(c) For read-heavy applications, deploy sharding and add one or more shards to a sharded cluster to distribute load among mongod instances(d) All of the mentionedI had been asked this question by my school teacher while I was bunking the class.Query is from MongoDB Maintenance in section GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The correct option is (b) When an index COVERS a QUERY, MongoDB can both match the query conditions and return the results using only the index keys |
|
11. |
Which of the following document configures the threshold which determines whether a query is “slow” for the purpose of the logging system?(a) systemLog.verbosity(b) operationProfiling.mode(c) operationProfiling.slowOpThresholdMs(d) none of the mentionedThe question was posed to me in final exam.Asked question is from Run-time Database Configuration topic in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The CORRECT answer is (C) operationProfiling.slowOpThresholdMs |
|
12. |
_______ is /srv/mongodb, which specifies where MongoDB will store its data files.(a) dbPath(b) dbPathSts(c) db.Op(d) none of the mentionedI got this question in unit test.This key question is from Run-time Database Configuration topic in portion GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» CORRECT option is (a) dbPath To explain: The user ACCOUNT that mongod RUNS under will need READ and write access to this directory. |
|
13. |
What is the size of Chunk by default?(a) 64 MB(b) 64 GB(c) 64 KB(d) 32 MBThe question was posed to me in an interview for internship.The above asked question is from Run-time Database Configuration in division GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The correct CHOICE is (a) 64 MB |
|
14. |
Which of the following sets the database profiler level?(a) systemLog.verbosity(b) operationProfiling.mode(c) operationProfiling.slowOpThresholdMs(d) none of the mentionedI have been asked this question during an online interview.The origin of the question is Run-time Database Configuration in section GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The correct choice is (b) operationProfiling.mode |
|
15. |
_____bit builds of mongod enable journaling by default.(a) 8(b) 16(c) 32(d) 64This question was addressed to me in exam.The doubt is from Run-time Database Configuration topic in division GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» RIGHT answer is (d) 64 Easiest EXPLANATION: Journaling ENSURES single INSTANCE write-durability. |
|
16. |
Which of the following provide acceptable performance levels for multiple mongod instances?(a) GridFS(b) SST(c) MMS(d) SSDThis question was posed to me in quiz.This question is from Run-time Database Configuration in portion GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The CORRECT CHOICE is (d) SSD |
|
17. |
Point out the correct statement.(a) Config servers are not replica sets(b) Sharding requires a number of mongod instances with different configurations(c) The config servers store the cluster’s metadata, while the cluster distributes data among one or more shard servers(d) None of the mentionedThis question was addressed to me during an interview.The query is from Run-time Database Configuration in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The correct ANSWER is (d) None of the mentioned |
|
18. |
Point out the correct statement.(a) Replica set configuration is straightforward(b) Keyfile must be less than one kilobyte in size(c) Keyfile may only contain characters in the base64 set and the file must not have group or “world” permissions on UNIX systems(d) All of the mentionedThis question was addressed to me in an international level competition.This interesting question is from Run-time Database Configuration in section GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The correct OPTION is (d) All of the mentioned |
|
19. |
Setting _______ enables authentication and specifies a key file for the replica set member use to when authenticating to each other.(a) mongostat(b) mongod(c) keyFile(d) all of the mentionedThis question was addressed to me by my school principal while I was bunking the class.This key question is from Run-time Database Configuration in division GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Right choice is (C) keyFile |
|
20. |
Replica set configuration requires that the _______ have a value that is consistent among all members of the set.(a) replSetName(b) instance(c) MMS(d) all of the mentionedI had been asked this question by my college professor while I was bunking the class.The doubt is from Run-time Database Configuration in portion GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The correct OPTION is (a) replSetName |
|
21. |
The ________ reflect the amount of storage used, the quantity of data contained in the database, and object, collection, and index counters.(a) dbStats(b) db.serverStatus()(c) db.statserver()(d) none of the mentionedThe question was posed to me in my homework.I'd like to ask this question from Monitoring forMongoDB topic in portion GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Correct choice is (a) DBSTATS |
|
22. |
___________ returns a general overview of the status of the database, detailing disk usage, memory use, connection, journaling, and index access.(a) dbStats(b) db.serverStatus()(c) db.stats()(d) none of the mentionedThe question was asked during an internship interview.I need to ask this question from Monitoring forMongoDB in portion GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The correct ANSWER is (B) db.serverStatus() |
|
23. |
Point out the correct statement.(a) MMS offers point in time recovery of MongoDB replica sets(b) MongoDB provides a web interface that exposes diagnostic and monitoring information in a simple web page(c) db.Status() outputs an account of the state of a MongoDB instance(d) None of the mentionedThis question was posed to me in an international level competition.Query is from Monitoring forMongoDB in division GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Right answer is (b) MongoDB provides a WEB interface that exposes DIAGNOSTIC and monitoring information in a simple web page |
|
24. |
_______ method is useful tool for identifying the database instance’s in-progress operations.(a) db.current(b) db.currentOp(c) db.Op(d) none of the mentionedThe question was posed to me during an internship interview.My doubt stems from Monitoring forMongoDB in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The correct CHOICE is (b) db.currentOp |
|
25. |
_________ tracks and reports the current read and write activity of a MongoDB instance, and reports these statistics on a per collection basis.(a) mongostat(b) mongod(c) mongotop(d) all of the mentionedI have been asked this question in an online interview.Asked question is from Monitoring forMongoDB topic in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The correct answer is (C) mongotop |
|
26. |
Point out the correct statement.(a) Database commands cannot return statistics regarding the current database state with greater fidelity(b) Monitoring is a critical component of all database administration(c) The MongoDB distribution does not include utilities that quickly return statistics about instances’ performance and activity(d) All of the mentionedI have been asked this question at a job interview.The above asked question is from Monitoring forMongoDB topic in division GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Correct CHOICE is (a) Database COMMANDS cannot return statistics REGARDING the CURRENT database state with greater fidelity |
|
27. |
___________ captures and returns the counts of database operations by type.(a) mongostat(b) mongod(c) mms(d) all of the mentionedI got this question in class test.Question is from Monitoring forMongoDB topic in section GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Correct OPTION is (a) mongostat |
|
28. |
Which of the following command returns quickly and does not impact MongoDB performance?(a) dbStats(b) db.serverStatus()(c) db.stats()(d) none of the mentionedI had been asked this question in exam.The doubt is from MongoDB Backup in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Correct CHOICE is (b) db.SERVERSTATUS() |
|
29. |
Ops Manager _________ provides an interface for configuring MongoDB nodes and clusters and for upgrading your MongoDB deployment.(a) Automation(b) Performance(c) Monitoring(d) None of the mentionedI had been asked this question in an internship interview.I want to ask this question from MongoDB Backup topic in portion GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The correct CHOICE is (a) Automation |
|
30. |
Backup can also create snapshots of _________ that are run as single-member replica sets.(a) documents(b) standalones(c) backups(d) none of the mentionedI have been asked this question during a job interview.My enquiry is from MongoDB Backup topic in portion GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Right option is (b) standalones |
|
31. |
The agent ships initial sync and oplog data over HTTPS back to ___________(a) Opscore Manager(b) Ops Manager(c) mongod(d) None of the mentionedI have been asked this question in semester exam.The query is from MongoDB Backup topic in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Right answer is (b) Ops Manager |
|
32. |
Point out the correct statement.(a) The amount of oplog to keep per backup is configurable and affects the time window available for checkpoint and point-in-time restores(b) To get a consistent snapshot of a sharded system, you must enable the balancer(c) Backups produced by copying the underlying data do support point in time recovery(d) All of the mentionedThis question was addressed to me in an internship interview.The query is from MongoDB Backup topic in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Correct option is (a) The amount of OPLOG to keep per backup is CONFIGURABLE and affects the time window available for CHECKPOINT and point-in-time restores |
|
33. |
Ops Manager maintains one _____ database for each backed-up replica set.(a) mdump(b) head(c) tail(d) all of the mentionedI got this question by my school teacher while I was bunking the class.This is a very interesting question from MongoDB Backup topic in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The correct option is (B) HEAD |
|
34. |
Ops Manager reads directly from the Backup Blockstore database and transfers files either through ___________(a) TCP(b) HTTPS(c) MMS(d) All of the mentionedThe question was asked during a job interview.My query is from MongoDB Backup in division GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» CORRECT OPTION is (B) HTTPS Easiest explanation: Ops Manager Backup lets you RESTORE data from a scheduled snapshot or from a SELECTED point between snapshots. |
|
35. |
Ops Manager ______ provides scheduled snapshots and point-in-time recovery of your MongoDB replica sets and sharded clusters.(a) Automation(b) Performance(c) Monitoring(d) BackupThis question was addressed to me in an interview.This interesting question is from Operational Strategies topic in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Correct choice is (d) BACKUP |
|
36. |
Ops Manager _________ provides an interface for configuring MongoDB nodes and clusters and for upgrading your MongoDB deployment.(a) Automation(b) Performance(c) Monitoring(d) None of the mentionedThis question was posed to me during an interview for a job.This key question is from Operational Strategies in division GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» CORRECT ANSWER is (a) Automation For EXPLANATION: Ops Manager Monitoring provides real-time reporting, visualization, and alerting on KEY database and hardware indicators. |
|
37. |
Ops Manager provides Ops Manager ________ and Ops Manager Backup, which helps users optimize clusters and mitigate operational risk.(a) Performance(b) Administration(c) Monitoring(d) None of the mentionedThis question was posed to me during an interview.My doubt stems from Operational Strategies in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» CORRECT OPTION is (c) Monitoring The BEST I can explain: Ops Manager is a package for managing MONGODB deployments. |
|
38. |
________ an on-premise solution, has similar functionality to the cloud version.(a) Opscore Manager(b) Ops Manager(c) Mongod(d) None of the mentionedThe question was posed to me during an online exam.Enquiry is from Operational Strategies topic in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The CORRECT choice is (b) OPS Manager |
|
39. |
Point out the wrong statement.(a) If you shut down a secondary to capture data with mongodump ensure that the operation can complete before its oplog becomes too stale to continue replicating(b) MongoDB Cloud Manager continually backs up MongoDB replica sets(c) Sharded cluster snapshots are easy to achieve with other MongoDB backup methods(d) None of the mentionedI had been asked this question during an online interview.This interesting question is from Operational Strategies in division GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The correct answer is (c) SHARDED cluster SNAPSHOTS are EASY to ACHIEVE with other MongoDB backup methods |
|
40. |
To mitigate the impact of mongodump on the performance of the replica set, use mongodump to capture backups from a _________ member of a replica set.(a) primary(b) secondary(c) snaphot(d) none of the mentionedThis question was addressed to me in an online interview.My query is from Operational Strategies topic in portion GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The correct ANSWER is (b) secondary |
|
41. |
When connected to a MongoDB instance, mongodump can adversely affect ______ performance.(a) mdump(b) mongodump(c) mongod(d) all of the mentionedThis question was posed to me during a job interview.My query is from Operational Strategies topic in section GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Right ANSWER is (C) mongod |
|
42. |
On Linux the ______ manager can create a snapshot.(a) LVM(b) SVM(c) MMS(d) All of the mentionedI got this question in an interview for internship.My question is based upon Operational Strategies in portion GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Correct ANSWER is (a) LVM |
|
43. |
If applications modify data while mongodump is creating a backup _________ will compete for resources with those applications.(a) mongostore(b) mongorestore(c) mongod(d) mongodumpI have been asked this question by my college director while I was bunking the class.This interesting question is from MongoDB Administration in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Correct answer is (d) MONGODUMP |
|
44. |
Point out the correct statement.(a) The mechanics of snapshots depend on the underlying storage system(b) To get a consistent snapshot of a sharded system, you must disable the balancer(c) If your storage system does not support snapshots, you can copy the files directly using cp, rsync, or a similar tool(d) All of the mentionedI have been asked this question in an interview.I'm obligated to ask this question of Operational Strategies in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The CORRECT OPTION is (d) All of the mentioned |
|
45. |
For replica sets, mongodump also supports a point in time feature with the ________ option.(a) –oplog(b) –log(c) –op(d) None of the mentionedThis question was posed to me in an interview for job.My question is based upon MongoDB Administration in section GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The CORRECT choice is (a) –oplog |
|
46. |
mongodump and mongorestore can operate against a running _______ process.(a) mongostore(b) mongorestore(c) mongod(d) none of the mentionedThe question was posed to me by my college director while I was bunking the class.My doubt stems from MongoDB Administration topic in section GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Correct answer is (C) mongod |
|
47. |
The _________ tool can populate a MongoDB database with the data from these BSON files.(a) mongostore(b) mongorestore(c) mongod(d) none of the mentionedI got this question during an interview.Query is from MongoDB Administration topic in portion GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» RIGHT choice is (B) mongorestore The EXPLANATION: This tool is not ideal for capturing backups of LARGER systems. |
|
48. |
If your storage system does not support snapshots, you can copy the files directly using ____________(a) cp(b) copy(c) snap(d) none of the mentionedThe question was posed to me by my college professor while I was bunking the class.I need to ask this question from MongoDB Administration in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Correct OPTION is (a) cp |
|
49. |
Point out the wrong statement.(a) MongoDB Cloud Manager Backup offers point in time recovery of MongoDB replica sets(b) MongoDB Cloud Manager continually backs up MongoDB replica sets(c) MMS achieves point in time recovery by storing oplog data(d) None of the mentionedI had been asked this question in class test.This intriguing question originated from MongoDB Administration in portion GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» Right answer is (c) MMS achieves point in TIME recovery by storing oplog data |
|
50. |
The _______ tool reads data from a MongoDB database and creates high fidelity BSON files.(a) mdump(b) mongodump(c) mongod(d) all of the mentionedThe question was asked by my school principal while I was bunking the class.The query is from MongoDB Administration topic in chapter GridFS, BSON Datatype and Administration Concepts of MongoDB |
Answer» The correct OPTION is (B) mongodump |
|