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.
Question
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)- A17% (3)
- B78% (14)
- D6% (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.
The `replica` directive is configured on the *master* server to manage replication to slaves, not on the slave server itself.
The `replogfile` directive is specified on the master (provider) server to log updates, not on the slave (consumer) server which consumes these logs.
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.
The `replogfile` directive is configured on the *master* server where the replication log is generated, not on the slave.
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
Community Discussion
No community discussion yet for this question.