nerdexam
Linux_Foundation

LFCS · Question #144

Which of the following steps should be followed when configuring a slave slapd server? (Choose THREE correct answers.)

The correct answer is B. Do not add a replogfile directive to slapd.conf. C. Add an updatedn directive to slapd.conf. E. Do not add a replica directive to slapd.conf. When configuring a slave OpenLDAP server for replication in a legacy slapd.conf setup, it's crucial to define the updatedn and to avoid master-specific directives like replica and replogfile.

Submitted by yaw92· Apr 18, 2026Service Configuration

Question

Which of the following steps should be followed when configuring a slave slapd server? (Choose THREE correct answers.)

Options

  • AAdd a replica directive to slapd.conf.
  • BDo not add a replogfile directive to slapd.conf.
  • CAdd an updatedn directive to slapd.conf.
  • DAdd a replogfile directive to slapd.conf.
  • EDo not add a replica directive to slapd.conf.

How the community answered

(44 responses)
  • A
    20% (9)
  • B
    70% (31)
  • D
    9% (4)

Why each option

When configuring a slave OpenLDAP server for replication in a legacy `slapd.conf` setup, it's crucial to define the `updatedn` and to avoid master-specific directives like `replica` and `replogfile`.

AAdd a replica directive to slapd.conf.

The `replica` directive is used on the master server to define its slaves, not on the slave server itself; including it on a slave is incorrect.

BDo not add a replogfile directive to slapd.conf.Correct

A `replogfile` directive is typically used on the master server to log changes for replication consumers (slaves), so it should not be added to a slave server's configuration.

CAdd an updatedn directive to slapd.conf.Correct

The `updatedn` directive defines the distinguished name of the identity that the slave server uses to bind to the master server for updates, which is essential for the slave to receive replication data.

DAdd a replogfile directive to slapd.conf.

The `replogfile` directive is a master-side configuration option, enabling the master to track changes for replication; it is not configured on the slave server.

EDo not add a replica directive to slapd.conf.Correct

The `replica` directive is used on the master server to specify the replica consumers (slaves) that it will send updates to, so it should not be present in the configuration of a slave server itself.

Concept tested: OpenLDAP slave server configuration (slapd.conf)

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

Topics

#OpenLDAP#LDAP Replication#slapd.conf#Server Configuration

Community Discussion

No community discussion yet for this question.

Full LFCS Practice