MOD E06: Logs, Auditing, & Software Packages Flashcards
What is known as the parent of all Linux processes with PID?
init
What program opens the terminal device, initializes it, prints login: and waits for a user name to be entered?
getty
The login name is looked up in what file?
- /etc/profile
- /etc/passwd
- /home/usr
- /bin/look
/etc/passwd
What protocol is a way to transport messages from network devices to a syslog server?
syslog
Which of the following is not one of the three Syslog Standard layers?
- Syslog Content
- Syslog Application
- Syslog Transport
- Syslog Header
Syslog Header
Which of the following are not part of the Syslog standard format all applications and devices can use?
- Header
- Structured Data
- logs
- Message
logs
What contains data blocks followed by the message?
Header
Structured Data
Message
Metadata
Structured Data
What Includes host name, priority, application, process ID, and message ID?
- Header
- Structured Data
- Message
- Metadata
Header
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
Syslog Transport
What Syslog component gathers and processes Syslog data sent over UDP port 514?
- Syslog database
- Management and Filtering Software
- Message
- Syslog listener
Syslog listener
Which file contains binary executable programs, required by System Administrator?
- /bin
- /tmp
- /etc
- /sbin
/sbin
A user plugs in a removable hard drive, which file would contain the information of the hard drive?
- /media
- /mnt
- /bin
- /home
/media
Which file is useful for recovering files due to an unexpected power outage?
- /lib
- /lost+found
- /sys
- /tmp
/lost+found
This directory contains log, lock, spool, mail and temp files.
- /sys
- /mnt
- /bin
- /var
/var
The root directory is denoted by what character?
/
A package is a _______ for metadata.
container
________ are a way to install applications in Linux.
Packages
What command runs an update to ensure the latest up-to-date packages are installed?
(full command)
sudo apt-get update
What command is defined as “Syncs packages with sources. Verifies the right files will be installed”?
sudo apt-get update
What command is defined as “Syncs packages with sources. Verifies the right files will be installed”?
sudo apt-get upgrade
What Package Manager is a popular package manager built for Arch Linux?
- Pacman
- Zypper
- RPM
- Portage
Pacman
What Package Manager is defined as a command line package manager on OpenSUSE Linux?
- Pacman
- RPM
- Zypper
- Portage
Zypper
What Package Manager is a package manager for Gentoo?
- Pacman
- Zypper
- RPM
- Portage
Portage
_____ serves as a way to update Linux systems, and keep them secure.
- package manager
- Zypper
- Patching
- Bootloader
Patching
Security-related patches should be deployed immediately.
[True / False]
True
UNIX allows users to create patches for software and submit them to be review/implemented.
[True / False]
True
What command can be used to implement a patch?
patch
What type of files are patch files?
diff
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]
False