An administrator wants to create a script that installs NewFonts.rpm on several desktop computers. The script should check if the RPM is already installed. Which of the following commands would determine if NewFonts.rpm is already installed?

An administrator wants to create a script that installs NewFonts.rpm on several desktop computers. The script should check if the RPM is already installed. Which of the following commands would determine if NewFonts.rpm is already installed? 







A. rpm -a NewFonts
B. rpm -q NewFonts
C. rpm --list NewFonts
D. rpm --checksig NewFonts







Answer: B

Users are unable to print to a remote printer on a Linux server. The technician determines that all of the users and machines have the right to print to the server. The permissions on the printer's spool directory are set to allow access to all users. Users can print to other printers on the server. Which of the following is MOST likely the problem?

Users are unable to print to a remote printer on a Linux server. The technician determines that all of the users and machines have the right to print to the server. The permissions on the printer's spool directory are set to allow access to all users. Users can print to other printers on the server. Which of the following is MOST likely the problem? 








A. The /etc/printcap file is missing.
B. The SUID bit on this printer's spool directory is not set.
C. Root does not have read permission on the print filter.
D. Users do not have execute permission on the print filter.








Answer: B

A Linux administrator is trying to set up a server that provides the MOST secure communication for remote administration. Which of the following is the BEST choice for this situation?

A Linux administrator is trying to set up a server that provides the MOST secure communication for remote administration. Which of the following is the BEST choice for this situation? 








A. SSH (Secure Shell)
B. RSH (Remote Shell)
C. FreeRADIUS
D. Kerberos







Answer: A

For troubleshooting, a technician needs to boot an SMP (Symmetric Multi-Processor) system to use a single CPU. Which of the following is the correct parameter to pass to the kernel at boot time?

For troubleshooting, a technician needs to boot an SMP (Symmetric Multi-Processor) system to use a single CPU. Which of the following is the correct parameter to pass to the kernel at boot time?








A. nosmp
B. disable-smp
C. block-cpu-1
D. enable_smp=no








Answer: A

The company wants to have its laptops perform a clean shutdown of the Linux operating system when the power button is pressed. Which of the following modules must be installed to accomplish this?

The company wants to have its laptops perform a clean shutdown of the Linux operating system when the power button is pressed. Which of the following modules must be installed to accomplish this? 








A. APM (Advanced Power Management)
B. ACPI (Advanced Control and Power Interface)
C. power
D. i2c-core







Answer: B

Before performing a new Linux server installation, what part of the installation should be planned and documented?

Before performing a new Linux server installation, what part of the installation should be planned and documented? 








A. System hardware, partition map, required services, user passwords
B. System hardware, required packages, required services, partition map
C. Partition map, root password, required packages, performance baseline
D. Partition map, required packages, daemon configuration, performance baseline









Answer: B

The directory /home is on an ext2 file system. The owner is able to delete other files in the directory, but all attempts by the owner of /home/owner/A to delete the one file result in the output: bash: A: Permission denied Given the file listing: -rw-r--r-- 1 owner owner 5 Jun 13 12:14 A Which of the following should be checked next in order to diagnose this problem?

The directory /home is on an ext2 file system. The owner is able to delete other files in the directory, but all attempts by the owner of /home/owner/A to delete the one file result in the output: bash:
A: Permission denied
Given the file listing:
-rw-r--r-- 1 owner owner 5 Jun 13 12:14 A
Which of the following should be checked next in order to diagnose this problem?








A. mkfs
B. dmesg
C. rm -r /home/owner
D. lsattr /home/owner/A







Answer: D

User 'jones' cannot login to a Linux server. The technician checked the server records and noted that shadow passwords are disabled. The technician also noted that /etc/passwd contains the following entry: jones:*:1001:300:Bob Jones:/home/jones:/bin/bash Which of the following is MOST likely to be the problem?

User 'jones' cannot login to a Linux server. The technician checked the server records and noted that shadow passwords are disabled. The technician also noted that /etc/passwd contains the following entry: jones:*:1001:300:Bob Jones:/home/jones:/bin/bash Which of the following is MOST likely to be the problem? 








A. The account is expired.
B. The account is disabled.
C. Jones used the wrong password.
D. The account is using a service UID (User ID).








Answer: B

A user typed the following command on a machine: ifconfig eth0:1 192.168.155.5 up Which of the following is the effect of typing this on a machine that already has an address of 192.168.155.1 assigned to eth0?

A user typed the following command on a machine:
ifconfig eth0:1 192.168.155.5 up
Which of the following is the effect of typing this on a machine that already has an address of 192.168.155.1 assigned to eth0? 








A. The gateway address will be replaced with 192.168.155.5.
B. The current IP address will be replaced with 192.168.155.5.
C. 192.168.155.5 will be assigned to eth0 as a second IP address.
D. The address of 192.168.155.5 will be assigned to the second physical NIC.









Answer: C

A user downloads the software package "package.tar.bz2" from the vendor. Which of the following command lines can be used to extract the contents of the package?

A user downloads the software package "package.tar.bz2" from the vendor.
Which of the following command lines can be used to extract the contents of the package?








A. tar xf package.tar.bz2
B. tar xvf package.tar.bz2 | bzip2 -d
C. bzip2 -d < package.tar.bz2 | tar xvf -
D. bzip2 package.tar | tar xvf package.tar.bz2









Answer: C

After properly installing both the sound card and modules, the technician attempted to play an MP3 file, but no sound was heard. Which of the following is MOST likely to be the problem?

After properly installing both the sound card and modules, the technician attempted to play an MP3 file, but no sound was heard. Which of the following is MOST likely to be the problem? 







A. The sound card does not support MP3 playback.
B. The sound module was not added to the kernel.
C. The sound card is not on the HCL (Hardware Compatibility List).
D. The ALSA (Advanced Linux Sound Architecture) sound server was not started.








Answer: D

A Linux technician is preparing to install a 64-bit Ultra 320 SCSI PCI controller on a x86 system. Which of the following must the system have to allow this to work at full functionality?

A Linux technician is preparing to install a 64-bit Ultra 320 SCSI PCI controller on a x86 system. Which of the following must the system have to allow this to work at full functionality? 








A. 64 bit PCI slot
B. 64 bit diskette
C. 64 bit processor
D. 64 bit memory path








Answer: A

A user needs the ability to create new users on a system. How can the user be given this privilege without the root password?

A user needs the ability to create new users on a system. How can the user be given this privilege without the root password? 








A. Add the user to the /etc/sudoers file
B. Edit the /etc/sysconfig/policies file
C. Make the user a member of the operator group
D. Grant the user execute privileges to useradd, groupadd, and usermod








Answer: A

A user complains that the mount point the system uses for the CD-ROM device is too long. The user wants to change the mount point from /media/cdrom to /cdrom. Which of the following files needs to be edited?

A user complains that the mount point the system uses for the CD-ROM device is too long. The user wants to change the mount point from /media/cdrom to /cdrom. Which of the following files needs to be edited? 








A. /etc/mtab
B. /etc/fstab
C. /etc/mount
D. /etc/exports








Answer: B

A technician needs to create a diskette to transfer data from a Linux server to a Windows 2000 server. The diskette is unformatted. Which of the following commands should be used to prepare the diskette for writing?

A technician needs to create a diskette to transfer data from a Linux server to a Windows 2000 server. The diskette is unformatted. Which of the following commands should be used to prepare the diskette for writing? 







A. mount /dev/fd0 /mnt/floppy mkdosfs /dev/fd0
B. mkfs -t ext2 /dev/fd0 mount /dev/fd0 /mnt/floppy
C. mount /dev/fd0 /mnt/floppy mkfs -t msdos /dev/fd0
D. mkdosfs /dev/fd0 mount -t msdos /dev/fd0 /mnt/floppy







Answer: D

If the command below is executed in a user's home directory, which of the following would be accomplished? echo hello >> allusers

If the command below is executed in a user's home directory, which of the following would be accomplished? echo hello >> allusers 







A. Sends the message 'hello' to all users on the system.
B. Creates a new file called 'hello' and sends it to all users.
C. Sends the message 'hello' to all currently logged in users.
D. Appends 'hello' to the end of the file llusers? if it exists.








Answer: D

When a Linux laptop runs on battery, the hard drive performance significantly decreases. Which of the following can improve the hard drive performance?

When a Linux laptop runs on battery, the hard drive performance significantly decreases. Which of the following can improve the hard drive performance?








A. Increase the amount of swap space on the disk.
B. Decrease the amount of swap space on the disk.
C. Increase the APM (Advanced Power Management) value for the hard drive.
D. Decrease the APM (Advanced Power Management) value for the hard drive.









Answer: C