0% found this document useful (0 votes)
775 views3 pages

Mongodb MCQ

1. MongoDB provides high availability with replica sets. Replica sets maintain a copy of the primary's data using built-in replication. MongoDB scales horizontally using sharding for load balancing. 2. MongoDB is a document database that supports dynamic schemas and provides high performance, high availability, and easy scalability. Documents are stored in collections and queries can return specific fields including user-defined JavaScript functions. 3. Key features include support for BSON, replication, sharding, and MMS for backup and monitoring support.

Uploaded by

Srinivasa Rao T
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
775 views3 pages

Mongodb MCQ

1. MongoDB provides high availability with replica sets. Replica sets maintain a copy of the primary's data using built-in replication. MongoDB scales horizontally using sharding for load balancing. 2. MongoDB is a document database that supports dynamic schemas and provides high performance, high availability, and easy scalability. Documents are stored in collections and queries can return specific fields including user-defined JavaScript functions. 3. Key features include support for BSON, replication, sharding, and MMS for backup and monitoring support.

Uploaded by

Srinivasa Rao T
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Name: _______________________________________ Reg.

No______________ Dt: ______________


1. MongoDB provides high ____________ with replica sets. [ ]
a) performance b) availability c) scalability d) none of the mentioned
2. Point out the correct statement. [ ]
a) MongoDB cannot be used as a file system b) MongoDB can run over single servers only
c) Embedded documents and arrays reduce need for joins d) None of the mentioned
3. ___________ replicas maintain a copy of the data on the primary using built-in replication.
a) Primary b) Secondary c) Backup d) All of the mentioned [ ]
4. MongoDB scales horizontally using _________ for load balancing purpose.
a) Replication b) Partitioning c) Sharding d) None of the mentioned
5. MongoDB supports fixed-size collections called ____________ collections. [ ]
a) primary b) secondary c) capped d) all of the mentioned
6. Which of the following sorting is not supported by MongoDB? [ ]
a) collation b) collection c) heapd) none of the mentioned
7. Which of the following language is MongoDB written in? [ ]
a) Javascript b) C c) C++ d) All of the mentioned
8. Which of the following format is supported by MongoDB? [ ]
a) SQL b) XML c) BSON d) All of the mentioned
9. 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
10. Initial release of MongoDB was in the year? [ ]
a) 2000 b) 2005 c) 2009 d) 2011
11. 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 [ ]
12. 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
13. Dynamic schema in MongoDB makes ____________ easier for applications. [ ]
a) inheritance b) polymorphism c) encapsulation d) none of the mentioned
14.  With ________ MongoDB supports a complete backup solution and full deployment monitoring.
a) MMS b) AMS c) CMS d) DMS [ ]

15. The data model available within MongoDB allows us to represent ___. [ ]
A. Hierarchical relationships B. Able to handle complex structures C. Both A. and B.
D. None of the mentioned above

16. A record in MongoDB is a ___. [ ]

A. Document B. Table C. Application D. None of the mentioned above

17. MongoDB stores documents in ___. [ ]

A. Store B. Collections C. Indexes D. None of the mentioned above


18. A document is a set of ___. [ ]

A. Key-value pairs B. Application pairs C. Activity pair set D. None

19. MongoDB supports searching by ___. [ ]

A. Field B. Range queries C. Regular expression searches D. All above


20. A _______ set is a group of mongod instances that host the same data set. [ ]
a) copyb) sorted c) radii d) replica
21. A replica set can have only ________ primary. [ ]
a) One b) Two c) Three d) All of the mentioned
22. Fault Tolerance in RDD is achieved using [ ]
(a) Immutable nature of RDD
(b) DAG (Directed Acyclic Graph)
(c) Lazy-evaluation
(d) None of the above
23. Scala programming language was developed by – [ ]

A. James Gosling
B. Martin Odersky
C. Dennis MacAlistair Ritchie
D. Guido van Rossum

24.
24. Data in ______ bytes size is called big data
A. Meta B. Giga C. Tera D. Peta

25. Transaction of data of the bank is a type of ____________


A. Unstructured data B. Structured data C. Both a and b D. None
26. The total forms of big data is _______________
A. 1 B. 2 C. 3 D. 4
1 2 3 4 5 6 7 8 9 10 1 12 13 14 15 1 17 18 19 20
1 6
B C B C C A D C A C B C B A C A B A D D
21 22 23 24 25 26 27 28 29 30
A B B D B

You might also like