Enter your search terms
Submit search form
Web
examineonline.googlepages.com
Online Exam
>>
COMPTIA
>>
Linux+
>>
Test 4
Menu
Programming
COMPTIA
GMAT
English
IQ
DataBase
OS
MCSE
CISCO
Finance
Management
Health
Soft Skills
Web Building
Multimedia
Test 4
1 . Which of the following commands can be used to go to the 25th line of a file in vi?
A.
25G
B.
G25
C.
.25
D.
g25
2 . A system is going to have its memory and CPU upgraded. This information will be created in Linux in which of the following?
A.
The /dev/hwinfo.conf file
B.
The /etc/hwinfo.conf file
C.
The /usr/src/linux/devices directory
D.
The /proc directory
3 . A user wants the script name1 to process the contents of the file "name2", then redirect the output to the program name3. Which if the following shell commands will do this?
A.
name1 > name2 | name 3
B.
name1 | name2 < name3
C.
name1 < name2 | name3
D.
name1 | name2 > name3
4 . A Linux system is planned to have both an Ethernet card and a modem. On each of these networks the IP addresses are dynamically assigned. Which if the following services should be considered for installation?
A.
Pump
B.
Rounted
C.
SNMP
D.
DNS
5 . Which of the following commands can be used to create new directories?
A.
ls
B.
rm
C.
mkdir
D.
mv
6 . The system administrator needs to create two new groups, 'develop' and 'admin'. Which of the following should be done to accomplish this?
A.
Enter the group data in the /etc/group.conf file.
B.
Use the groupadd command.
C.
Use the newgrp command.
D.
Use the creategroup command.
7 . Which of the following commands is used to set default file permissions for any newly created file?
A.
fmask
B.
umask
C.
createMask
D.
mask
8 . A customer wants to backup her entire Website into a file. Which if the following commands would best accomplish this?
A.
tar –cvf /dev/st0/web.tar /home/httpd/
B.
tar –cvf www.tar /home/httpd/
C.
tar –cvf /home/httpd /dev/st0
D.
tar cvf /home/httpd/ webbackup.tar
9 . What does the lpq command do?
A.
Removes a print job.
B.
Prints a file.
C.
Sets up a printer on the system.
D.
Shows status of the print queue.
10 . What command, when issued from a non-root user, will remove all files from the /tmp directory by prompting the user for the root password?
A.
su "rm 'rf /tmp*"
B.
su –c "rm –rf /tmp*"
C.
cirtmp
D.
rm –rf /tmp/* -su
11 . How would an administrator change the ownership of the directory /tmp/data/user1 from the account 'user1' to the account 'user2'?
A.
chown –R /tmp/data/user1 user2
B.
chown –R user2 /tmp/data/user1
C.
chown /tmp/data/user2 user 1
D.
chown user2 /tmp/data/user1 user2
12 . A system administrator who has forgotten his root password on a server can do which of the following to change the root password?
A.
Use the brute-force password sniffer.
B.
Edit the /etc/inittab file to load without NIS.
C.
Use the passwd command from the administrator group.
D.
Reboot the system in runlevel 1 and use "init=/bin/sh" as a boot option.
13 . When a new user account is created, the default settings are copied from which of the following?
A.
/etc/start
B.
/etc/default
C.
/etc/skel
D.
/usr/skel
14 . Which if the following commands can be used to compare two text files to find out how they are different?
A.
comp
B.
diff
C.
compare
D.
filediff
15 . A user needs to securely connect to a server. It is mandatory that encrypted passwords be used. Which of the following network utilities should be used?
A.
ssh
B.
tftp
C.
telnet
D.
rsh
16 . A user has overwritten the master boot record. How could the Linux record be restored?
A.
edit lilo conf
B.
edit fstab
C.
run "fdisk/mbr"
D.
run "/sbin/lilo
17 . Which if the following should be done before installing Linux on a home computer?
A.
Create ext2 and swap partitions on the hard drive.
B.
Verify the hardware on the Linux hardware compatibility list.
C.
Upgrade the computer's memory to at least 64 MB.
D.
Defragment the drive using the computer's current operating system.
18 . A client has downloaded the latest Linux kernel source and wants to compile and install it on a home machine. The downloaded file is named "linux-2.4.3.tar.gz". What command should be issued first?
A.
gzip q linux-2.4.3.tar.gz; tar xvf linux-2.4.3.tar
B.
gzip c linux-2.4.3.tar.gz; tar cvf linux-2.4.3.tar
C.
tar xzvf linux-2.4.3.tar.gz
D.
tar xvf linux-2.4.3.tar.gz
19 . A customer wants internal office information to be accessible by employees through a Web browser. Which of the following Linux services should be used?
A.
Apache
B.
MySQL
C.
Squid
D.
sendmail
20 . Why is the Shadow Password Suite important?
A.
It provides a second level of encryption for the /etc/passwd file.
B.
It moves the passwords to a separate file that has more restrictive permissions.
C.
It improves the encryption for all passwords in the /etc/passwd file.
D.
It moves the passwords to a separate file and will also encrypt the password file.
21 . What minimum permission must a directory have for a user to both enter the directory and list its contents?
A.
execute and read
B.
execute only
C.
read only
D.
write and read only
22 . Which if the following is the only required partition when Linux is installed?
A.
/
B.
/etc
C.
/var
D.
/boot
23 . While a technician was installing Linux on a customer's server, the customer asked for the ability to expand the partition size, as needed. Which of the following would best provide this ability?
A.
HPFS
B.
ReiserFS
C.
ext2
D.
FAT32
24 . An administrator has installed a DHCP daemon. Which if the following should be run to see if the process is running?
A.
rpm –check dhcpd
B.
top
C.
ps aux | grep dhcpd
D.
dhcpd –restart
25 . Which if the following services is installed when a "workstation" installation is selected?
A.
XFree86
B.
Squid
C.
nntpd
D.
dhcpd
26 . A new computer came preconfigured with an internal PCI modem. After Linux was installed, the modem does not respond. Which of the following is most likely the cause of the problem?
A.
The modem is not Hayes compatible.
B.
Linux requires modems that use the Rockwell chipset.
C.
Linux does not support internal modems.
D.
The installed kernel does not support Winmodems.
27 . What services would need to be installed to build a combination Web server and Domain Name Server (DNS)?
A.
Squid and ipchains
B.
ipchains and BIND
C.
Apache and BIND
D.
Apache and Squid
28 . Linux will be installed on a new system. Where will LILO be installed?
A.
In the /boot directory.
B.
In the master boot record.
C.
In the /root directory.
D.
In the /usr/sbin directory.
29 . Which of the following services would need to be installed and configured in order to provide proxy and caching services to a Linux network?
A.
NFS
B.
ipchains
C.
Squid
D.
Bind
30 . A user wants to set up his parallel port printer on the workstation's first parallel port. What device identifier needs to be used during configuration?
A.
/dev/lp1
B.
/dev/tty0
C.
/dev/lpa
D.
/dev/lp0
Test Name :
Test 4
Category :
Linux+
Number of Question :
30
Pass Score :
80
Test Result
Your Score :
Passing Score :
80
Result :
Copyright by
VanTuMinh
© 2007