Kernel Logging   «Prev  Next»

System and Kernel Logging - Quiz

Each question is worth one point. Select the best answer or answers for each question.
 

1. Which of the following commands would you use to view the most recent kernel messages?
Please select the best answer.
  A. syslog
  B. logwatch
  C. dmesg
  D. klogd

2. What entry should you add to /etc/syslog.conf to log only kernel events with the level emergency to /var/adm/emergency?
Please select the best answer.
  A. *.emerg /var/adm/emergency
  B. kern.emerg /var/adm/emergency
  C. kern.* /var/adm/emergency
  D. kern.emerg *

3. Which of the following files contains FTP specific logs?
Please select the best answer.
  A. /var/log/messages
  B. /var/log/dmesg
  C. /var/log/maillog
  D. /var/log/xferlog

Correct answers:

Your Score: 0