It’s time to test the MongoDB skills after learning all the MongoDB tutorials. This free MongoDB Quiz will help you prepare for the interview with MongoDB.
MongoDB Quiz is not just a test, but a parameter that will measure your knowledge and capabilities, especially for you. So, if you want to check the basics please refer to our MongoDB tutorial series before taking this advanced MongoDB assessment test.
Results
%3Cspan%20style%3D%22color%3A%20%23339966%22%3E%3Cstrong%3ECongratulations.%3C%2Fstrong%3E%3C%2Fspan%3E
%3Cstrong%3E%3Cspan%20style%3D%22color%3A%20%23ff0000%22%3EFail%3C%2Fspan%3E%2C%20Try%20Again%3C%2Fstrong%3E
#1. What is a replica set node which does not maintain its own data but exists only for voting purpose called?
#2. You can inspect __________ to check the amount of mapped memory that mongod is using
#3. What does the following MongoDB command return? db.posts.find( { likes : { $gt : 100 }, likes : { $lt : 200 } } );
#4. What command will you use to display the database you are using?
#5. The memory usage statuses metrics of the _________ output can provide insight into MongoDB’s memory use.
#6. Create or insert operations add new documents to a collection. If the collection does not currently exist, insert operations will create the collection.
#7. ____________ returns information on the query plan for aggregate function.
#8. What is default port for MongoDB server?
#9. Point out the correct statement.
#10. By default, db.collection.explain() runs in ___________ verbosity mode.
#11. Aggregation Pipelines have a limit of:
#12. Which of the following is correct about MongoDB?
#13. What function do you use to format the query results in mongo shell?
#14. What command will you use to list all available databases?
#15. Point out the wrong statement.
#16. The _______ operator can be used to identify an element in the array to be updated without explicitly specifying the position of the element.
#17. With the _______ storage engine, MongoDB uses memory-mapped files to store data.
#18. Which language is MongoDB written in?
#19. The difference between $push and $addToSet is:
#20. Which of following command will return all items from inventory collection
Pradeep Maurya is the Professional Web Developer & Designer and the Founder of “Tutorials website”. He lives in Delhi and loves to be a self-dependent person. As an owner, he is trying his best to improve this platform day by day. His passion, dedication and quick decision making ability to stand apart from others. He’s an avid blogger and writes on the publications like Dzone, e27.co