Saved Bookmarks
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which command can be used to provide various information on the query plans used by a MongoDB query? |
| Answer» | |
| 2. |
Can you run multiple Javascript operations in a single mongod instance? |
| Answer» | |
| 3. |
What is GridFS? |
| Answer» | |
| 4. |
How can concurrency affect replica sets primary? |
| Answer» | |
| 5. |
Can one MongoDB operation lock more than one databases? If yes, how? |
| Answer» | |
| 6. |
How can you isolate your cursors from intervening with the write operations? |
| Answer» | |
| 7. |
How does MongoDB provide concurrency? |
| Answer» | |
| 8. |
Can you configure the cache size for WiredTiger? How? |
| Answer» | |
| 9. |
Can you configure the cache size for MMAPv1? How? |
| Answer» | |
| 10. |
Mention the command to check whether you are on the master server or not. |
| Answer» | |
| 11. |
How does Journaling work in MongoDB? |
| Answer» | |
| 12. |
What is the role of a profiler in MongoDB? Where does the writes all the data? |
| Answer» | |
| 13. |
Which are the two storage engines used by MongoDB? |
| Answer» | |
| 14. |
What is a Storage Engine in MongoDB |
| Answer» | |
| 15. |
Why MongoDB is not preferred over a 32-bit system? |
| Answer» | |
| 16. |
When should we embed one document within another in MongoDB? |
| Answer» | |
| 17. |
Why are MongoDB data files large in size? |
| Answer» | |
| 18. |
By default, MongoDB writes and reads data from both primary and secondary replica sets. True or False. |
| Answer» | |
| 19. |
What are Primary and Secondary Replica sets? |
| Answer» | |
| 20. |
What is Replication in MongoDB? Explain. |
| Answer» | |
| 21. |
What is Sharding in MongoDB? Explain. |
| Answer» | |
| 22. |
What is Aggregation in MongoDB? |
| Answer» | |
| 23. |
How can you achieve transaction and locking in MongoDB? |
| Answer» | |
| 24. |
At what interval does MongoDB write updates to the disk? |
| Answer» | |
| 25. |
Mention the command to list all the indexes on a particular collection. |
| Answer» | |
| 26. |
What happens if an index does not fit into RAM? |
| Answer» | |
| 27. |
Does MongoDB provide a facility to do text searches? How? |
| Answer» | |
| 28. |
Why is a covered query important? |
| Answer» | |
| 29. |
What is a covered query in MongoDB? |
| Answer» | |
| 30. |
Can you create an index on an array field in MongoDB? If yes, what happens in this case? |
| Answer» | |
| 31. |
How many indexes does MongoDB create by default for a new collection? |
| Answer» | |
| 32. |
What are Indexes in MongoDB? |
| Answer» | |
| 33. |
Mention the command to insert a document in a database called school and collection called persons. |
| Answer» | |
| 34. |
If you remove a document from database, does MongoDB remove it from disk? |
| Answer» | |
| 35. |
MongoDB uses BSON to represent document structures. True or False? |
| Answer» | |
| 36. |
Explain the structure of ObjectID in MongoDB. |
| Answer» | |
| 37. |
Does MongoDB pushes the writes to disk immediately or lazily? |
| Answer» | |
| 38. |
Does MongoDB need a lot of RAM? |
| Answer» | |
| 39. |
How can you achieve primary key - foreign key relationships in MongoDB? |
| Answer» | |
| 40. |
Does MongoDB support ACID transaction management and locking functionalities? |
| Answer» | |
| 41. |
Does MongoDB support foreign key constraints? |
| Answer» | |
| 42. |
Compare MongoDB and CouchDB at high level. |
| Answer» | |
| 43. |
How is MongoDB better than other SQL databases? |
| Answer» | |
| 44. |
Compare SQL databases and MongoDB at a high level. |
| Answer» | |
| 45. |
Which all languages can be used with MongoDB? |
| Answer» | |
| 46. |
What is a Namespace in MongoDB? |
| Answer» | |
| 47. |
Which are the most important features of MongoDB? |
| Answer» | |
| 48. |
What kind of NoSQL database MongoDB is? |
| Answer» | |
| 49. |
What are NoSQL databases? What are the different types of NoSQL databases? |
| Answer» | |