- Home
- Server Administration
- LPIC-1 Linux Administrator 101
41.
What are common IRQs for RS-232 serial ports? (Select two.)
- A.1
- B.3
- C.4
- D.8
- E.16
- Answer & Explanation
- Report
Answer : [B, C]
Explanation :
Explanation :
IRQs 3 and 4 are common defaults for RS-232 serial ports, so options B and C are both correct. IRQ 1 is reserved for the keyboard, so option A is incorrect. IRQ 8 is reserved for use by the real-time clock, so option D is incorrect. Although IRQ 16 exists on modern systems, it didn’t exist on early x86 systems, and its purpose isn’t standardized. |
42.
What tool would you use to disable a motherboard’s sound hardware if you don’t want to
use it?
- A.The firmware
- B.The alsactl utility
- C.The lsmod command
- D.The lspci program
- E.None of the above; onboard sound devices can’t be disabled
- Answer & Explanation
- Report
Answer : [A]
Explanation :
Explanation :
Modern firmware (BIOSs and EFIs) provide the means to disable many onboard devices, including sound hardware, in case you don’t want to use them, so option A is correct. Although the alsactl utility mentioned in option B is real, it’s used to load or store sound card mixer settings, not to disable the sound hardware. The lsmod command mentioned in option C displays information about loaded kernel modules, but it doesn’t remove them or disable the hardware they use. Similarly, option D’s lspci displays information on PCI devices but can’t disable them. Contrary to option D, on-board sound hardware can usually be disabled. |
43.
What is the purpose of udev?
- A.To aid in the development of software
- B.To unload Linux device drivers
- C.To load Linux device drivers
- D.To store devices’ BIOS configurations in files
- E.To manage the /dev directory tree
- Answer & Explanation
- Report
Answer : [E]
Explanation :
Explanation :
The udev software creates and manages a dynamic /dev directory tree, adding entries to that directory for devices that exist on the target system, so option E is correct. The udev software has nothing to do with software development (option A). It doesn’t unload drivers (option B) or load drivers (option C), although it does respond to the loading of drivers by creating appropriate entries in /dev. It also doesn’t store BIOS configuration options in a file (option D). |
44.
You’ve just installed Linux on a new computer with a single SATA hard disk. What device
identifier will refer to the disk?
- A./dev/sda
- B./dev/mapper/disk1
- C./dev/hda
- D.C:
- E./dev/sda or /dev/hda
- Answer & Explanation
- Report
Answer : [A]
Explanation :
Explanation :
SATA disks are usually handled by Linux’s SCSI subsystem and so are referred to as /dev/sdx; however, some drivers handle these disks as if they were PATA disks and so refer to them as /dev/hdx. Thus, option E is correct, and both options A and C are incorrect. The /dev/mapper directory holds device files related to LVM and RAID configurations, not disk partition identifiers, so option B is incorrect. Option D (C:) is how Windows would likely refer to the first partition on the disk, but Linux doesn’t use this style of disk identifier. |
45.
Which files contain essential system information such as IRQs, direct memory access channels,
and I/O addresses? (Select three.)
- A./proc/ioports
- B./proc/ioaddresse
- C./proc/dmaPort Fast Ethernet 0/5 is in a connected state.
- D./proc/interrupts
- E./proc/hardware
- Answer & Explanation
- Report
Answer : [A, C, D]
Explanation :
Explanation :
There are no files called /proc/ioaddresses or /proc/hardware, so options B and E are both incorrect. All the other files listed contain useful information; /proc/ ioports holds information about I/O ports, /proc/dma holds information about DMA port usage, and /proc/interrupts holds information about IRQs. |