LabSim TestOut Linux Pro - Ch. 9

Ace your homework & exams now with Quizwiz!

PQ 9.3.3 T What is the full path to the directory that allows you to name devices when they are connected to the system?

/etc/udev/rules.d

PQ 9.1.7 MC 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.)

/meminfo /cpuinfo

PQ 9.1.7 MC 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

PQ 9.1.7 MC 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

PQ 9.2.6 MC 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.

PQ 9.3.3 MC 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

PQ 9.3.3 MC When a hotplug device is added or removed, the kernel sends out a uevent message that is picked up by the udev daemon (udevd). Based on the rules defined in the files in the /etc/udev/rules.d directory, what does udevd do next after udevd initiates the device?

Creates the appropriate device file in the /dev directory.

PQ 9.3.3 MC Which of the following daemons allow processes to communicate with each other and relay information about hotplug devices?

D-Bus

PQ 9.1.7 MT Match the correct /proc directory content on the left with the description on the right.

Displays the boot options that were given to the kernel at boot time cmdline Displays information about the computer's CPU cpuinfo Displays information about the current kernel version version Displays all the direct memory access assignments for the computer dma

PQ 9.1.7 MC 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

PQ 9.3.3 MC Which of the following devices is a hotplug device?

USB flash drive

PQ 9.1.7 MC Which of the following commands will display the boot options that were given to the kernel at boot time?

cat /proc/cmdline

LAB 9.1.6 View /proc information You are an IT administrator for a Linux system. Your supervisor has asked you to collect some information about the system. Complete this lab from the Terminal. In this lab, use the files in the /proc directory to: Determine how many CPUs are installed. Find the system's CPU speed. Answer Questions 1 and 2. Find the total physical memory. Answer Question 3. Find the Linux kernel version. Answer Question 4.

cd /proc ls cat cpuinfo Answer Questions 1 and 2 cat meminfo Answer Question 3 cat version Answer Question 4

PQ 9.2.6 MC 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

PQ 9.2.6 MC 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.)

modprobe gamepad insmod gamepad.ko

PQ 9.2.6 MC Which of the following commands will check for dependencies before loading the gameport module in the kernel?

modprobe gameport

PQ 9.2.6 T What file is used to provide configuration settings for the modprobe utility when the modprobe.conf file does not exist?

modprobe.d

PQ 9.3.3 MC Which of the following exports information about hotplug devices so that other utilities can access the information?

sysfs

PQ 9.1.7 T What is the full path to the directory that contains information about each kernel module installed on the computer?

/sys/module

PQ 9.3.3 MT 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. D-Bus Provides all applications with data about current hardware. hald Dynamically creates device files in a virtual file system as devices are added and removed. udev Exports information about hotplug devices so that other utilities can access the information. sysfs

PQ 9.2.6 MC Which of the following are important to remember when using the rmmod command to remove a module from the kernel? (Select two.)

Cannot unload the module if it is in use. Does not look for dependencies.

PQ 9.1.7 MC 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

PQ 9.3.3 MC Which of the following daemons provides all applications with data about the current hardware?

hald

PQ 9.1.7 MC Which of the following commands displays information about the RAID devices on the computer?

hwinfo --listmd

PQ 9.2.6 T 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

PQ 9.2.6 T Which command displays information about all loaded modules on the system?

lsmod

LAB 9.2.4 Insert a Module into the Kernel You just got a new PowerMate input device that you want to use on your computer. You do not think that the PowerMate driver was compiled into the kernel of your Linux distribution. Complete this lab from the Terminal. In this lab, your task is to: Verify that the device driver was not inserted into the kernel. Insert the powermate module into the kernel. Confirm that you have loaded the module into the kernel.

lsmod modprobe powermate lsmod

LAB 9.2.5 Remove a Module from the Kernel Your manager has asked you to remove the gameport module from the Linux print server. Complete this lab from the Terminal. In this lab, your task is to: Verify that the gameport module has been inserted into the kernel. Remove the gameport driver module from the kernel.

lsmod rmmod gameport lsmod

PQ 9.1.7 MC Which of the following commands displays information about the PCI devices installed on the system?

lspci

PQ 9.2.6 T Which utility runs at startup to load modules into the kernel?

modprobe

PQ 9.2.6 MC Which of the following commands will check for dependencies before removing the debug module from the kernel?

modprobe -r debug

PQ 9.3.3 MC Which of the following commands is designed to give you the ability to control the udev daemon?

udevadm control

PQ 9.3.3 DDL Which of the following commands would you enter to add the pci subsystem to your Linux server? (Select from the drop-down list.)

udevadm trigger --action=add --subsystem-match=pci


Related study sets

Heavy Duty Truck Systems - Chapter 15

View Set

Ch. 16 Buying & Owning a Vehicle

View Set