Workbook 2: Hardware Flashcards

1
Q

Which process types are supported by Red Hat Enterprise Linux?

A

Intel and AMD x86 32 bit processors, Intel and AMD x86 64 bit processors, IBM s/390 processors, IBM series Z processors

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

The /proc filesystem provides what function?

A

It provides an interface for humans to view information in the kernel.

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

What is an expected device name for a USB drive on a system ?

A

/dev/sdb

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

Which file contains a snapshot of the kernel’s dmesg buffer soon after the most recent boot?

A

/var/log/dmesg

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

Which command displays the current contents of the kernel’s dmesg buffer?

A

dmesg

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

What command can be used to monitor hardware changed dynamically?

A

lshal -m

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

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
8
Q

What command is used to request the removal of a module?

A

modprobe -r

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

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
10
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
11
Q

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
12
Q

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
13
Q

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
14
Q

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
15
Q

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
16
Q

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

17
Q

Which of the following commands conveniently lists all connected PCI devices?

A

lspci

18
Q

What about the above output implies a misconfiguration of the machine?

A

None of these conditions necessarily imply problems.

19
Q

Which of the following files lists currently claimed I/O ports?

A

/proc/ioports

20
Q

Which of the following files lists the physical addresses of currently mapped memory (including RAM and other devices)?

A

/proc/iomem

21
Q

What I/O port base address(es) is (are) being used by the sound card?

A

2000 and 2400

22
Q

How much of the video card’s memory has been mapped into the system?

A

48 megabytes

23
Q

which file lists modules loaded on the system?

A

/proc/devices

24
Q

What two types of filesystem device nodes exist in Linux?

A

character and block device nodes

25
Q

Which of the following files is the device node for the CDROM drive?

A

/dev/sr0

26
Q

Which of the following is the device node for the SCSI disk with a SCSI ID of 3?

A

Not enough information is provided

27
Q

A USB drive is added to the system. What command must be run to create the device node?

A

No command needs to be run. udev will create the device node automatically

28
Q

What is the name of the utility which displays a dynamically updated list of processes currently running on the machine, as well as CPU and memory utilization statistics?

A

top

29
Q

What file contains information about current memory utilization?

A

/proc/meminfo