Question 1: A new person has just been hired. You need to install a new Linux-only machine for them, configure it with their user information, and integrate it into the LAN such that they have access to the services necessary to complete their work. What must you do before procuring the machine for this user?
 Choose the user's login ID and initial password.
 Consult the distribution's Hardware Compatibility List.
 Consult the Linux Hardware Compatibility List.
 Choose the groups the user needs to belong to.
 Consider the type of work the user needs to do.
Question 2: While assembling the machine, what considerations specific to Linux installations must be kept in mind?
 No machine can have more than two IDE drives installed.
 Disable Plug and Play features when jumpers are available to do so.
 If you were not the one choosing the hardware, be sure any modems involved are Winmodems.
 Make a special mental note if there is between 1 and 2 GB of RAM in the machine.
 Be sure that all cards are firmly seated.
Question 3: Once the machine is assembled, what BIOS adjustments need to be made in modern machines before attempting the installation?
 If no boot disks are necessary, change the boot order so the CD-ROM drive is checked first.
 You must specify IRQ settings manually.
 Disable the Automode serial port setting, which automatically assigns COM ports to serial ports.
 All hard drives must be set to LBA (Logical Block Addressing) mode.
 If there are Plug and Play devices that could not be disabled with jumpers, shut off Plug and Play in the BIOS.
Question 4: What are the base partitions that you should install, at the very least, on an end-user machine?
 /boot
 swap
 /bin
 /
 /var
Question 5: During the Linux installation process, what hardware issues must be configured correctly to avoid the risk of damaging the hardware?
 Whether the mouse is serial or PS2, or has two or three buttons
 The monitor's range of operation
 The number of drive partitions
 The type of keyboard
 The video card's capabilities
Question 6: When the installer asks where to install LILO, where would you install it on a user's machine?
 /
 The MBR
 A floppy disk
 /boot
 No LILO is necessary
Question 7: Because this is a desktop machine, you would probably set it to boot into the GUI. Where would you look to find which runlevel is this equivalent to in this distribution?
 /etc/inittab
 /etc/fstab
 /etc/crontab
 /etc/rc.d/rc.local
 /etc/rc.d/rc.sysinit
Question 8: What file might you edit if you needed to add additional information to get individual pieces of hardware to boot properly?
 /etc/conf.modules
 /dev/conf
 /etc/conf.devices
 /etc/devices
 /etc/modules.conf
Question 9: Once the machine is installed and properly booting into the GUI by default, what command would you use in a terminal window to change the machine to command-line mode for administrative purposes?
 init
 runlevel
 stopx
 chglevel
 level
Question 10: What two commands would you use to create the user login at the command line, without any special scripts?
 useradd
 addaccount
 passwd
 password
 newacct
Question 11: Now that you have added the user, you need to add them to the special group created for their project team. What file would you edit to do this?
 /etc/group
 /etc/passwd
 /etc/quota
 /etc/groups
 /etc/shadow
Question 12: Now you need to have the machine automatically NFS mount the remote project group partition. What file would you edit to do this?
 /etc/passwd
 /etc/fstab
 /etc/mount
 /etc/shadow
 No files on this machine need to be edited.
Question 13: What line might you add to /etc/fstab to automatically NFS mount the remote directory /NFSmounts/Projects/DocGroup on the machine 'docserver', with read-write access?
 docserver:/NFSmounts/Projects/DocGroup /Project nfs rw,auto 0 0
 docserver /NFSmounts/Projects/DocGroup /Project nfs rw,auto 0 0
 /NFSmounts/Projects/DocGroup /Project nfs rw,auto 0 0
 /NFSmounts/Projects/DocGroup /Project NFS rw,automount 0 0
 docserver:/Project /NFSmounts/Projects/DocGroup nfs rw,auto 0 0
Question 14: What file do you have to edit to add the new machine to the NFS mount rules on 'docserver'?
 /etc/hosts.allow
 /etc/hosts
 /etc/nfs.conf
 /etc/fstab
 /etc/exports
Question 15: What line might you add to explicitly give the new machine--named 'office120'--read-write NFS access to the /NFSmounts/Projects/DocGroup directory?
 /NFSmounts/Projects/DocGroup office120 rw
 /NFSmounts/Projects/DocGroup office120(rw)
 office120:/NFSmounts/Projects/DocGroup rw
 office120:/NFSmounts/Projects/DocGroup(rw)
 /NFSmounts/Projects/DocGroup:office:rw
Question 16: Back to the new user's machine, where you need to configure local printing. What file would you edit to accomplish this?
 /var/spool/print
 /etc/print
 /etc/printcap
 /etc/printers
 /etc/print.conf
Question 17: What files and directories do you need to create for an InkJet printer to function properly?
 /home/printer
 /var/spool/lpd/ij
 /var/spool/lpd/ij/log
 /var/spool/lpd/ij/files/
 /etc/printcap.ij
Question 18: What permissions have to be set on the print spool?
 rwx--xr-x
 rw-rw-rw-
 rwxr-xr-x
 r-xr-xr-x
 rwxrwxr-x
Question 19: What permissions must be set on the printer log file?
 r--rw-rw-
 r--r--r--
 rwxrwxr-x
 rwxrw-rw-
 rwxrwxrwx
Question 20: Who should own the printer directories and files?
 printer
 user
 root
 lp
 daemon
Question 21: What groups should the printer directories and files belong to?
 root
 daemon
 lp
 print
 user
Question 22: What command would you use to print a file to the ij (default) printer?
 lpr
 lpr -Pij
 lpr -P ij
 lpr Pij
 lpr > ij
Question 23: What protocol is used to share printers and files across a multi-OS network?
 FTP
 DNS
 SMB
 TCP/IP
 NFS
Question 24: What would you type to find out what SMB shares are being offered on the network?
 samba --shares
 samba --list
 smb -L
 samba -L
 smbclient -L
Question 25: 'What line would you enter in /etc/fstab to mount the SMB share d:\StaffManuals on the Windows 98 machine 'HR' to the local directory /StaffManuals?'
 /HR/STAFFMANUALS /StaffManuals smb auto,rw 0 1
 \\HR\STAFFMANUALS /StaffManuals smb auto,rw 0 1
 HR:/StaffManuals /StaffManuals smb auto,rw 0 1
 \HR\StaffManuals /StaffManuals smb auto,rw 0 1
 \\\\HR\\STAFFMANUALS /StaffManuals smb auto,rw 0 1
Question 26: What Web server is typically used today in the Linux world?
 WebSite Professional
 Foo
 WU-HTTPD
 Apache
 Squid
Question 27: If the new employee makes a staff home page for internal use, where would the Web admin put this page if the Web server saw it as /Staff and the Apache storage defaults were kept in place?
 /home/httpd/html/Staff
 /etc/httpd/conf/
 /Staff
 /home/httpd/html
 /etc/httpd/conf/Staff
Question 28: Because a user's machine is on the network, what file should you edit to ensure that unneeded network daemons won't be listening for connections?
 /etc/inetd.conf
 /etc/rc.d/rc0.d
 /etc/services
 /etc/rc.d/init.d
 /etc/rc.d/rc.local
Question 29: Now that the user's machine is set up, you need to install a new anonymous FTP server for the technical support department. What is a commonly used server used for this function?
 Archie
 Squid
 Apache
 wu-ftp
 HTML
Question 30: What are common concerns surrounding anonymous FTP access that allows uploads?
 People might put illegal files on the system.
 There are rarely security holes found in the FTP servers.
 Anonymous FTP is completely secure by default.
 People might exploit weaknesses and break out of the public area to access other portions of the file system.
 It is important to always watch for security updates to FTP servers.
Question 31:  Typically, where is the default base anonymous FTP directory?
 /home/ftpd/ftp
 /ftpd
 /ftp
 /home/ftp
 /home/ftpd
Question 32: Where typically is the upload directory in anonymous FTP?
 /home/incoming
 /ftp/pub/incoming
 /incoming
 /home/ftp/pub/incoming
 /anon
Question 33: Another new machine arrives, but this one is for the server room. It has several large hard drives installed. What will be one issue to keep in mind when creating the /boot partition on this machine?
 The 1024th cylinder problem.
 The boot partition must be created first.
 The boot partition must be created directly before or after the / (root) partition.
 There is never any reason to create a /boot partition.
 The system will not boot properly if you put the /boot directory on its own partition.
Question 34: Because this is a server machine, which of the following partitions might you want to create during the installation?
 /bin
 /tmp
 /var
 /usr
 /home
Question 35: What disk partitioning program do you have access to by default in almost all Linux distributions?
 fdisk
 Disk Druid
 LILO
 System Commander
 Partition Magic
Question 36: What command do you use in fdisk to look at the current partition list?
 L
 l
 c
 p
 d
Question 37: What file system label in fdisk is a Linux swap partition?
 32
 91
 46
 82
 19
Question 38: What file system label in fdisk is a Linux native partition?
 12
 83
 21
 76
 62
Question 39: What types of packages might you not choose for a file server that you would for a desktop?
 Log management
 Networking
 Sound
 XFree86
 Console games
Question 40: What service would you turn on to ensure that no one overruns their allotted space on the file server?
 quotas
 soft links
 NFS
 automount
 ftape
Question 41: At what file system level can the quota tool be used?
 Entire hard drives
 Groups of partitions
 Directory Hierarchies
 Individual partitions
 Individual directories
Question 42: In what file do you assign quotas to a partition?
 /etc/quota
 /etc/inetd.conf
 /etc/services
 /etc/quotaon
 /etc/fstab
Question 43: What files do you have to create to properly activate quotas on a file system?
 quota.user
 quota.group
 quotas
 /etc/quota
 /etc/quotas
Question 44: What command do you type to edit quota assignments?
 /etc/rc.d/init.d/quota.conf
 quota
 quotaedit
 edquota
 repquota
Question 45: What file would you edit on the server to set up NFS shares?
 /etc/nfs.conf
 /etc/fstab
 /etc/hosts.allow
 /etc/share.conf
 /etc/exports
Question 46: Which of the following are valid NFS share statements?
 /Projects *.domain.com(rw) *.domain.org(ro)
 /Projects *.domain.com(rw)
 /Projects (ro) server(rw,no_root_squash)
 /Projects .domain.com(rw)
 /Projects *.domain.com (rw)
Question 47: Which file on the server would you edit to set up Samba shares?
 /etc/services
 /etc/smb.conf
 /etc/shares
 /etc/hosts
 /etc/exports
Question 48: Which of the following are valid lines from a Samba statement?
 ro = yes
 dont descend = /root
 hosts allow 192.168.
 public = yes
 ro
Question 49: What must you do after changing any standalone daemon's configuration files?
 Restart the daemon
 Reboot the machine
 Run the daemon
 Reinstall the daemon
 Restart the superdaemon
Question 50: What package would you use to ensure that routine tasks happen on a regular, timed basis?
 date
 make
 inetd
 at
 cron
Question 51: What service typically handles email on a Linux LAN?
 mount
 Eudora
 Internet Exchange Server
 sendmail
 Microsoft Outlook
Question 52: What file do you initially edit when setting up sendmail on a modern Linux system?
 sendmail.mc
 sendmail.m4
 sendmail.conf
 sendmail.cf
 sendmail.mw
Question 53: What program would you likely use to edit the sendmail configuration file?
 sendedit
 vi
 sedit
 mailedit
 make
Question 54: What command would you have to type in vi before being able to add text to the sendmail configuration file?
 i
 G
 A colon
 E
 e
Question 55: What command would you type in vi when finished adding text to the sendmail configuration file?
 q
 i
 Q
 A colon
 ESC
Question 56: What colon command would you type in vi to exit and save the sendmail configuration file?
 w!
 q
 wq
 q!
 w
Question 57: When the sendmail.m4 file is ready, what does it need to be converted to?
 sendmail
 sendmail.m4
 sendmail.mc
 sendmail.cf
 sendmail.conf
Question 58: What file would you edit to customize how the machine's log files are handled?
 /etc/crontab
 /etc/logs.conf
 /etc/syslog
 /etc/syslog.conf
 /etc/inetd.conf
Question 59: What might you type to see what processes are running on the server?
 top
 ps aux
 df
 ps
 proc
Question 60: What command would you use to stop one of the processes if it didn't have an init script to do it for you?
 kill
 more
 stop
 end
 man
Question 61: What is the last resort command for stopping a process?
 kill -9
 kill -1
 kill
 quit
 end
Question 62: You need to compile a new kernel for the server. What packages do you probably need to have installed?
 GNOME
 GNU C
 GPL
 make
 GNU C libraries
Question 63: Which of the following kernels would you choose for a production machine?
 5.3.16
 6.3.13
 8.3.41
 5.2.61
 6.4.16
Question 64: Where should you install the kernel source?
 /tmp/linux
 /usr/src
 /kernel
 /usr/src/linux
 /download
Question 65: What program would you use if you needed to add an incremental update to the source?
 make
 patch
 increment
 more
 inc
Question 66: What command builds the old kernel configuration file to use as a base?
 cp config oldconfig
 make oldconfig
 config > oldconfig
 mkconfig
 mkoldconfig
Question 67: Which of the following are tools you can use to create the new kernel configuration file?
 oldconfig
 menuconfig
 xconfig
 config
 termconfig
Question 68: What command builds the kernel itself?
 compile
 make kernel
 make bzImage
 make
 build kernel
Question 69: Where do you have to move a copy of the new kernel?
 /root
 The MBR
 /
 /boot
 /images
Question 70: What should the new kernel be named?
 vmlinuz-version
 vmlinuz
 version
 kernel-version
 kernel
Question 71: What program has to be reconfigured before you can boot to a new kernel?
 inetd
 LILO
 The superdaemon
 httpd
 make
Question 72: What of the following commands would you use to power the machine down?
 init 0
 shutdown
 halt
 exit
 reboot
Question 73: What do you type at the LILO prompt if the machine does not boot properly, to try to fix it, regardless of which distribution you are using?
 linux 1
 linux
 linux single
 repair
 rescue
Question 74: If everything on the new server works properly, what account will you avoid logging in on except when absolutely necessary?
 ftpadmin
 webmaster
 root
 user
 admin
Question 75: Which of the following might be solved by a simple reboot?
 LI
 LI?
 L
 LILO
 LIL

End of questions