Which of the following is the FIRST step that should be taken prior to installing Linux on new hardware?

Which of the following is the FIRST step that should be taken prior to installing Linux on new hardware? 








A. Verify that the hard drive has been formatted.
B. Run the sysprep utility from the Linux vendor's CD.
C. Download all appropriate device drivers from the Linux vendor's Website.
D. Review the HCL (Hardware Compatibility List) on the Linux distributor's Website.









Answer: D

A user who has a file open in vi wants to search for the next occurrence of the word 'coexistence'. Which of the following commands will accomplish this from within the editor's command mode?

A user who has a file open in vi wants to search for the next occurrence of the word 'coexistence'. Which of the following commands will accomplish this from within the editor's command mode? 







A. /coexistence
B. :f coexistence
C. :s/coexistence
D. -- find_forward coexistence









Answer: A

How can the X window server be restarted?

How can the X window server be restarted? 








A. Press <Ctrl><Alt><Delete>
B. Press <Ctrl><Alt><Backspace>
C. Press <Ctrl><Alt><F5>, login, and type tartx
D. Change consoles and type the command ill -9 X








Answer: B

A Linux server is configured as a router, but the administrator notices that packets are no longer being routed. Which of the following should the administrator run on the server to verify routing functionality?

A Linux server is configured as a router, but the administrator notices that packets are no longer being routed. Which of the following should the administrator run on the server to verify routing functionality? 








A. cat /proc/self/status
B. /etc/rc.d/squid status
C. /etc/rc.d/network status
D. cat /proc/sys/net/ipv4/ip_forward









Answer: D

A user has added a PCMCIA wireless network card to a Linux laptop. The network services fail on boot. After boot, if they are restarted by hand, network services load properly. Which of the following could solve the problem?

A user has added a PCMCIA wireless network card to a Linux laptop. The network services fail on boot. After boot, if they are restarted by hand, network services load properly.
Which of the following could solve the problem? 








A. Check that the PCMCIA ports are enabled in the BIOS.
B. Reinstall the wireless network card drivers on the system.
C. Check the order of execution of services in the boot scripts.
D. Reconfigure the wireless access point to access Linux connections.









Answer: C

The following is an extract of a password file: Smith:*:1133:334:John Smith:/usr/people/jsmith:/bin/tcsh Which of the following is the purpose of the ??in Smith's password field?

The following is an extract of a password file:
Smith:*:1133:334:John Smith:/usr/people/jsmith:/bin/tcsh
Which of the following is the purpose of the ??in Smith's password field? 








A. It deactivates Smith's account.
B. It indicates that Smith is a superuser.
C. It forces Smith to change his password at his next login.
D. It indicates that Smith's home directory is shared by other members of his group.









Answer: A

An update CD-ROM for a distribution contains the latest RPMs for all packages that they provide. Which of the following is the BEST command to use to update all of the existing RPMs on a server without making any other changes?

An update CD-ROM for a distribution contains the latest RPMs for all packages that they provide. Which of the following is the BEST command to use to update all of the existing RPMs on a server without making any other changes? 







A. rpm -F /mnt/cdrom/RPMS/*.rpm
B. rpm -i /mnt/cdrom/RPMS/*.rpm
C. rpm -update /mnt/cdrom/RPMS/*.rpm
D. rpm --update /mnt/cdrom/RPMS/*.rpm







Answer: A

An administrator types the command s xl and the following is a portion of the output obtained: F UID PID PPID NI VSZ RSS WCHAN TTY TIME COMMAND . 4 0 1707 1706 15 2304 830 wait4 tty1 0:00 -bash 4 0 1708 1706 15 4804 420 wait4 tty1 0:00 awk 4 0 1701 1707 15 4304 820 wait4 tty1 0:00 nmap 4 0 1836 1713 15 4405 941 wait4 tty1 0:00 vi 4 0 1921 1707 15 7205 820 wait4 tty1 0:00 xterm Which process number should be killed to stop the map?and term?processes?

An administrator types the command s xl and the following is a portion of the output obtained:
F UID PID PPID NI VSZ RSS WCHAN TTY TIME COMMAND .
4 0 1707 1706 15 2304 830 wait4 tty1 0:00 -bash
4 0 1708 1706 15 4804 420 wait4 tty1 0:00 awk
4 0 1701 1707 15 4304 820 wait4 tty1 0:00 nmap
4 0 1836 1713 15 4405 941 wait4 tty1 0:00 vi
4 0 1921 1707 15 7205 820 wait4 tty1 0:00 xterm
Which process number should be killed to stop the map?and term?processes? 







A. 15
B. 820
C. 1707
D. 1921








Answer: C

A server requires more swap space. A new swap partition is created at /dev/sdb2 using fdisk. After editing the configuration, which of the following commands is used to activate the new partition?

A server requires more swap space. A new swap partition is created at /dev/sdb2 using fdisk. After editing the configuration, which of the following commands is used to activate the new partition? 







A. swapon -a
B. mkfs -swap
C. sfdisk /dev/sdb2
D. mount -t vfs /dev/sdb2








Answer: A

How can a user change their default BASH shell prompt?

How can a user change their default BASH shell prompt? 







A. Change the $PS1 variable in ~/.cshrc
B. Change the $PS1 variable in ~/.profile
C. Change the $PROMPT variable in ~/.cshrc
D. Change the $PROMPT variable in ~/.profile








Answer: B

Examine the following /etc/passwd file: root:X:11423:0:99999:7::: dgringold:X:11423:0:99999:7::: jjones:!!:11432:0:99999:7::11688: tgold:!!:11342:11231:11678:7::: Which of the following is the password field?

Examine the following /etc/passwd file:
root:X:11423:0:99999:7:::
dgringold:X:11423:0:99999:7:::
jjones:!!:11432:0:99999:7::11688:
tgold:!!:11342:11231:11678:7:::
Which of the following is the password field? 








A. The first field
B. The second field
C. The third field
D. The fourth field








Answer: B

An administrator wants to install Linux onto a computer that does not have a CD-ROM drive. Which of the following is the BEST way to complete the installation?

An administrator wants to install Linux onto a computer that does not have a CD-ROM drive. Which of the following is the BEST way to complete the installation? 







A. Install via TFTP (Trivial File Transfer Protocol) from the network.
B. Install via FTP from an FTP server.
C. Install via NFS (Network File Server) from a Web server.
D. Copy the CD-ROM files to the machine using the 3.5" diskette drive.









Answer: B

The system administrator notices the following file in a user's home directory: -rwsr-xr-x 1 root user1 628684 Jun 13 09:38 ksh. Which of the following does this file indicate?

The system administrator notices the following file in a user's home directory: -rwsr-xr-x 1 root user1 628684 Jun 13 09:38 ksh. Which of the following does this file indicate? 






A. The system has been compromised.
B. Only root has shared access for ksh.
C. The ksh service needs to be restarted.
D. ksh was inadvertently installed in user's directory.







Answer: A

Which of the following is a valid entry for /etc/fstab?

Which of the following is a valid entry for /etc/fstab? 







A. /dev/hd1 /mnt/hda1 ntfs defaults,noatime,notail 0 0
B. /dev/hdb1 /mnt/hdb1 ext3 defaults,noatime,notail 0 0
C. /dev/hda1 /proc/hda1 ntfs defaults,noatime,notail 0 0
D. /dev/hdb1 /mnt/hdb1 reiser defaults,noatime,notail 0 0







Answer: B

An administrator needs to add support for PERL to Apache for the company's Website. The administrator wants to do this by adding perl_module to the Apache configuration. How can this be done?

An administrator needs to add support for PERL to Apache for the company's Website. The administrator wants to do this by adding perl_module to the Apache configuration. How can this be done? 







A. Run http -lm perl_module from the command line.
B. Run httpd --module perl_module from the command line.
C. Remove the # from #AddModule perl_module libexec/httpd/libssl.so in httpd.conf file.
D. Remove the # from #LoadModule perl_module libexec/httpd/libssl.so in httpd.conf file.









Answer: D

A set of computers is used for technical support. The manager has asked that users have restricted time periods in which they can login. Which of the following must be edited to accomplish this?

A set of computers is used for technical support. The manager has asked that users have restricted time periods in which they can login. Which of the following must be edited to accomplish this? 








A. /etc/pam.conf
B. /etc/logon.conf
C. ~/.bashrc
D. /etc/group









Answer: A

After replacing the network card in a Linux machine, a user wants to find out if the card was detected properly at boot. Which of the following commands will provide this information?

After replacing the network card in a Linux machine, a user wants to find out if the card was detected properly at boot. Which of the following commands will provide this information? 







A. ls -l /dev/eth*
B. dmesg | grep eth
C. hwstat | grep eth
D. cat /proc/net | grep eth







Answer: B

A user has a cron job that clears print queues at midnight each day. The cron job has run correctly for several months; however the job apparently did not run the night before. Which of the following should be done FIRST to resolve the problem?

A user has a cron job that clears print queues at midnight each day. The cron job has run correctly for several months; however the job apparently did not run the night before. Which of the following should be done FIRST to resolve the problem? 







A. Check the process list for an instance of crond running.
B. Check the user's cron job for syntax errors and correct as needed.
C. Check to make sure the printer is connected to the server and powered on.
D. Check to make sure the user was properly logged into the network the night before.








Answer: A

A Linux print server must limit access to its printers. Only the database server must be allowed to print. Which method is considered best practice?

A Linux print server must limit access to its printers. Only the database server must be allowed to print. Which method is considered best practice? 








A. Edit /etc/hosts.lpd to only include the database server
B. Edit /etc/printcap and add a filter to only include the database server
C. Limit file permissions on the printer filter to users on the database server
D. Limit file permissions on the spool directory to users on the database server








Answer: A

A network administrator has enabled IP forwarding on a Linux server with the following command: echo "1" > /proc/sys/net/ipv4/ip_forward After the server is restarted several weeks later, IP forwarding is not working. Which of the following commands should the network administrator have issued?

A network administrator has enabled IP forwarding on a Linux server with the following command:
echo "1" > /proc/sys/net/ipv4/ip_forward After the server is restarted several weeks later, IP forwarding is not working.
Which of the following commands should the network administrator have issued? 








A. Run save proc
B. Restart the network daemon
C. Edit the /etc/sysctl.conf file
D. Run echo "1" > /proc/sys/net/ipv4/ip_forward --save








Answer: C

A file with permission set to octet 540 allows which of the following?

A file with permission set to octet 540 allows which of the following? 








A. Read and write permissions to root, and read-only permission to the group. No permission to others.
B. Read and execute permissions to root, and read-only permission to the group. No permission to others.
C. Read and write permissions to the owner, and read-only permission to the group. No permission to others.
D. Read and execute permissions to the owner, and read-only permission to the group. No permission to others.








Answer: D

Which of the following commands is used to search the whole directory structure to locate a specific file, but still can execute other commands while the 'find' command is searching for the file?

Which of the following commands is used to search the whole directory structure to locate a specific file, but still can execute other commands while the 'find' command is searching for the file? 







A. find / filename &
B. find / -name filename
C. find / -name filename &
D. find filename > background









Answer: C