For more interview Question And Answer you can visit Our site press below link
MongoDB Interview Question & Answers
MongoDB interview Q/A
Q1: Explain what is MongoDB? ☆
Answer:
MongoDB is an open-source document database that provides high performance, high availability, and
automatic scaling.
It's Key Features are:
Document Oriented and NoSQL database.
Supports Aggregation
Uses BSON format
Sharding (Helps in Horizontal Scalability)
Supports Ad Hoc Queries
Schema Less
Capped Collection
Indexing (Any field in MongoDB can be indexed)
MongoDB Replica Set (Provides high availability)
Supports Multiple Storage Engines
Q2: What is “Namespace” in MongoDB? ☆☆
Answer:
MongoDB stores BSON (Binary Interchange and Structure Object Notation) objects in the collection. The concatenation of the collection name and database name is
called a namespace
Q3: What do you understand by NoSQL databases? Explain. ☆☆☆
Answer:
At the present time, the internet is loaded with big data, big users, big
complexity etc. and also becoming more complex day by day. NoSQL is answer of
all these problems; It is not a traditional database management system, not
even a relational database management system (RDBMS). NoSQL stands for “Not
Only SQL”. NoSQL is a type of database that can handle and sort all type of
unstructured, messy and complicated data. It is just a new way to think about
the database.
Q4: What is the difference between MongoDB and MySQL? ☆☆☆
Answer:
Although MongoDB and MySQL both are free and open source databases, there is a
lot of difference between them in the term of data representation, relationship, transaction, querying data, schema design and definition, performance speed,
normalization and many more. To compare MySQL with MongoDB is like a comparison
between Relational and Non-relational databases.
Q5: What is the difference b/w MongoDB and CouchDB? ☆☆☆
Answer:
MongoDB and CouchDB both are the great example of open source NoSQL database.
Both are document oriented databases. Although both stores data but there is a
lot of difference between them in terms of implementation of their data models,
interfaces, object storage and replication methods etc.
For more interview Question And Answer you can visit Our site press below link
MongoDB Interview Question & Answers
Top comments (0)