nerdexam
CompTIA

LX0-104 · Question #222

Which syslog configuration line will send out logged messages to a remote syslog server?

The correct answer is C. *.* @remotehost. To send all logged messages to a remote syslog server, the correct configuration syntax uses the at-sign '@' followed by the remote host's identifier.

Essential System Services

Question

Which syslog configuration line will send out logged messages to a remote syslog server?

Options

  • A. host:remotehost
  • B. remote remotehost
  • C. @remotehost
  • D. host=remotehost

How the community answered

(64 responses)
  • A
    3% (2)
  • C
    95% (61)
  • D
    2% (1)

Why each option

To send all logged messages to a remote syslog server, the correct configuration syntax uses the at-sign '@' followed by the remote host's identifier.

A*.* host:remotehost

`host:remotehost` is not the correct syntax for directing syslog messages to a remote server.

B*.* remote remotehost

`remote remotehost` is not the correct syntax for directing syslog messages to a remote server.

C*.* @remotehostCorrect

The syntax `*.* @remotehost` instructs syslog to send all messages, regardless of facility or priority, to the remote host specified by 'remotehost' via UDP.

D*.* host=remotehost

`host=remotehost` is not the correct syntax for directing syslog messages to a remote server.

Concept tested: Syslog remote logging configuration

Source: https://www.rsyslog.com/doc/v8-stable/tutorials/remote_syslog.html

Topics

#syslog#remote logging#logging configuration

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice