
LPIC-1 102試験 模試④:29-32
問題29:ネットワークの通信経路上にある障害発生箇所を特定する際に用いるコマンドはどれですか?
A) ping
B) traceroute
C) netstat
D) nslookup
問題30:rsyslogでauthファシリティのすべてのログを/var/log/auth.logに記録し、重大なエラーレベル以上のログをリモートホストに送信する適切な設定は次のうちどれですか?
A)
auth.err /var/log/auth.log
auth.err loghost.example.com
B)
auth.* /var/log/auth.log
auth.err @remote.example.com
C)
auth:* /var/log/auth.log
auth.err @@loghost.example.com
D)
auth,* /var/log/auth.log
auth.warn @remote.example.com
問題31:印刷キューの内容を確認するために使用するコマンドはどれですか?
A) lpc
B) lprm
C) lpq
D) lpd
問題32:rsyslogでcronファシリティの全メッセージを/var/log/cronに保存し、重大なエラーをリモートホストに送信する適切な設定はどれですか?
A)
cron:* /var/log/cron
cron.crit @loghost.example.com
B)
cron.* /var/log/cron
cron.crit @remote.example.com
C)
cron.crit /var/log/cron
cron:* loghost.example.com
D)
cron,* /var/log/cron
cron.err @@remote.example.com