Pythonclassroomdiary.wordpress.com by Sangeeta M Chauhan, PGT CS KV No.3 Gwalior Assgn Submitted By : Ms. Nadita Tomar WORKSHEET 1 -MongoDB

MongoDB Questions and Answers – Introduction to MongoDB

This set of MongoDB Multiple Choice Questions (MCQs) focuses on “Introduction to MongoDB "

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

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

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

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

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

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

7. MongoDB has been adopted as ______software by a number of major websites and services. Pythonclassroomdiary.wordpress.com by Sangeeta M Chauhan, PGT CS KV No.3 Gwalior Assgn Submitted By : Ms. Nadita Tomar a) frontend b) backend c) proprietary d) all of the mentioned

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

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

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

Pythonclassroomdiary.wordpress.com by Sangeeta M Chauhan, PGT CS KV No.3 Gwalior Assgn Submitted By : Ms. Nadita Tomar

ANSWER KEY

MongoDB Questions and Answers – Introduction to MongoDB

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

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

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

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

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

6.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.

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

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

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

10.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