21.
Which of the following is not a default rsyslogd module type?
- A.input
- B.output
- C.parser
- D.firewall
- Answer & Explanation
- Report
Answer : [D]
Explanation :
Explanation :
There are no specific modules for rsyslog that are used to connect rsyslog to firewalling. |
22.
Which input file module parameter would you use to define the priority of
messages that come from the input file?
- A.InputPriority
- B.InputFilePriority
- C.InputSeverity
- D.InputFileSeverity
- Answer & Explanation
- Report
Answer : [D]
Explanation :
Explanation :
The InputFileSeverity parameter is used to specify which severity should be used. |
23.
Which of the following uses correct syntax for loading the input file module?
- A.$ModLoad iminputfile
- B.$ModLoad imfile
- C.$ModLoad inputfile
- D.$ModLoad file
- Answer & Explanation
- Report
Answer : [B]
Explanation :
Explanation :
The imfile module is used to have rsyslogd process messages that are written to files. |
24.
Which of the following is missing in configuration of the ommysql module shown here?
$ModLoad ommysql
*.* :ommysql:...,rsyslog,dbuser,password
$ModLoad ommysql
*.* :ommysql:...,rsyslog,dbuser,password
- A.The name of the server
- B.The port where MySQL is listening on
- C.The name of the database
- D.The name of the table
- Answer & Explanation
- Report
Answer : [A]
Explanation :
Explanation :
The first argument when addressing the mysql output module is the name of the server that runs the database. |
25.
What is the name of the module that is used in rsyslogd to receive messages
that are generated by journald?
- A.imuxsock
- B.imjournal
- C.omuxsock
- D.omjournal
- Answer & Explanation
- Report
Answer : [B]
Explanation :
Explanation :
The imjournal rsyslog module is now the preferred module to use for reception of logging information from journald in rsyslogd. |