Chapter 13 Exam Flashcards

1
Q

When you execute the dmesg command, the system displays messages that are generated by the kernel.
True or False?

True
False

A

True

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

The Linux kernel mounts the following pseudo-filesystems to provide access to information about hardware devices connected to the system:
(choose two)

/devices
/proc
/info
/sys

A

/proc

/sys

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

The /proc directory contains a subdirectory for each process present on the system.
True or False?

True
False

A

True

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

The Process ID (PID) of the init process is:

0
1
100
varies

A

1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
The process (ps) command shows only processes running in the current shell by default.
True or False?

True
False

A

True

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

The following system load averages are displayed by the top command:
(choose three)

15 minute
1 minute
10 minute
5 minute

A

15 minute
1 minute
5 minute

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

The free command outputs statistics about:

CPU usage
Software usage
Memory usage
Disk usage

A

Memory usage

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

What directory typically contains log files?

/proc/loc
/log
/usr/log
/var/log

A

/var/log

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

Which log file contains messages regarding authentication and authorization?

secure
dmesg
syslog
messages

A

secure

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

All log files contain only text data.
True or False?

True
False

A

False

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

A load average of 1.0 always means the system is fully loaded.
True or False?

True
False

A

False

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

A command that will continuously update statistics about running processes:

tail
head
top
Bottom

A

top

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

Which of the following is a valid Linux option style for Traditional Unix:

two dashes (–)
slash (/)
no dash
a single dash (-)

A

a single dash (-)

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

Which file contains the information passed to the kernel at boot time?

/proc/kargs
/proc/kopts
/proc/cmdline
/proc/kernel

A

/proc/cmdline

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

To make changes permanent for kernel parameter files found under /proc/sys, the following file can have entries added to it:

/etc/sysinfo.conf
/etc/procctl.conf
/etc/sysctl.conf
/etc/procsys.conf

A

/etc/sysctl.conf

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

The /var directory has files that change over time.
True or False?

True
False

A

True

17
Q

Information about the init process can be found in the /proc/1 directory.
True or False?

True
False

A

True

18
Q

Which of the following commands will allow you to view all processes on the system?
(choose two)

ps -ef
ps
ps -A
ps aux
ps -eLf
A

ps -ef

ps aux

19
Q

The logging daemon on recent Linux distributions based on systemd is called:

klogd
journald
rsyslogd
syslogd

A

journald

20
Q

What does the acronym FHS stand for among the the standards supported by the Linux Foundation?

Filesystem Hierarchy Standard
File Hierarchy Standard
Filesystem Hierarchy Structure

A

Filesystem Hierarchy Standard

21
Q
Which directory is the root of the filesystem?
/sys
/root
/
/home
/var
A

/

22
Q

The sbin directories are primarily intended to be used by the root user.
True or False?

True
False

A

True