You are on page 1of 3

CIS 228: UNIX System Administration

Quiz #2
NAME ___________________________________
1) Jack wants to install LINUX on a machine with Windows NT already installed on the first partition. What is the
best method of GRUB installation to use so he can continue to boot NT after the LINUX install?
A. write GRUB to the MBR
B. write GRUB to the LINUX partition and copy it to the NT partition
C. write GRUB to a floppy diskette
D. write GRUB to another hardrive.
E. A or B
2) To power down a LINUX computer what command should be used to stop LINUX?
A. shutdown -h now
B. reboot
C. halt
D. shutdown -r now
E. shutdown
3) To locate a bootable operating sytem on a PC, the BIOS locates the ____________ list in the __________.
Then locates the _____________ which contains the _______________ that points to the OS on the
________________ partition.
4) If a filesystem runs out of INODEs, which of the following is TRUE:
A. You cant expand an existing file.
B. You cant add a new file.
C. You cant expand an existing file to a new level of INODE pointers.
D. You cant add a new directory
E. You cant add a data block
5) The purpose of a cylinder group is: ___________________________.
6) List the proper sequence of events for a successful LINUX PC boot process (1-14):
__
__
__
__
__
__
__
__
__
__
__
__
__
__

Compare POST results to CMOS


Locate MBR
Mount root / R/W
Locate Active partition
Load BOOTSTRAP code (LILO or GRUB Stage 1)
Load OS
Start init
Locate BIOS addressable device list
Load initrd.img
Load filesystems R/O
POST
fsck R/O filesystems
Mount filesystems listed in /etc/fstab
Load BIOS

7) The command to display kernel messages generated prior to SYSLOG is: ____________________.
8) The command to show LOGIN history on a LINUX system is: ________________.
This displays information kept in the file: ___________________________________________.

CIS 228: UNIX System Administration


Quiz #2
9) Which of the following disk configurations provides no redundancy?
A. RAID 0
B. RAID 1
C. RAID 2
D. RAID 3
E. RAID 4
F. RAID 5
10) Which of the following disk configurations uses the most space to provide redundancy?
A. RAID 0
B. RAID 1
C. RAID 2
D. RAID 3
E. RAID 4
F. RAID 5
11) Logical volumes are usually defined on these two types of RAID: _______________________________.
12) The two most important system resource(s) for virtual machine performance are:
___________________________ and _________________________.
13) In FC 15, System V startup has been replaced by: ________________________.
The Ubuntu version is called: _______________________.
14) This command will regenerate the MBR under:
DOS:
Windows 2000:
Windows XP
Windows Vista:
Windows 7:
LINUX:
15) The command name of the C complier in LINUX is: ___________________. Write the command to
compile hello.c as a binary executable.
16) An entry from the /etc/inittab file looks like this: id:5:initdefault:
Under SYSV boot procedure, from what directory will the last set of startup scripts be run during bootup?
___________________________
17) Which script file is used to modify/add local modifications to the BSD/SYSV style boot process?
______________.
18) For both Fedora and Ubuntu:
Write a command line to find all packages installed on a LINUX system that include "gnome" desktop.
Write the command would you use to remove these packages and resolve all dependencies?
19) Write the command sequence to "unwrap" the package in: junk.tar.gz to the current directory.
20) Write the command sequence to increase the # of inodes on a /home ext3 filesystem from 512,000 to
768,0000.

CIS 228: UNIX System Administration


Quiz #2

21) /root is on the first 120GB hardrive. /home is mounted on logical volume home in volume group homevol
consisting of the next two -120GB SATA Hardrives. Write the command line sequence to expand volume
group HOMEVOL to a 4rd 120 GB hardrive and increase the logical volume and filesystem to cover all 3 nonroot drives.

22) This command sets/shows user resource limits on a LINUX system _______________.
The default values are kept in this file: _____________________.
23) This command shows system-wide process resource limits as well as kernel settings: __________________ .
The default values are kept in this file:
24) Show the full command sequence to create a 10GB swap area in partition 3 of the first SATA hardrive,
properly formatted and tuned on as the second priority swap area.
25) Show the sequence of commands to convert /home to a disk quota based system for users limiting each user to
5GB soft, 10BGB hard limit. .

Extra Credit (5 points): List Bobs 5 rules of System Administration

You might also like