MOD E06: Logs, Auditing, & Software Packages Flashcards

1
Q

What is known as the parent of all Linux processes with PID?

A

init

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What program opens the terminal device, initializes it, prints login: and waits for a user name to be entered?

A

getty

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The login name is looked up in what file?

  • /etc/profile
  • /etc/passwd
  • /home/usr
  • /bin/look
A

/etc/passwd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What protocol is a way to transport messages from network devices to a syslog server?

A

syslog

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following is not one of the three Syslog Standard layers?

  • Syslog Content
  • Syslog Application
  • Syslog Transport
  • Syslog Header
A

Syslog Header

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following are not part of the Syslog standard format all applications and devices can use?

  • Header
  • Structured Data
  • logs
  • Message
A

logs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What contains data blocks followed by the message?

Header

Structured Data

Message

Metadata

A

Structured Data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What Includes host name, priority, application, process ID, and message ID?

  • Header
  • Structured Data
  • Message
  • Metadata
A

Header

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which one of the Syslog Standards three layers is defined as the layer that transmits the message?

  • Syslog Content
  • Syslog Application
  • Syslog Transport
  • Syslog Message
A

Syslog Transport

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What Syslog component gathers and processes Syslog data sent over UDP port 514?

  • Syslog database
  • Management and Filtering Software
  • Message
  • Syslog listener
A

Syslog listener

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which file contains binary executable programs, required by System Administrator?

  • /bin
  • /tmp
  • /etc
  • /sbin
A

/sbin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A user plugs in a removable hard drive, which file would contain the information of the hard drive?

  • /media
  • /mnt
  • /bin
  • /home
A

/media

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which file is useful for recovering files due to an unexpected power outage?

  • /lib
  • /lost+found
  • /sys
  • /tmp
A

/lost+found

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

This directory contains log, lock, spool, mail and temp files.

  • /sys
  • /mnt
  • /bin
  • /var
A

/var

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

The root directory is denoted by what character?

A

/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A package is a _______ for metadata.

A

container

17
Q

________ are a way to install applications in Linux.

A

Packages

18
Q

What command runs an update to ensure the latest up-to-date packages are installed?

(full command)

A

sudo apt-get update

19
Q

What command is defined as “Syncs packages with sources. Verifies the right files will be installed”?

A

sudo apt-get update

20
Q

What command is defined as “Syncs packages with sources. Verifies the right files will be installed”?

A

sudo apt-get upgrade

21
Q

What Package Manager is a popular package manager built for Arch Linux?

  • Pacman
  • Zypper
  • RPM
  • Portage
A

Pacman

22
Q

What Package Manager is defined as a command line package manager on OpenSUSE Linux?

  • Pacman
  • RPM
  • Zypper
  • Portage
A

Zypper

23
Q

What Package Manager is a package manager for Gentoo?

  • Pacman
  • Zypper
  • RPM
  • Portage
A

Portage

24
Q

_____ serves as a way to update Linux systems, and keep them secure.

  • package manager
  • Zypper
  • Patching
  • Bootloader
A

Patching

25
Q

Security-related patches should be deployed immediately.

[True / False]

A

True

26
Q

UNIX allows users to create patches for software and submit them to be review/implemented.

[True / False]

A

True

27
Q

What command can be used to implement a patch?

A

patch

28
Q

What type of files are patch files?

A

diff

29
Q

Patches can be buggy, which means you typically don’t do a test run on a patch before installing it on all systems.

[True / False]

A

False