Linux Midterm Study Guide
What is the maximum number of extended partitions that a single disk can have? A. 1 B. 2 C. 3 D. 4
A. 1
The Red Hat Linux distribution is an example of a Linux distribution. A. Core B. Specialty C. LiveDVD D. Custom
A. Core
The ________ system allows a hardware device to directly communicate with the system CPU using the memory. A. DMA B. IRQ C. I/O ports D. /proc/dma
A. DMA
What is virtual memory stored on the hard drive called? A. Swap space B. Physical memory C. Block device D. Character device
A. Swap Space
The systemd initialization process uses _______ to define which programs run. A. Targets B. Units C. Runlevels D. Boot loaders
A. Targets
What Linux program allows you to view the kernel boot messages? A. dmesg B. System C. Upstart D. systemctl
A. dmesg
Which of the following filesystems does not have journaling capabilities? A. ext2 B. ext3 C. ext4 D. NTFS
A. ext2
Which program provides information about hot plug devices connected to a USB port? A. lsusb B. modusb C. modprobe D. usblist
A. lsusb
Which of the following tools cannot be used to wipe a drive? A. mkfs B. dd C. dcfldd D. dc3dd
A. mkfs
Which of the following will enable you to make a filesystem? A. mkfs B. fsck C. mount D. umount
A. mkfs
Which two programs will remove a module from the kernel? A. rmmod B. insmod C. modprobe D. lsmod
A. rmmod and C. modprobe
Which package manager program is used by CentOS? A. rpm B. dpkg C. ldd D. ldconfig E. None of the above
A. rpm
Which yum command updates a distribution to the latest patches and software updates? A. yum update B. yum upgrade C. yum install D. yum clean
A. yum update
Which file documents the interrupts assigned on the Linux system? A. /proc/ioports B. /proc/interrupts C. /proc/dma D. /sys/interrupts E. None of the above
B. /proc/interrupts
Which applications provide a Web server for Linux distributions? (Select two.) A. Thunderbird B. Apache C. lighttpd D. Evolution
B. Apache and C. lighttpd
Most GNOME desktop Linux distributions use which of the following applications for an e-mail client? A. Nautilus B. Evolution C. KMail D. Apache
B. Evolution
Which was the first Linux boot loader program used? A. GRUB2 B. LILO C. GRUB Legacy D. systemd
B. LILO
Which graphical desktop environment provides a graphical login screen? A. KDE B. LightDM C. GNOME D. X Window
B. LightDM
Which GRUB2 environment variable defines the location of the /boot folder? A. title B. root C. menuentry D. set
B. root
Logical drives in an extended partition start with which number? A. 1 B. 3 C. 5 D. 7
C. 5
The Knoppix Linux distribution is an example of a Linux distribution. A. Core B. Specialty C. LiveDVD D. Custom
C. LiveDVD
Which application allows you to share files between a Linux server and a Windows desktop? A. MySQL B. Postfix C. Samba D. Evolution E. Nautilus
C. Samba
A contains all the files required for an application. A. Shared library B. Package manager C. Software package D. Executable file
C. Software package
Which part of the Linux system controls memory management? A. The graphical desktop B. The command prompt C. The kernel D. The shell
C. The kernel
Which IBM-compatible firmware allows you to store boot loader files in a folder? A. BIOS B. systemd C. UEFI D. Upstart
C. UEFI
What provides a graphical desktop environment in Linux systems? A. The kernel B. LiveDVD C. X Window D. Device files
C. X Window
The X Window package is newer and becoming more popular with Linux distributions. A. GNOME B. KDE C. X.org D. XFree86
C. X.org
Which GRUB2 command defines the start of a new boot option section? A. title B. root C. menuentry D. set
C. menuentry
Which drive letters are assigned to an SCSI drive? A. hd B. fd C. sd D. sc
C. sd
The ________ system uses rules to determine how the system should handle hot plug devices. A. D-Bus B. hald C. udev D. USB
C. udev
The ________ directory contains virtual files that provide information about hardware to user programs. A. /udev B. /root C. hald D. /sys
D. /sys
What is the maximum number of primary partitions that a single disk can have? A. 1 B. 2 C. 3 D. 4
D. 4
A _______ contains all of the available software packages for a distribution. A. Shared library B. Dependency C. Package manager D. Repository
D. Repository
_______ determine which programs are running on the Linux system at any time. A. Units B. Boot loaders C. Chainloaders D. Runlevels
D. Runlevels
Which screen accessibility feature allows you to press a two-key combination using separate keystrokes? A. Mouse keys B. Repeat keys C. On-screen keyboards D. Sticky keys E. None of the above
D. Sticky Keys
The program connects to Debian-based repositories to check for package updates. A. rpm B. dpkg C. ldconfig D. apt-get
D. apt-get
Which program lists the modules currently installed on the Linux system? A. insmod B. rmmod C. modprobe D. lsmod
D. lsmod
The _______ command allows you to view the current runlevel of the Linux system. A. systemd B. upstart C. init D. runlevel
D. runlevel
A(n) is a small piece of software designed to serve as an interface between the Linux operating system and a specific piece of hardware.
Device Driver
The /proc/ports file displays the current interrupts assigned on the Linux system, true or false?
False
The graphical desktop manages applications in memory, true or false?
False
The insmod program can install modules by module name, true or false?
False
The rpm package manager can install package updates and patches from an online repository, true or false?
False
The GUI tool _______ can be used to create, delete, add, and resize partitions.
GParted
A ___ distribution provides an easy way to test-drive a Linux system before you commit to installing it on a hard drive. In the digital forensics realm, these are used to safely preview a hard drive without writing to it.
LiveDVD
What is the default e-mail client for the Ubuntu distribution of Linux?
Thunderbird
The Hardware Abstraction Layer uses the udev system to provide information about hardware devices to user programs, true or false?
True
The Nautilus graphical file manager application is used by the GNOME desktop, true or false?
True
The SysV initialization process method duplicates the method used on Unix systems, true or false?
True
The initcommand allows you to change the runlevel of a running Linux system, true or false?
True
The kernel interfaces with hardware connected to the Linux system, true or false?
True
Which of the following would be used to install software from the repository in the Ubuntu operating system?
apt-get
What is the default shell used in most Linux distributions?
bash
You would like to view a list of the partitions on a hard disk attached to a Linux system. What command can you use to achieve this task?
fdisk
You can create, delete, and add partitions using the _________.
fdisk command
The four main parts of a Linux system are __, the GNU utilities, a graphical desktop environment, and application software
kernel
What command allows you to view the currently installed PCI cards on a Linux system?
lspci
Which of the following commands would you invoke to show plugged usb devices?
lsusb
Sally is trying to install modules on a Linux system using the insmod command but consistently runs into issues with module dependencies. What tool can she use instead that will resolve dependencies for her?
modprobe
What is the primary package manager used on Linux systems running the Fedora operating system?
rpm
To disconnect a mount point, you must use the _________.
umount command
You encounter a RedHat operating system and want to install software (i.e. vi), which would you run to accomplish this?
yum install vi