MongoDB MCQ Quiz Hub

MongoDB Mcq Question Set 9

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

1. Point out the wrong statement.




2. _____ is a challenge-response mechanism that authenticates users through passwords.




3. MongoDB supports _________ certificate authentication for use with a secure TLS/SSL connection.




4. MongoDB __________ supports authentication using a Kerberos service.




5. MongoDB Enterprise supports proxy authentication through _____




6. Every MongoDB mongod and mongos instance (or mongod.exe or mongos.exe on Windows) must have an associated ______




7. MongoDB employs _________ to govern access to a MongoDB system.




8. Point out the correct statement.




9. ______ consists of a specified resource and the actions permitted on the resource.




10. ______ provides all the privileges of the read role.




11. Point out the wrong statement.




12. MongoDB stores user credentials in the protected admin.system._____




13. You must have the _______ action on a database to create a new user on that database.




14. Data of <database>.system.indexes can be accessed using _____




15. You must have the __________ action on a role’s database to grant the role to another user.




16. Command listIndexes.ok returning value 1 indicates ______




17. Administrators can implement collection-level access control through user-defined _____




18. Point out the correct statement.




19. User can grant any role in the database to any user from any database in the system through _________ action.




20. User can remove any role from any user from any database in the system through _____




21. Point out the wrong statement.




22. ____ terminates an operation as specified by the operation ID.




23. Which of the following allows the user to view the information of any user in the given database?




24. ____ deletes from a shard the orphaned documents whose shard key values fall into a single continuous range.




25. Which of the following flushes user information from in-memory cache?




26. ______ displays the cached query plans for the specified query shape.




27. The enabled setting for mongod and mongos instances disables the ______ status page.




28. Point out the correct statement.




29. The net.http.RESTInterfaceEnabled setting for mongod enables a fully interactive administrative __________ interface, which is disabled by default.




30. The ________ setting for mongod and mongos instances limits the network interfaces on which MongoDB programs will listen for incoming connections.




31. Point out the wrong statement.




32. The ________ setting for mongod and mongos instances changes the main port on which the mongod or mongos instance listens for connections.




33. On Linux systems, the ________ interface provides access to the underlying netfilter firewall.




34. On Windows systems _________ command line interface provides access to the underlying Windows Firewall.




35. MongoDB users who use VPNs use ________ rather than IPSEC VPNs for performance issues.




36. By default, the policy in ___________ Firewall allows all outbound connections and blocks all incoming connections.




37. The mongo program can evaluate JavaScript expressions using the command line ________ option.




38. Point out the correct statement.




39. If a .mongorc.js file exists, the mongo shell will evaluate a __________ file before starting.




40. On _________ mongo.exe reads the .mongorc.js file from %HOME%.mongorc.js.




41. Point out the wrong statement.




42. The HTTP interface is always available on the port numbered _________ greater than the primary mongod port.




43. The _______ API to MongoDB provides additional information and write access on top of the HTTP status interface.




44. _____ instances provide query routing for sharded clusters.




45. Config servers, host the _______ database that stores metadata for sharded clusters.




46. Config servers listen for connections on port _____




47. The auditing facility can write audit events to the console, the _________ a JSON file, or a BSON file.




48. Point out the correct statement.




49. _____ contains the local ip address and the port number of the running instance.




50. Enabling _____________ degrades performance more than logging only the authorization failures.




51. Use the ______ option to enable auditing and specify where to output the audit events.




52. The audit file rotates at the same time as the ________ log file.




53. To view the contents of the file, pass the file to the MongoDB utility _____




54. The _____________ option accepts either full path name or relative path name.




55. The _________ message limit can result in the truncation of the audit messages.