SELF TEST

Use the following questions to test your recall and understanding of the chapter’s material.

Understanding System Logging

1. Which two options are valid selectors?

A. news.info

B. lpr.news

C. local5.*

D. mail.none

2. Which of these files or commands will reveal the current PID of the syslogd process? (Pick all that apply.)

A. svcs -p system-log:default

B. pgrep syslog.conf

C. cat /var/run/syslog.pid

D. cat /system/volatile/syslog.pid

3. Which of the following options are valid syslog actions? (Pick all that apply.)

A. The file messages

B. The user root

C. @localhost

D. *

4. A log message will always contain which two options listed?

A. Tag

B. Message

C. Message ID

D. Port number

5. Which statement correctly describes the selector chain ...

Get OCA Oracle Solaris 11 System Administration Exam Guide (Exam 1Z0-821) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.