nerdexam
CompTIA

LX0-104 · Question #434

Which command will instruct slurpd to process the replication error log in one-shot mode for the server 192.168.0.3?

The correct answer is B. slurpd -r /path/to/replication/error/log -o. To process a replication error log file in one-shot mode using slurpd, the command requires specifying the -r option for replication mode and the path to the error log file directly, followed by the -o option for one-shot.

Essential System Services

Question

Which command will instruct slurpd to process the replication error log in one-shot mode for the server 192.168.0.3?

Options

  • Aslurpd -r -h 192.168.0.3 -o
  • Bslurpd -r /path/to/replication/error/log -o
  • Cslurpd -r -o < /path/to/replication/error/log
  • Dslurpd -r -f /path/to/replication/error/log -o
  • Eslurpd -r -o 192.168.0.3

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    93% (25)
  • C
    4% (1)

Why each option

To process a replication error log file in one-shot mode using `slurpd`, the command requires specifying the `-r` option for replication mode and the path to the error log file directly, followed by the `-o` option for one-shot.

Aslurpd -r -h 192.168.0.3 -o

The `-h` option is typically used to specify a host and is not the correct way to provide the log file path for `slurpd`'s one-shot replication error processing.

Bslurpd -r /path/to/replication/error/log -oCorrect

The `slurpd` command, when used with `-r` (replication mode) and `-o` (one-shot mode), expects the path to the replication error log file as an argument to process its contents once. This specific syntax is used to tell `slurpd` which log file to read for one-time processing.

Cslurpd -r -o < /path/to/replication/error/log

Redirecting standard input using `<` is not the standard way to specify the log file for `slurpd`'s replication processing; `slurpd` expects the file path as an argument.

Dslurpd -r -f /path/to/replication/error/log -o

The `-f` option is typically used to specify a configuration file, not the replication error log itself, when `slurpd` is in replication one-shot mode.

Eslurpd -r -o 192.168.0.3

Specifying an IP address after `-o` is incorrect syntax; the `-o` option for one-shot mode expects the log file path as a preceding argument.

Concept tested: OpenLDAP replication error log processing

Topics

#LDAP replication#slurpd command#error log processing

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice