đŸ§ª MongoDB MCQ Quiz Hub

MongoDB Mcq Question Set 2

Choose a topic to test your knowledge and improve your MongoDB skills

1. Which of the following is not a part of mongodb-enterprise-tools?




2. Point out the wrong statement.




3. MongoDB only provides Enterprise packages for Ubuntu ________ LTS.




4. Which of the following is the Ubuntu package management tool?




5. Command to install the latest stable version of MongoDB Enterprise in Ubuntu is _____




6. mongod process is stopped by issuing which of the following command?




7. _______ package contains the mongo shell.




8. To install the latest stable version of MongoDB on SUSE, issue ______




9. Point out the correct statement.




10. The MongoDB instance stores its _________ files in /var/lib/mongo by default.




11. The MongoDB process listens on port _________ by default.




12. Point out the wrong statement.




13. Which of the following file is a MongoDB configuration file?




14. User account running mongod has _______ permissions for the directory.




15. _____ allows you to scale your cluster linearly by adding more machines.




16. MongoDB is installed unattended on Windows from the command line using ____




17. Sometimes mongod.exe is visible on public networks without running in _________ Mode with the auth setting.




18. _____ does not dump the content of the local database.




19. Point out the correct statement.




20. To backup all the databases in a cluster via mongodump, you should have the ___________ role.




21. _____ is a routing service for MongoDB shard configurations that processes queries from the application layer.




22. Point out the wrong statement.




23. ______ sends all diagnostic logging information to a log file instead of to standard output or to the host’s syslog system.




24. _____ is the primary daemon process for the MongoDB system.




25. _____ is a diagnostic tool for inspecting BSON files.




26. Which of the following is a utility to check disk I/O performance independently of MongoDB?




27. ______ utility makes it possible to manipulate files stored in your MongoDB instance in GridFS objects from the command line.




28. ______ is a part of the standard MongoDB distribution and provides a full JavaScript environment.




29. Point out the correct statement.




30. mongo looks for a database server listening on port 27017 on the ________ interface.




31. After starting the mongo shell, your session will use the ________ database by default.




32. Point out the wrong statement.




33. _______ command display the list of databases.




34. Which of the following operation is used to switch to new database mydb?




35. Which of the following also returns a list of databases?




36. Command to check existence of collection is ______




37. Which of the following method is used to query documents in collections?




38. When you query a collection, MongoDB returns a ________ object that contains the results of the query.




39. Point out the correct statement.




40. Which of the following method returns true if the cursor has documents?




41. _____ method renders the document in a JSON-like format.




42. Point out the wrong statement.




43. Which of the following method is called while accessing documents using the array index notation?




44. The mongo shell and the drivers provide several cursor methods that call on the cursor returned by the _______ method to modify its behavior.




45. Which of the following method corresponds to Order by clause in SQL?




46. The __________ method limits the number of documents in the result set.




47. Which of the following line skips the first 5 documents in the bios collection and returns all remaining documents?




48. Which of the following will implicitly create the collection testData?




49. Point out the correct statement.




50. Which of the following method returns a cursor?