Linux Review Q
Which prompt do regular users receive when logged in to the system?
$
Which of the following are characteristics of Open Source Software? (Choose all that apply.)
* Any bugs are fixed quickly. *The software is developed collaboratively.
Which of the following are common methods for gaining support for Linux?
*HOWTO documents at http://www.linuxdoc.org *Internet newsgroups *a local Linux User Group
Which common GUI environments are available in most Linux distributions? (Choose all that apply.)
*KDE *GNOME
Which of the following could result in a segmentation fault (fatal signal 11) during a Fedora installation?
*RAM problems *improper device driver *overclocked CPU (All)
What two statements regarding hard disk quotas in Linux are accurate?
*Soft limits are hard disk quotas that the user can exceed for a certain period of time (7 days by default) *Quotas can be enabled at boot time using the /etc/fstab file.
A device file _______________________. (Choose all that apply.)
*has no data section *displays a major and minor number in place of a file size.
Which of the following are factors that determine which Linux distribution a user will use? (Choose all that apply.)
*language support *package manager support *kernel features *hardware platform
You need to reboot your server after updating your installed kernel packages. What two commands will reboot the server immediately?
*reboot *shutdown -r now
To which directory will the test ZFS volume from the previous question be mounted by the ZFS system?
/test
You want to view log files to get information about a problem that occurred during a Linux installation. In which directory will you likely find the log files?
/var/log
Linux servers are typically installed in a rack using rackmount server hardware. Which of the following is used to describe the minimum height of a rackmount server?
1U
Which of the following kernels are developmental kernels? (Choose all that apply.)
3.3.4 3.5.5
Which RAID level uses striping with parity?
5
SCSI devices that use an 8-bit-wide data path use _____.
50-pin connector
What is the most common open source Web server available for Linux?
Apache
What is the default shell in Linux called?
BASH
When sitting at a computer running Linux, what key combination is pressed to open the graphical terminal?
Ctrl+Alt+F1
Character devices typically transfer data more quickly than block devices. True or False?
False
If you boot your computer from Linux live media, you will be able to use a fully-functional Linux system prior to installing Linux on permanent storage. True or False?
False
Linux commands entered via the command line are not case sensitive. True or False?
False
SAS transfers data to SCSI disks via parallel cables. True or False?
False
ZFS volumes are mounted at boot time from entries within /etc/fstab by default?
False
Many types of software are available today. Which type of software does Linux represent?
OpenSourceSoftware
How can you protect a metacharacter (such as the $ character) from shell interpretation?
Precede it with a \.
Which of the following RAID levels is not fault tolerant?
Raid 0
Who formed the Free Software Foundation to promote open development?
Richard Stallman
Which of the following can be used on Linux to provide file and print services?
Samba
Which of the following is not an example of virtualization software that can be used to install Linux within another operating system?
SpiceWorks
The lvextend command can be used to add additional unused space within a volume group to an existing logical volume. True or False?
True
To install Linux within a virtual machine, you can specify the path to an ISO image that contains the Linux installation media within virtualization software without having to first write the ISO image to a DVD or USB flash drive. True or False?
True
A user mounts a device to a mount point directory and realizes afterward there are files previously found within the mount point directory that are needed. What should this user do?
Unmount the device from the directory.
Which of the following statements regarding LVM structure is correct?
VGs are comprised of one or more PVs
Given the following output from /etc/fstab, which filesystems will be automatically checked on boot by the fsck command?/dev/sda1 / ext4 defaults 1 1none /dev/pts devpts gid=5,mode=620 1 0none /proc proc defaults 0 1none /dev/shm tmpfs defaults 1 0/dev/sdc2 swap swap defaults 0 1/dev/dvd /media/dvd iso9660 noauto,ro 0 0/dev/fd0 /media/floppy auto noauto 0 0
all of them, as fsck is run automatically at boot for all filesystems
What filesystem, still in development, is envisioned to be a replacement for ext4 and ReiserFS in the long term?
btrfs
You want to see the filesystems that are presently in use on the system. What command could you use?
cat /etc/mtab
Which command can you use during a system rescue to switch from the root of the live OS to the root of the Linux system installed on the hard disk?
chroot
Which command blanks the terminal screen erasing previously displayed output?
clear
Which command is used to display the amount of free space that exists on a filesystem?
df
What does the command dumpe2fs -h do?
displays the number of inodes used and available in an ext2 filesystem
A junior administrator is studying the filesystem layouts on a server, and wishes to know how to display the total number of available inodes for an ext3 filesystem. What command should you give to the junior administrator?
dumpe2fs -h <partition>
After an unexpected shutdown of the server, you need to run a filesystem integrity check on all entries of the /etc/fstab file with a 1 or 2 in the sixth field. What flag or flags can be used with fsck to do this automatically?
fsck -A
What command can you use to safely shut down the Linux system immediately?
halt
Which of the following is used to describe a computer that is used to access an iSCSI hard disk across the network?
iSCSI initiator
What command can be used to display user account IDs and group IDs for your currently logged in user account?
id
Where is the /proc filesystem stored?
in RAM
What equivalent to the man command generally provides an easier-to-read description of the queried command and also contains links to other related information?
info
Which command is used to format a partition on a hard disk drive with the ext4 filesystem?
mke2fs -t ext4 device
Which command mounts all existing filesystems in /etc/fstab?
mount -a
Linux is a ___________ and ___________ operating system.
multiuser, multitasking
Which of the following commands can be used to create partitions on either a MBR or GPT hard disk?
parted
You need to gather information on quota usage by all users on the /shares folder. What command should you use?
repquota /shares
Which of the following refers to the third primary partition on the second SCSI hard disk within Linux?
sdb3
After you log into a terminal, you receive a user interface called a _________.
shell
SCSI-1 is also referred to as _____.
slow and narrow
Every computer consists of physical components and non-physical components. The non-physical components of a computer that understand how to work with the physical components are referred to as:
software
Which two partitions do you typically create at minimum during a Fedora Linux installation? (Choose two answers.)
swap /
Which culture embraced the term GNU (GNU's Not UNIX) and laid the free software groundwork for Linux?
the hacker culture
You are troubleshooting a department web server used for development that is experiencing heavy loads. What command can be used to determine who is logged in, and what their current running tasks are?
w
Which command displays the users who are currently logged in to the Linux system?
who