Total Questions : 10
Expected Time : 10 Minutes

1. Which operator is used to update a specific field in a document?

2. How does MongoDB handle transactions, and what types of operations support transactions?

3. Which aggregation stage is used to group documents by multiple fields?

4. Explain the significance of the ObjectId in MongoDB documents.

5. In MongoDB, what is a capped collection?

6. What is the purpose of the `ttl` index type in MongoDB?

7. What is the purpose of the `db.createView()` method in MongoDB?

8. How can you perform an upsert operation in MongoDB?

9. How does MongoDB handle data consistency in a distributed environment?

10. What is a sharded cluster in MongoDB, and why might it be used?