This is a timed quiz.
You have 55 minutes to complete the 40 questions in this quiz.
What are common IRQs for RS-232 serial ports? (Select two)
1
3
4
8
16
What tool would you use to disable a motherboard's sound hardware if you don't want to use it?
The firmware
The alsactl utility
The lsmod command
The lspci program
None of the above; onboard sound devices can't be disabled
What is purpose of udev?
To aid in the development of software
To unload Linux device drivers
To load Linux device drivers
To store devices' BIOS configurations in files
To manage the /dev directory tree
You've just installed Linux on a new computer with a single SATA hard disk. What device identifier will refer to the disk?
/dev/sda
/dev/mapper/disk1
/dev/hda
C:
/dev/sda or /dev/hda
Which files contain essential system information such as IRQs, direct-memory access channels, and I/O addresses? (Select three).
/proc/ioports
/proc/ioaddresses
/proc/dma
/proc/interrupts
/proc/hardware
The fdisk -l /dev/sda on a Linux computer with an MBR disk produces a listing of four partitions: /dev/sda1, /dev/sda2, /dev/sda5 and /dev/sda6. which of the following true?
The disk contains two primary partitions and two extended partitions.
Either /dev/sda1 or /dev/sda2 is an extended partition.
The partition table is corrupted; there should be a /dev/sda3 and a /dev/sda4 before /dev/sda5
If you add a /dev/sda3 with fdisk, /dev/sda5 will become /dev/sda6, and /dev/sda6 will become /dev/sda7
Both /dev/sda1 and /dev/sda2 are logical partitions.
Which of the following directories is most likely to be placed on its own hard disk partition?
/bin
/sbin
/mnt
/home
/dev
What mount point should you associate with swap partitions?
/
/swap
/boot
/mem
None of the above
Which of the folllowing options is used with fsck to force it to use a particular filesystem type?
-A
-N
-t
-C
-f
What does the following command accomplish? #mkfs -t ext2 /dev/sda4
It sets the partition table type code for /dev/sda4 to ext2
It converts FAT partition into an ext2fs partition without damaging the partition's existing files.
Nothing; the -t option isn't valid, and so it causes mkfs to abort its operation.
It converts an ext2 filesystem to an ext4 filesystem
It creates a new ext2 filesystem on /dev/sda4, overwriting any existing filesystem and data.
Which of the following pieces of information can df not report?
How long the filesystem has been mounted
The number of inodes used on an ext3fs partition
The filesystem type of a partition
The percentage of available disk space used on a partition.
The mount point associated with a filesystem
To access file on a USB flash drive, you type mount /dev/sdc1 /media/flash as root. Which types of filesystems will this command mount?
Ext2fs
FAT
HFS
ReiserFS
All of the above
What filesystem options might you specify in /etc/fstab to make a removable disk (such as a USB flash drive) mountable by an ordinary user with a UID of 1000? (Select three)
user
users
owner
owners
uid=1000
What is the preferred method of adding a directory to the library path for all users?
Modify the LD_LIBRARY_PATH environment variable in a global shell script.
Add the directory to the /etc/ld.so.conf file, and then type ldconfig.
Type ldconfig /new/dir, where /new/dir is the directory you want to add.
Create a symbolic link from that directory to one that's already on the library path.
Type ldd /new/dir, where /new/dir is the directory you want to add.
What programs might you use to learn what your system's load average is? (Select two)
ld
load
top
uptime
la
Which of the following commands creates a display of processes, showing the parent-child relationships through links between their names?
ps --forest
ps aux
ps -e
ps --tree
Which of the following commands are equivalent to one another? (Select two)
nice --value 10 crunch
nice -n -10 crunch
nice -10 crunch
nice 10 crunch
nice crunch
What command is used at the beginning of a command line to detach tha process from a terminal, allowing it to continue running after the user has logged out?
hangup
detach
nohup
background
bg
What command will display a full-screen, updated list of all running processes?
kill
ps
list
free
What command can be used to kill processes by name, rather than process ID?
killproc
killname
killall
kill -name
killpath
What command is used to display the number of free inodes on an ext2 or ext3 partition?
tune2fs
dumpe2fs
showe2fs
fsck
fdisk
What command is used to convert an existing ext2 partition (/dev/sda1) to an ext3 (journaled) partition?
tune2f -j /dev/sda1
dumpe2fs -j /dev/sda1
fsck -j /dev/sda1
mkfs.ext2 -j /dev/sda1
Which of the following are examples of journaling filesystems? (Select three)
ext2
ext3
xfs
reiserfs
vfat
Which file defines what partitions are mounted at boot time?
/etc/partitions
/etc/mount
/etc/mtab
/etc/fstab
/etc/filesystems
Which of the following is a reasonable size for a swap partition for a Linux workstation with 128 MB RAM? Select one
1 KB
0.5 MB
100 MB
5 GB
10 GB
Which of the following is the text file that contains directories where the dynamic linker should look for libraries? Select one.
ld.so.conf
conf.ld.so
ld.so.cache
so.config
configld
What two commands display the status of processes on a Linux system?
ls and df
ps and top
ps and df
df and top
du and df
Which of the following commands can be used to check an ext2 filesystem? Select three that apply.
fsck -ext2 /dev/hda5
fsck /dev/hda5
e2fsck /dev/hda5
fsck.ext2 /dev/hda5
fsck.linux /dev/hda5
In response to fhe df command, the system reports a use% of 98% for the filesystem mounted on /home. Which one of the following best describes the significance of this information?
Files on /home are consuming 90% of the physical disk.
File read/write activity on /home is consuming 98% of system I/O capacity
Files on /home are consuming 98% of the /home filesystem
Inodes on /home are nearly exhausted
Inodes on /home are 98% free
Which one of the following commands would be best suited to mount a CD-ROM containing a Linux distribution, without depending on any configuration files?
mount /dev/cdrom /dev/hdc
mount -f linux /dev/hdc /mnt/cdrom
mount -t iso9660 /dev/cdrom /mnt/cdrom
mount -t linux /dev/cdrom /mnt/cdrom
mount -t iso9660 /mnt/cdrom /dev/cdrom
What character is used after a command line to indicate that tha command should run in the background and return shell control to the user?
*
+
&
-
.
A process with PID 4077 is misbehaving on your system. As superuset, you enter the following command: #kill 4077 However, nothing changes as a result. What can you do to terminate the process? Select one
kill -9 4077
kill -1 4077
kill +9 4077
kill 4078
kill --die 4077
How many IDE devices can be installed and simultaneously used in a typical Intel-Based system? Select one
2
5
Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/ creation time and does NOT generate them as needed? (Choose TWO correct answers.)
JFS
XFS
procfs
Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?
tune2fs -d 200 /dev/sda1
tune2fs -c 200 /dev/sda1
tune2fs -i 200 /dev/sda1
tune2fs -n 200 /dev/sda1
tune2fs --days 200 /dev/sda1
Creating a hard link to an ordinary file returns an error. What could be the reason for this?
The source file is hidden.
The source file is read-only.
The source file is a shell script.
The source file is already a hard link.
The source and the target are on different filesystems.
Which of the following environment variables overrides or extends the list of directories holding shared libraries?
LD_LOAD_PATH
LD_LIB_PATH
LD_LIBRARY_PATH
LD_SHARE_PATH
LD_RUN_PATH
Which of the following is the device file name for the second partition on the only SCSI drive?
/dev/hda1
/dev/sda2
/dev/sd0a2
/dev/sd1p2
When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process?
-10
0
10
20
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
dd if=/dev/zero of=/dev/sda bs=512
dd if=/dev/zero of=/dev/sda bs=512 count=1
dd if=/dev/zero of=/dev/sda bs=440 count=1
dd if=/dev/zero of=/dev/sda bs=440