Blog about Programming Languages & Coding

Blog about Programming Languages & Coding
Contents for Computer Science, IT, B.Sc. CS & IT, M.Sc. CS & IT, MCA, BE CS & IT, ME CS & IT , Interview Questions, Books and Online Course Recommendations from Udemy, Coursera, etc

MongoDB MCQs

  MongoDB MCQs






1. The MongoDB is written in .................... language.

 C++

 Javascript

 C

 All of the above

 

2. Which of the foliowing is wrong statement -

 MongoDB supports search by field, range queries, regular expression searches

 MongoDB can store the business subject in the minimal number of documents

 Secondary indices is not available in MongoDB

 All of the above

 

3. In which year the MongoDB was Initial release?

 2008

 2009

 2010

 2011

 

4. A collection and a document in MongoDB is equivalent to............. concepts respectively.

 Table and Column

 Table and Row

 Column and Row

 Database and Table

 

5. in how much time the MongDB writes are written to the journal?

 100 s

 60 s

 1 s

 100 ms

 

6. Does MongoDB supports query joins between collections ?

 Yes

 No

 

7. what is MongoDB?

 data growth

 document database

 adminCommand

 Combine objects

 

8. The concatenation of the collection name and database name is called a -

 Namespace

 MongoDB

 sharding

 replica

 

9. What is the good alternatives to MongoDB?

 Redis & CouchDB

 Cassandra

 Riak & Hbase

 All of the mentioned

 

10. Which statements is correct about mongoose in MongoDB ?

 it is Java library to connect with MongoDB

 It is used for modeling your application data in node.js

 It is Python library to connect with MongoDB

 It is a PHP library to connect with MongoDB

 

11. Hidden member is used to support dedicated functions, such as backup or reporting.

 True

 False

 

12. A collection in MongoDB is a group of ......................

 Databases

 Related documents

 Schema

 Rows

 

13. Which is not a supported index type in MongoDB?

 TTL Index

 Neospatial

 Unique

 None of These

 

14. Which of the following is correct option ?

 MongoDB uses XML more in comparison with JSON

 MongoDB is column oriented data store

 MongoDB is a NoSQL database

 None of the above

 

15. Is MongoDB better than other SQL databases?

 Yes

 No

 

16. In which format MongoDB represents document structure?

 BSON

 .txt

 .Docx

 None of these

 

17. Howmany byte counter in BSON is starting with a random value ?

 4

 2

 3

 None of the above

 

18. which field is always the first field in the document.?

 _id

 Ob_id

 id

 None of these

 

19. The application, that communicates with application MongoDB by way of a client library, is called _________________ .

 Parent

 Driver

 Rank

 None of the above

 

20. _____________________sorting is not supported by MongoDB.

 collection

 collation

 heap

 none of the mentioned

 

21. When a relational expression is false, it has the value ________.

 zero

 one

 

22. In mongodb, there is a similar feature of 'like' expression as like rdbms.

 True

 False

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

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

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

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

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

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

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.

 

MongoDB MCQs  MongoDB MCQs Reviewed by Asst. Prof. Sunita Rai on June 20, 2022 Rating: 5

No comments:

Powered by Blogger.