nerdexam
CompTIA

LX0-104 · Question #201

Which of the following are valid choices for the LDAP database backend? (Choose THREE correct answers.)

The correct answer is B. config C. passwd E. shell. Valid OpenLDAP database backends include config for server configuration, passwd for local password file integration, and shell for external command execution.

Essential System Services

Question

Which of the following are valid choices for the LDAP database backend? (Choose THREE correct answers.)

Options

  • Afile
  • Bconfig
  • Cpasswd
  • Dlbdm
  • Eshell

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    93% (27)
  • D
    3% (1)

Why each option

Valid OpenLDAP database backends include `config` for server configuration, `passwd` for local password file integration, and `shell` for external command execution.

Afile

"file" is not a standard, named OpenLDAP database backend; typically, backends like `bdb` or `hdb` store data in files.

BconfigCorrect

The `config` backend (`cn=config`) is a dynamic, in-memory database used by OpenLDAP 2.4 and later to manage the server's configuration, allowing it to be changed without restarting the daemon.

CpasswdCorrect

The `passwd` backend allows OpenLDAP to authenticate users against the local system's password database (e.g., `/etc/passwd` or `/etc/shadow`), which can be useful for integration or simple deployments.

Dlbdm

`lbdm` is not a recognized standard backend for OpenLDAP. Popular traditional backends include `bdb` (Berkeley DB) and `hdb` (Hierarchical DB), and newer ones like `lmdb`.

EshellCorrect

The `shell` backend provides a mechanism to interface OpenLDAP with external programs or scripts, allowing them to handle LDAP operations, offering flexibility for custom integrations or specialized data storage.

Concept tested: OpenLDAP database backends

Source: https://www.openldap.org/doc/admin24/backends.html

Topics

#LDAP#database backend#OpenLDAP configuration

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice