nerdexam
SUN

310-202 · Question #184

A company develops storage host bus adapters. All of the company's disk arrays log messages to a central log host named scribe through the local5 facility. Some of these disk arrays are used for…

The correct answer is B. local5.debug /var/adm/arrays.debug D. local5.warning /var/adm/arrays.messages. See the full explanation below for the reasoning.

Question

A company develops storage host bus adapters. All of the company's disk arrays log messages to a central log host named scribe through the local5 facility. Some of these disk arrays are used for production work by human resources and some are used by the development teams to test their new host bus adapters. The previous administrator put the following line in the /etc/syslog.conf file on scribe to log messages from the arrays:

local5.warning /var/adm/messages Recently, the development team encountered a difficult problem and turned on the full debug output from a disk array. They request that scribe log all of that information. Logging all of the debug messages will create a large number of messages that could cause an administrator to overlook real problems with the production disk arrays or to overlook scribe system problems. You want to have the syslog.conf file stop using /var/adm/messages for the local5 facility messages. You want to log warning and above levels for the local5 facility to /var/adm/arrays.messages and log debug and above level messages for the local5 facility to /var/adm/arrays.debug. Which two statements in /etc/syslog.conf will accomplish this? (Choose two.)

Options

  • A*.debug /var/adm/messages
  • Blocal5.debug /var/adm/arrays.debug
  • Clocal5.warning /var/adm/arrays.debug
  • Dlocal5.warning /var/adm/arrays.messages
  • E!local5.debug /var/adm/arrays.messages

How the community answered

(17 responses)
  • B
    82% (14)
  • C
    6% (1)
  • E
    12% (2)

Community Discussion

No community discussion yet for this question.

Full 310-202 Practice