exam questions

Exam 102-500 All Questions

View all questions & answers for the 102-500 exam

Exam 102-500 topic 1 question 36 discussion

Actual exam question from LPI's 102-500
Question #: 36
Topic #: 1
[All 102-500 Questions]

Which of the following entries in /etc/syslog.conf writes all mail related events to the file /var/log/maillog and sends all critical events to the remote server logger.example.com?

  • A. mail.* /var/log/maillog mail,crit @logger.example.org
  • B. mail.* /var/log/maillog mail.crit syslog://logger.example.org
  • C. mail /var/log/maillog mail.crit @logger.example.org
  • D. mail.* /var/log/maillog mail.crit @logger.example.org
  • E. mail * /var/log/maillog mail crit @logger.example.org
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Jodelo
Highly Voted 2 years, 2 months ago
For your interest, in newer distributions of Ubuntu the configuration file is: /etc/rsyslog.d/50-default.conf
upvoted 12 times
iwkno6
2 years ago
thanks :)
upvoted 2 times
...
...
klever
Highly Voted 8 months ago
In Ubuntu 22.04 it is in /etc/rsyslog.conf
upvoted 5 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago