Explore Hardware (2) Flashcards
Objective 102.1 - Weight 2
Which of the following directory’s files are read by the lsblk command to display information?
- /proc
- /dev
- /run
- /media
- /sys
- /sys
The /sys directory (sysfs) contains files which are read by the lsblk command to display information.
Which of the following commands displays information concerning hardware attached to the PCI bus?
- lsblk
- ls /dev/disk/by-path
- cat /proc/dma
- lspci
- lsusb
- ls -l /media
- lspci
Which of the following commands displays information concerning hardware attached via USB?
- lsblk
- ls /dev/disk/by-path
- cat /proc/dma
- lspci
- lsusb
- ls -l /media
5.lsusb
Which of the following commands allows you to see all the currently inserted modules?
- modprobe
- modprobe -r
- lsmod
- modinfo
- rmmod
- insmod
- lsmod
The lsmod command allows you to see all the currently inserted modules.
Which of the following commands allows you to see detailed information on a specific module?
- modprobe
- modprobe -r
- lsmod
- modinfo
- rmmod
- insmod
- modinfo
The modinfo command allows you to see detailed information on a specific module.
Which of the following commands allows you to insert a specific module, but none of its needed dependent modules?
- modprobe
- modprobe -r
- lsmod
- modinfo
- rmmod
- insmod
- insmod
The insmod command allows you to insert a specific module, but none of its needed dependent modules. Also you have to use an absolute directory reference to specify the module to be inserted.
Which of the following commands allows you to insert a specific module, and all its dependent modules?
- modprobe
- modprobe -r
- lsmod
- modinfo
- rmmod
- insmod
- modprobe
The modprobe command allows you to insert a specific module, and all its needed dependent modules are automatically loaded with it. Also you do NOT have to use an absolute directory reference to specify the module to be inserted.
Which of the following handles setting up files in the /dev directory for cold plug devices?
- udev
- modprobe
- insmod
- device mapper
- sysfs
- dbus
- udev
udev is responsible for setting up the files in the /dev directory for a cold plug device at boot time, and uses a pre-defined set of rules and the information in sysfs (/sys) to help in this responsibility.
Which of the following is a daemon that runs on the Linux system that allows communication between programs, such as those that handle hot and cold plug devices?
- udev
- modprobe
- insmod
- device mapper
- sysfs
- dbus
- dbus
dbus is a daemon that runs on the Linux system that allows communication between programs.