nerdexam
CompTIA

LX0-104 · 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 an OpenLDAP slave (consumer) server using slapd.conf, the updatedn directive is added, while replogfile and replica directives are omitted as they are for the master (provider) server.

Essential System Services

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

(18 responses)
  • A
    17% (3)
  • B
    78% (14)
  • D
    6% (1)

Why each option

When configuring an OpenLDAP slave (consumer) server using `slapd.conf`, the `updatedn` directive is added, while `replogfile` and `replica` directives are omitted as they are for the master (provider) server.

AAdd a replica directive to slapd.conf.

The `replica` directive is configured on the *master* server to manage replication to slaves, not on the slave server itself.

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

The `replogfile` directive is specified on the master (provider) server to log updates, not on the slave (consumer) server which consumes these logs.

CAdd an updatedn directive to slapd.conf.Correct

The `updatedn` directive on a slave server specifies the DN of the user who has privileges to perform updates received from the master, ensuring proper authentication for the replication process.

DAdd a replogfile directive to slapd.conf.

The `replogfile` directive is configured on the *master* server where the replication log is generated, not on the slave.

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

The `replica` directive is used on the *master* (provider) server to define the details of its replication consumers (slaves), so it should not be present on the slave server itself.

Concept tested: OpenLDAP replication configuration (consumer)

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

Topics

#LDAP replication#slapd configuration#slave server

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice