Home > Databases > Quizzes > DBMS (Database Management System) With MongoDB Practice Test
DBMS (Database Management System) With MongoDB Practice Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 66% Most missed: “The MongoDB explain() method does not support which of the following verbosity m…”

MongoDB is a source-available cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas.

DBMS (Database Management System) With MongoDB Practice Test
Time left 00:00
25 Questions

1. Which of the following is correct explanation of MongoDB processes?
2. What is the output of the following program?
3. In a collection that contains 100 post documents, what does the following command do?
db.posts.find().skip(5).limit(5)
4. Which of the following commands will return all the posts with number of likes greater than 100 and less than 200, both inclusive?
5. Which of the following commands can cause the database to be locked?
6. mongoimport command is used to:
7. In our posts collection, which command can be used to find all the posts whose author names begin lie between
8. The MongoDB explain() method does not support which of the following verbosity mode:
9. By default, the MongoDB cursor in mongo shell is configured to return how many documents? To get the next set of documents, which command is used?
10. A collection and a document in MongoDB is equivalent to which of the SQL concepts respectively?
11. Consider that you have a collection called population which has fields state and city. Which of the following query will calculate the population grouped by state and city?
12. What is the maximum size of a MongoDB document?
13. Within how much time does MongDB writes are written to the journal?
14. In a replica set, a ________ number of members ensures that the replica set is always able to select a primary.
15. Which of the following is true about sharding?
16. Which of the following commands finds all the documents in the posts collection with post timestamp field as null?
17. Which is the default mode in which the explain() command runs?
18. A collection and a document in MongoDB is equivalent to which of the SQL concepts respectively?
19. Consider a collection posts which has fields: _id, post_text, post_author, post_timestamp, post_tags etc. Which of the following query retrieves ONLY the key named post_text from the first document retrieved?
20. Which of the following is correct about MongoDB?
21. What kind of database MongoDB is?
22. Which of the following command can be used to check the size of a collection named posts?
23. Which of the following replica sets vote in the election of a primary replica set?
24. For capped collection, cursors which do not automatically close and remain open after the client exhausts the results are called:
25. Which of the following is incorrect statement about find and findOne operations in MongoDB?