Information Technology Reference
In-Depth Information
The correct answer is D. An asterisk can be used to represent all source facil-
ities except
mark
; therefore, answer A is incorrect. No symbol or keyword is
available to represent all severity levels or all messages; therefore, answers B
and C are incorrect.
Question 7
What is the
-f
command-line argument of the
logger
command used to
specify?
❍
A. An alternative log file.
❍
B.
A file that contains the log message.
❍
C. A file that contains the tag associated with the message.
❍
D. A file that contains the facility associated with the message.
The correct answer is B. Answer A is incorrect, because the
/etc/syslog.conf
file determines the log file based on the facility level of the
message. Answer C is incorrect because the
-t
command-line argument is
used to specify the tag. Answer D is incorrect because the
-p
command-line
argument is used to specify the facility.
Question 8
Which of the following are severity levels? [Select all that apply.]
❑
A.
alert
❑
B.
notice
❑
C.
none
❑
D.
mail
The correct answers are A, B, and C. Answer D is a source facility, not a
severity level, and therefore is incorrect.
Question 9
What is the name of the default log file used for most of the syslog messages?
The correct answer is
/var/adm/messages
.