Best Reference Books

MongoDB Questions and Answers – Production MongoDB

This set of MongoDB Multiple Choice Questions & Answers (MCQs) focuses on “”.

1. Which of the following storage engine is supported by default ?
a) MMAPv1
b) WiredTiger
c) WirelessTiger
d) All of the mentionedView Answer

Answer:a
Explanation: MongoDB includes support for two storage engines: MMAPv1, the storage engine available in previous versions of MongoDB, and WiredTiger.

2. Point out the correct statement :
a) Replica set configuration is complex
b) MongoDB includes support for two storage engines
c) MongoDB includes support for more than three storage engines
d) All of the mentionedView Answer

Answer:b
Explanation:MMAPv1 provides collection-level locking.

3. All collections have a unique ________ lock that allows multiple clients to modify documents in different collections at the same time.
a) writer
b) readers-writer
c) readers
d) All of the mentionedView Answer

Answer:b
Explanation:Each database has a readers-writer lock that allows concurrent read access to a database, but gives exclusive access to a single write operation per database.

advertisements

4. _________ supports concurrent access by readers and writers to the documents in a collection.
a) MMAPv1
b) WiredTiger
c) WirelessTiger
d) All of the mentionedView Answer

Answer:b
Explanation:Clients can read documents while write operations are in progress, and multiple threads can modify different documents in a collection at the same time.

5. 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 mentionedView Answer

Answer:b
Explanation: The MongoDB distribution for Solaris does not include support for the WiredTiger storage engine.

Answer:a
Explanation:Most MongoDB deployments should use disks backed by RAID-10.

10.Which of the following should be avoided with MongoDB Deployments ?
a) RAID-5
b) RAID-10
c) RAID-7
d) RAID-0View Answer

Answer:d
Explanation:While RAID-0 provides good write performance, it also provides limited availability and can lead to reduced performance on read operations, particularly when using Amazon’s EBS volumes.

Best Training

Testimonials

It was a wonderful course, a thorough study through the bits and pieces of Storage Devices and the other advancements in the SAN technology which was very informative for me. Well prepared slides, practical thoughts and fully interactive class.
— Milind - Microsoft

The depth of C coverage, the common pitfalls, the presentation by Manish and his pace were all remarkable. Gave a clear picture of the inner working of C language design.
— Shivanshu - Netapp

The course was well designed and coverage was satisfactorily deep. The linux programming assignments were designed to get a feel of real time issues and covered lot of areas of uncertainty. The project work suggested at the end of the course was invaluable.
— Somenath - EMC