Initial release of MongoDB was in the year MCQ

MCQs of Data Base for the Modern Web

Showing 1 to 10 out of 27 Questions

1.

MongoDB Queries can return specific fields of documents which also include user-defined __________ functions.

(a) Javascript
(b) C
(c) C++
(d) All of the mentioned

2.

The initial release of MongoDB was in the year?

(a) 2000
(b) 2005
(c) 2009
(d) 2011

3.

MongoDB has been adopted as ________ software by a number of major websites and services.

(a) frontend
(b) backend
(c) proprietary
(d) all of the mentioned

4.

Dynamic schema in MongoDB makes ____________ easier for applications.

(a) inheritance
(b) polymorphism
(c) encapsulation
(d) none of the mentioned

5.

With ________ MongoDB supports a complete backup solution and full deployment monitoring.

(a) MMS
(b) AMS
(c) CMS
(d) DMS

6.

MongoDB supports fixed-size collections called ____________ collections.

(a) primary
(b) secondary
(c) capped
(d) all of the mentioned

7.

MongoDB uses a ____________ lock that allows concurrent read access to a database but exclusive write access to a single write operation.

(a) readers
(b) readers-writer
(c) writer
(d) none of the mentioned

8.

Which of the following sorting is not supported by MongoDB?

(a) collation
(b) collection
(c) heap
(d) none of the mentioned

9.

Most NoSQL databases support automatic __________ meaning that you get high availability and disaster recovery.

(a) processing
(b) scalability
(c) replication
(d) all of the mentioned

10.

__________ is a part of the standard MongoDB distribution and provides a full JavaScript environment.

(a) mongod
(b) mongodb
(c) mongo
(d) none of the mentioned

Showing 1 to 10 out of 27 Questions

MongoDB Multiple Choice Questions on “Introduction to MongoDB”.

1. Which of the following language is MongoDB written in? a) Javascript b) C c) C++

d) All of the mentioned

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

1. Which of the following language is MongoDB written in? a) Javascript b) C c) C++ d) All of the mentioned

View Answer

Answer: d
Explanation: MongoDB (from humongous) is a cross-platform document-oriented database.

2. Point out the correct statement. a) MongoDB is classified as a NoSQL database b) MongoDB favours XML format more than JSON c) MongoDB is column oriented database store d) All of the mentioned

View Answer

Answer: a
Explanation: MongoDB supports JSON format compared to XML.

3. Which of the following format is supported by MongoDB? a) SQL b) XML c) BSON d) All of the mentioned

View Answer

Answer: c
Explanation: MongoDB eschews the traditional table-based relational database structure in favor of JSON-like documents with dynamic schemas.

4. MongoDB Queries can return specific fields of documents which also include user-defined __________ functions. a) Javascript b) C c) C++ d) All of the mentioned

View Answer

Answer: a
Explanation: MongoDB supports search by field, range queries, regular expression searches.

Subscribe Now: MongoDB Newsletter | Important Subjects Newsletters

5. Point out the wrong statement. a) Secondary indices are not available in MongoDB b) MongoDB supports search by field, range queries, regular expression searches c) MongoDB can store the business subject in the minimal number of documents d) All of the mentioned

View Answer

Answer: a
Explanation: Any field in a MongoDB document can be indexed.

6. Initial release of MongoDB was in the year? a) 2000 b) 2005 c) 2009 d) 2011

View Answer

Answer: c
Explanation: MongoDB is developed by the software company 10gen in October 2007 as a component of a planned platform as a service product.

Become Top Ranker in MongoDB Now!

7. MongoDB has been adopted as ________ software by a number of major websites and services. a) frontend b) backend c) proprietary d) all of the mentioned

View Answer

Answer: b
Explanation: MongoDB is the most popular NoSQL database system.

8. MongoDB is a _________ database that provides high performance, high availability, and easy scalability. a) graph b) key value c) document d) all of the mentioned

View Answer

Answer: c
Explanation: Documents (objects) map nicely to programming language data types.

9. Dynamic schema in MongoDB makes ____________ easier for applications. a) inheritance b) polymorphism c) encapsulation d) none of the mentioned

View Answer

Answer: b
Explanation: Relational databases require that schemas be defined before you can add data.

10. With ________ MongoDB supports a complete backup solution and full deployment monitoring. a) MMS b) AMS c) CMS d) DMS

View Answer

Answer: a
Explanation: MMS stands for MongoDB Management Service and is available to all users in the cloud and on-premises as part of MongoDB Standard and Enterprise Subscriptions.

Sanfoundry Global Education & Learning Series – MongoDB.

Here’s the list of Best Books in MongoDB.

» Next - MongoDB Questions and Answers – Big data and MongoDB

  • Get Free Certificate of Merit in MongoDB
  • Participate in MongoDB Certification Contest
  • Become a Top Ranker in MongoDB
  • Take MongoDB Tests
  • Chapterwise Practice Tests: Chapter 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
  • Chapterwise Mock Tests: Chapter 1, 2, 3, 4, 5, 6, 7, 8, 9, 10

Initial release of MongoDB was in the year MCQ

Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & technical discussions at Telegram SanfoundryClasses.