Total Questions : 30
Expected Time : 30 Minutes

1. What is the default port for MongoDB?

2. What is the purpose of the $graphLookup stage in MongoDB aggregation?

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

4. What is the purpose of the $push operator in MongoDB?

5. What is the purpose of the `$redact` stage in MongoDB aggregation?

6. In MongoDB, what is the primary role of the `mongos` process?

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

8. Explain the difference between find() and findOne() methods in MongoDB.

9. What is the purpose of the `explain()` method in MongoDB?

10. Which operator is used for equality in MongoDB queries?

11. What is the purpose of the TTL (Time To Live) index in MongoDB?

12. How can you perform a case-sensitive search in MongoDB?

13. In MongoDB, how do you create a compound index?

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

15. What is the role of the WiredTiger storage engine in MongoDB?

16. In MongoDB, what is a capped collection?

17. What is the primary purpose of MongoDB?

18. What is the `$all` operator used for in MongoDB?

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

20. What does the term 'BSON' stand for in MongoDB?

21. How can you perform a multi-field sort in MongoDB?

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

23. In MongoDB, what is the purpose of the `explain()` method?

24. Explain the concept of MongoDB change streams and their use cases.

25. How can you limit the number of documents returned in a MongoDB query?

26. In MongoDB, what is a covered query?

27. Explain the concept of document-level locking in MongoDB.

28. What is the purpose of the $redact stage in MongoDB aggregation?

29. What is the role of an index in MongoDB, and how does it impact query performance?

30. In MongoDB, what is a replica set?