Question Paper: MongoDB Fundamentals
Instructions: Answer all questions to the best of your ability.
Section A: Short Answer Questions (2 Marks each)
1. Define NoSQL and briefly explain its features.
2. Explain the concept of a key-value database with an example.
3. What is a wide-column database? Explain with an example.
4. Describe graph-based databases and their use cases.
5. List and explain the features of MongoDB.
6. Explain the concept of replication in MongoDB architecture.
7. Illustrate the concept of sharding in MongoDB architecture.
Section B: Long Answer Questions (5 Marks each)
1. Explain the insertOne() and insertMany() methods in MongoDB with syntax and
examples.
2. Describe the updateOne() and updateMany() methods in MongoDB with syntax and
examples.
3. What is an index in MongoDB? Explain the different types of indexes. How to create,
show, and drop an index in MongoDB? Provide syntax and examples.
4. What are documents and collections in MongoDB? Explain with examples. What is the
MongoDB shell? Define partition tolerance and the CAP theorem.