Home »
MCQs »
MongoDB MCQs
MongoDB Enterprise provides mongoldap for testing MongoDB’s LDAP configuration options against a running ___
48. MongoDB Enterprise provides mongoldap for testing MongoDB’s LDAP configuration options against a running ___.
- LDAP server
- Set of servers.
- Both A and B
- None of the mentioned above
Answer: C) Both A and B
Explanation:
LDAP configuration options in MongoDB Enterprise can be tested against a live LDAP server or set of servers using mongoldap, which is included with the MongoDB Enterprise installation. Configure the mongoldap —config option to the path of the LDAP configuration file in order to validate the LDAP options in the configuration file. mongoldap generates a report that includes information about whether any step in the LDAP authentication or authorization procedure was successful or unsuccessful.
Error messages contain information about the specific errors that were encountered, as well as possible advice for resolving the error.
The mongoldap configuration utility executes an LDAP query constructed with the provided configuration options and username, and returns a list of roles on the admin database that the user is authorized to perform.