Chapter 2 Flashcards

1
Q
  1. In what directory are kernel modules found?
A

/lib/modules/kernel-version/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. What command is used to request the removal of a module?
A

/lib/modules/kernel-version/

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

Which of the following could be a reason that the module cannot be removed

A

The module’s usage count is greater than 0 OR The module is depended on by another module which is in use.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. What command is used to list all currently inserted kernel modules?
A

lsmod

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. Which command can be used to request the insertion of a kernel module?
A

modprobe

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. What configuration file is examined whenever modprobe inserts a module?
A

/etc/modprobed/*.conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. Which of the following would be a conventionally named static kernel image?
A

/boot/vmlinuz-2.6.32-8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. Which file contains values for /proc/sys/ directory entries which are set automatically at boottime?
A

/etc/sysctl.conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. After editing the file mentioned in the previous question, what command can be run to immediately implement the changes?
A

sysctl -p

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. Within the configuration file mentioned above, which of the following lines would correctly set the value of /proc/sys/net/ipv4/ip_forward to 1?
A

net.ipv4.ip_forward = 1

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