Search Header Logo

Syslog and Logrotate Quiz

Authored by Naveen Yadav

Other

12th Grade

Used 3+ times

Syslog and Logrotate Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A Syslog server is set up but is not receiving logs from a client. What could be the issue?

The rsyslog service on the client is stopped.

The server is using port 22 instead of 514.

The client has not configured remote logging.

All of the above.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which file do you edit to configure rsyslog on a Linux server?

/etc/rsyslog.d/

/var/log/rsyslog.log

/etc/rsyslog.conf

/etc/logrotate.d/rsyslog

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What protocol does Syslog commonly use for sending logs?

HTTP

UDP

FTP

TCP

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You want to configure a Syslog server to accept logs only from a specific IP. Which directive can be used?

$AllowedClients

$ModLoad imtcp

$InputTCPServerRun

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you generate a test log message on a Linux system?

echo "log message" > /var/log/syslog

loggenerate "test message"

logger "test message"

touch /var/log/test.log

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A user reports that application logs are not reaching the Syslog server. What's the first troubleshooting step?

Check the disk space on the client machine.

Restart the client machine.

Verify the rsyslog configuration on the client.

Compress older logs.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the rsyslog.conf file, what does the line *.info @192.168.1.10 do?

Filters logs with info priority.

Forwards logs with info priority to 192.168.1.10.

Stores logs locally.

Deletes logs with info priority.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?