Exam 5 Flashcards
What is the full path to the directory that contains information about each kernel module installed on the computer?
incorrect answer. Correct Answer:/sys/module
Which of the following is the full path and filename of the file that contains information about which interrupt request (IRQ) channels are being used by each hardware device on the system?
/proc/interrupts
Which of the following commands displays information about the PCI devices installed on the system?
lspci
Which of the following commands displays information about the RAID devices on the computer?
hwinfo –listmd
Listen to exam instructions
You have installed a new Linux system, and you want to find out information about the CPU and memory.
Which of the following files contains this information? (Select two.)
/cpuinfo
/meminfo
Which of the following commands will display the boot options that were given to the kernel at boot time?
cat /proc/cmdline
You have been currently using a cable to connect your Linux laptop to the company network. You are now, however, required to attend several meetings a week in other parts of the building, and you would like to be able to bring your laptop with you, but you still need access to the network while in the meeting.
Which of the following device types would BEST meet your needs?
WiFi
The hard disk in your Linux laptop has almost reached its maximum storage capacity. You would like to add more hard disk storage, but there is no internal room in the computer.
Which of the following device types is BEST to use if you want to achieve the fastest throughput?
USB
As a network administrator, you have had several employees ask for a way in which they could connect their phones to their Linux computers without the use of wires.
Which of the following device types would BEST meet these employees’ needs?
Bluetooth
Which of the following commands identifies dependency information for all modules and displays the results on the screen without creating a file with the dependency information?
depmod -an
Listen to exam instructions
You’ve just purchased a new input device named GamePad that you want to use on your computer. You don’t think that the GamePad driver (the kernel module) was compiled into the kernel of your Linux distribution.
Which of the following commands will install the driver (gamepad.ko) into the kernel? (Select two.)
insmod gamepad.ko
modprobe gamepad
Which command displays information about all loaded modules on the system?
lsmod
Listen to exam instructions
The modprobe.conf file provides the modprobe utility with default commands for loading modules at boot time.
What is the entry you can use in the file to load a module at boot time?
install
Which utility runs at startup to load modules into the kernel?
modprobe
What file is used to provide configuration settings for the modprobe utility when the modprobe.conf file does not exist?
modprobe.d
Which of the following commands will check for dependencies before loading the gameport module in the kernel?
modprobe gameport
Which of the following commands will check for dependencies before removing the debug module from the kernel?
modprobe -r debug
Which of the following are important to remember when using the rmmod command to remove a module from the kernel? (Select two.)
Does not look for dependencies.
Cannot unload the module if it is in use.
Which of the following describes the difference between the /lib/modules directory and the /usr/lib/modules directory? (Select two.)
Both directories contain hard links to the kernel modules.
/lib/modules is available to root in single-user mode, while /usr/lib/modules is available to all users.
Which of the following device categories do RAM chips, CPUs, expansion cards (such as PCI cards), and standard hard disk drives belong to?
Coldplug devices
Which of the following daemons allow processes to communicate with each other and relay information about hotplug devices?
D-Bus
Which of the following daemons provides all applications with data about the current hardware?
hald
Which of the following devices is a hotplug device?
USB flash drive
Match the term on the left with the correct definition on the right.
Allows processes to communicate with each other and notify one another of new hotplug devices.
Correct Answer:
D-Bus
Provides all applications with data about current hardware.
Correct Answer:
hald
Dynamically creates device files in a virtual file system as devices are added and removed.
Correct Answer:
udev
Exports information about hotplug devices so that other utilities can access the information.
Correct Answer:
sysfs