MongoDB Online Quiz

mongodbquiz

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.

Table of Contents

Results

Congratulations.

Fail, Try Again

Share your score!
Tweet your score!
Share to other

#1. Create or insert operations add new documents to a collection. If the collection does not currently exist, insert operations will create the collection.

#2. The memory usage statuses metrics of the _________ output can provide insight into MongoDB’s memory use.

#3. Point out the correct statement.

#4. Which of the following is correct about MongoDB?

#5. Which of the operator is used to access the query field of documents within system.profile?

#6. The _______ operator can be used to identify an element in the array to be updated without explicitly specifying the position of the element.

#7. ____________ returns information on the query plan for aggregate function.

#8. What command will you use to list all available databases?

#9. Which of following command will return all items from inventory collection

#10. By default, db.collection.explain() runs in ___________ verbosity mode.

#11. What does the following query do when performed on the posts collection? db.posts.update({_id:1},{Title:This is post with ID 1″})

#12. What is a replica set node which does not maintain its own data but exists only for voting purpose called?

#13. What function do you use to format the query results in mongo shell?

#14. What is the output of the following program?

#15. You can inspect __________ to check the amount of mapped memory that mongod is using

#16. The difference between $push and $addToSet is:

#17. What command will you use to display the database you are using?

#18. What is default port for MongoDB server?

#19. Point out the wrong statement.

#20. With the _______ storage engine, MongoDB uses memory-mapped files to store data.

Finish

Related posts