nerdexam
SUN

310-202 · Question #64

Your syslog configuration file contains the line: Sun 310-202 Exam mai1.debug ifdef(*LOGHOST', /var/1og/sys1og, @1oghost) Which three are correct statements about this entry? (Choose three.)

The correct answer is A. The ifdef statement is interpreted by the m4 processor. C. If the loghost alias is set to be the local host, messages are sent to the /var/log/syslog file. E. If the loghost alias is NOT set to the local host, messages are sent to the host defined as the loghost. See the full explanation below for the reasoning.

Question

Your syslog configuration file contains the line:

Sun 310-202 Exam mai1.debug ifdef(*LOGHOST', /var/1og/sys1og, @1oghost) Which three are correct statements about this entry? (Choose three.)

Options

  • AThe ifdef statement is interpreted by the m4 processor.
  • BIf the loghost alias is NOT set to the local host, messages are emailed to the root user at the host loghost.
  • CIf the loghost alias is set to be the local host, messages are sent to the /var/log/syslog file.
  • DIf the loghost alias is set to be the local host, messages are sent to the user loghost on the local system.
  • EIf the loghost alias is NOT set to the local host, messages are sent to the host defined as the loghost.

How the community answered

(26 responses)
  • A
    73% (19)
  • B
    19% (5)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full 310-202 Practice