This set of MongoDB Multiple Choice Questions & Answers (MCQs) focuses on “Data Management”.
1. With the WiredTiger storage engine, use of _______ is strongly recommended to avoid performance issues.
a) XFS
b) SSD
c) SST
d) All of the mentioned
View Answer
Explanation: Some Linux distributions require different versions of the kernel to support using XFS.
2. Point out the correct statement.
a) With the MMAPv1 storage engine, MongoDB preallocates its database files before using them and often creates large files
b) zlib provides better compression rate but has a higher performance cost
c) MongoDB includes support for many storage engines
d) All of the mentioned
View Answer
Explanation: WiredTiger uses prefix compression on all indexes by default.
3. MongoDB requires a filesystem that supports ______ on directories.
a) fsynconce()
b) fsync()
c) sync()
d) all of the mentioned
View Answer
Explanation: HGFS and Virtual Box’s shared folders do not support this operation.
4. MongoDB Cloud Manager provides integration with Amazon Web Services (AWS) and lets you deploy new ______ instances directly from MongoDB Cloud Manager.
a) ECS
b) EC2
c) EC3
d) All of the mentioned
View Answer
Explanation: MongoDB is compatible with EC2.
5. Point out the wrong statement.
a) When running MongoDB in production on Linux, it is recommended that you use Linux kernel version 2.6.36 or later
b) The MongoDB distribution for Solaris include support for the WiredTiger storage engine
c) By default, WiredTiger uses zip compression library
d) None of the mentioned
View Answer
Explanation: By default, WiredTiger uses snappy compression library.
6. WiredTiger can compress collection data using either snappy or zlib compression library.
a) snappy
b) zip
c) lib
d) Kit
View Answer
Explanation: snappy provides a lower compression rate but has little performance cost
7. Which of the following is especially important in Sharded Clusters?
a) NSS
b) STP
c) NTP
d) SSD
View Answer
Explanation: Use the Network Time Protocol (NTP) to synchronize time among your hosts.
8. The TCP keepalive on the Azure load balancer is ______ seconds by default.
a) 100
b) 200
c) 240
d) None of the mentioned
View Answer
Explanation: You should set tcp_keepalive_time to 120 to ameliorate this problem.
9. _____ is a command-line tool for monitoring network use.
a) bwm-ng
b) bwm-g
c) bwm-n
d) bwm-ngs
View Answer
Explanation: If you suspect a network-based bottleneck, you may use bwm-ng to begin your diagnostic process.
Sanfoundry Global Education & Learning Series – MongoDB.
Here’s the list of Best Books in MongoDB.
- Apply for Programming Internship
- Check MongoDB Books
- Check Information Technology Books
- Practice Programming MCQs