Tải bản đầy đủ (.pdf) (52 trang)

Tài liệu ActualTests Exam: 117-101 Title : General Linux Ver : 01.22.04 docx

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (268.93 KB, 52 trang )

Exam: 117-101
Title : General Linux
Ver

: 01.22.04


117-101

Section A contains 236 questions. Section B contains 94 questions. The
total number of questions is 330.
Section A
QUESTION 1 What option is used with the useradd command to specify the user's home directory?
A. -d
B. -h
C. -u
D. -a
Answer: A
QUESTION 2 What switch is used with the usermod command to change a user's secondary groups?
A. -G
B. -group
C. -d
D. -U
Answer: A
QUESTION 3 Do changes to the inittab file require a reboot in order to take effect?
A. No
B. Yes
Answer: A
QUESTION 4 You want to repeat the last command you entered. How would you do this?
A. #
B. !!


C. #l
D. ##
Answer: B
QUESTION 5 What option can be used with the shutdown command to cancel a pending shutdown?
A. shutdown -c
B. shutdown -x
C. shutdown -n
D. shutdown -u
Answer: A
QUESTION 6 Which of the following are required in the /etc/passwd file when creating a user account?
(Choose all that apply)
A. login name
B. userid
C. default group
D. password age

Actualtests.com - The Power of Knowing


117-101
E. minimum password length
Answer: A, B, C
QUESTION 7 You have just added the following line to your syslog.conf file:
lpr.info /dev/console. But, line printer messages are not being sent to the console.
What is most likely the problem?
A. after modifying the syslog.conf file, the syslog daemon needs to be restarted.
B. the entry is formatted incorrectly
C. the syslog daemon reads it configuration information from the syslogd file
Answer: A
QUESTION 8 What run level represents basic multi-user?

A. 2
B. 0
C. 1
D. 5
Answer: A
QUESTION 9 What command be used to find the systems previous run level?
A. runlevel
B. level
C. rlevel previous
D. show level previous
Answer: A
QUESTION 10 What syslog.conf facility represents user authentication processes?
A. auth
B. proc
C. user
D. login
Answer: A
QUESTION 11 What syslog.conf facility represents the cron daemon?
A. crond
B. daemon
C. cron
D. crontab
Answer: C
QUESTION 12 Which of the following syslog identifiers represents the highest priority?
A. notice
B. warning
C. error
D. critical
Answer: D


Actualtests.com - The Power of Knowing


117-101
QUESTION 13 Which of the following switches can be used with the tar command to find out the difference
between two tar files?
A. -c
B. -v
C. -d
D. -t
Answer: C
QUESTION 14 You want to add files to a previously created tar file. You want to replace existing files with
newer files, how can you do this?
A. Use the append command
B. Use the tar command with the -t switch
C. Use the add command
D. Use the tar command with the -u switch
Answer: D
QUESTION 15 What syslog.conf facility represents kernel processes?
A. user
B. proc
C. daemon
D. kern
Answer: D
QUESTION 16 You want to view a listing of previously entered commands.
What command would you use?
A. hist
B. histfile
C. show buff
D. history

Answer: D
QUESTION 17 Which of the following syslog identifiers represents the highest priority?
A. alert
B. error
C. critical
D. emerg
Answer: D
QUESTION 18 You want to uninstall lilo.
Which of the following would you do to accomplish this?
A. lilo -u
B. remove lilo
C. uninstall lilo
D. lilo -r
Answer: A

Actualtests.com - The Power of Knowing


117-101
QUESTION 19 Linux is a(n) _________ operating system, meaning the source code is freely available.
A. Open sourced
B. User licensed
C. Closed source
D. Open binary
Answer: A
QUESTION 20 DNS provides ________ to IP address mappings.
A. NETBIOS name
B. host name
C. MAC address
Answer: B

QUESTION 21 You want there to be 3 grace days after a password expires before an account becomes
disabled.
How would you do this?
A. Use the useradd command with the -f switch
B. Check the delay option in user admin
C. Edit the user's user.conf file
D. Use the useradd command with the -d switch
Answer: A
QUESTION 22 You had a contractor come into your company. You originally set his account to expire after
thirty days. You now need to change this.
How can you do this?
A. usermod -e
B. usermod -a
C. usermod -x
D. usermod -d
Answer: A
QUESTION 23 You want to have the process /etc/myprocess run when the system enters run level 3.
Which of the following inittab entries would accomplish this?
A. 5:3:once:/etc/myprocess
B. 3:4:once:/etc/myprocess
C. once:3:4:/etc/myprocess
D. once:5:3:/etc/myprocess
Answer: A
QUESTION 24 What option can be used with the shutdown command to send a warning message alerting
users that the system will be shut down?
A. shutdown -k
B. shutdown -w
C. shutdown -a
D. shutdown -c
Answer: A


Actualtests.com - The Power of Knowing


117-101

QUESTION 25 Which of the following syslog.conf entries would cause kernel error messages to be sent to the
system console?
A. kern warning console
B. kern.error console
C. kern.warning /dev/console
D. kern error console
Answer: C
QUESTION 26 What run level represents multi-user?
A. 3
B. 0
C. 1
D. 5
Answer: A
QUESTION 27 What syslog.conf facility represents miscellaneous daemons?
A. misc
B. proc
C. kern
D. daemon
Answer: D
QUESTION 28 What syslog.conf facility represents Unix to Unix copy?
A. ucp
B. copy
C. uucp
D. uuc

Answer: C
QUESTION 29 Which of the following syslog identifiers represents the highest priority?
A. info
B. warning
C. notice
Answer: B
QUESTION 30 You want to add information to a previously created tar file.
How would you do this?
A. Use the tar command with the -a switch
B. Use the append command
C. Use the add command
D. Use the tar command with the -r switch
Answer: D
QUESTION 31 What syslog.conf facility represents user processes?
A. auth

Actualtests.com - The Power of Knowing


117-101
B. proc
C. user
D. u
Answer: C
QUESTION 32 What command can be used to print out system boot messages?
A. bootm
B. bmsg
C. messages
D. dmesg
Answer: D

QUESTION 33 You want to set a 30 second delay before your system boots to the default kernel.
Which of the following command lines would do this?
A. lilo -t 30
B. lilo -d 30
C. lilo delay 30
D. lilo 30
Answer: B
QUESTION 34 What command can be used to show all variables?
A. set
B. varlist
C. show var
D. show
Answer: A
QUESTION 35 What option is used with the useradd command to specify the user's user id?
A. -u
B. -s
C. -ui
D. -id
Answer: A
QUESTION 36 You are adding a new user. You want to create the user's home directory only if the directory
does not exist.
Which of the following would accomplish this?
A. useradd -m
B. useradd -h -y
C. useradd -u
D. useradd -h
Answer: A
QUESTION 37 Which of the following can be used to switch your system to run level 1?
A. init 1
B. inittab 1


Actualtests.com - The Power of Knowing


117-101
C. rlevel 1
D. level 1
Answer: A
QUESTION 38 You want to do a system shutdown, but you don t want the shutdown to occur immediately.
You want the system to wait 60 seconds before doing the shutdown.
What option can be used with the shutdown command to wait 60 seconds before starting the shutdown?
A. shutdown -t 60
B. shutdown -w 1
C. shutdown -c 60
D. shutdown -t 1
Answer: A
QUESTION 39 What run level represents administration mode?
A. 0
B. 1
C. 6
D. 5
Answer: B
QUESTION 40 What file does init processes use as its control file?
A. /etc/inittab
B. /etc/proc
C. /etc/init
D. /etc/initproc
Answer: A
QUESTION 41 What syslog.conf facility is used to create timestamps in log files?
A. mark

B. stamp
C. time
D. tstamp
Answer: A
QUESTION 42 Which of the following commands can be used to create a tar archive file in verbose mode?
A. tar -v
B. tar -cvf
C. tar -c
D. tar -vf
Answer: B
QUESTION 43 What is the name of the configuration file used by the syslog daemon?
A. syslog.conf
B. syslogd
C. slog.conf

Actualtests.com - The Power of Knowing


117-101
D. system.conf
Answer: A
QUESTION 44 What lilo.conf parameter will cause the root file system to be mounted read only?
A. no-write
B. read
C. no-right
D. read-only
Answer: D
QUESTION 45 Which of the following syslog.conf entries would cause kernel error messages to be sent to the
system console?
A. kern warning console

B. kern.error console
C. kern.warning /dev/console
D. kern error console
Answer: C
QUESTION 46 What option is used with the useradd command to specify the user's login shell?
A. -s
B. -l
C. -u
D. -sh
Answer: A
QUESTION 47 Which of the following can be used to change a user's home directory?
A. usermod -d
B. usermod -h
C. usermod -u
D. usermod -c
Answer: A
QUESTION 48 You want to have the process /etc/myprocess to run when the system enters run level 2. You
want the system to wait until the process completes.
Which of the following inittab entries would accomplish this?
A. 7:2:wait:/etc/myprocess
B. 2:7:wait:/etc/myprocess
C. wait:2:7:/etc/myprocess
D. wait:7:2:/etc/myprocess
Answer: A
QUESTION 49 Which of the following syslog.conf entries would cause kernel warning messages to be sent to
the system console?
A. kern.console warning
B. kern.warning /dev/console
C. kern.warning.console


Actualtests.com - The Power of Knowing


117-101
D. kern warning console
Answer: B
QUESTION 50 You want to repeat a command that began with the letters 'ab'.
How would you do this?
A. !ab
B. list ab
C. #ab
D. show ab
Answer: A
QUESTION 51 What syslog.conf facility represents login processes?
A. proc
B. login
C. user
D. auth
Answer: D
QUESTION 52 What option can be used with the shutdown command to cancel a pending shutdown?
A. shutdown -c
B. shutdown -x
C. shutdown -n
D. shutdown -u
Answer: A
QUESTION 53 Which of the following commands can be used to extract a tar file?
A. tar -vf
B. tar -xvf
C. tar -e
D. tar -v

Answer: B
QUESTION 54 Which of the following Linux packages can be used for web caching?
A. qmail
B. squid
C. apache
D. samba
Answer: B
QUESTION 55 What lilo.conf parameter is used to specify what device should be mounted as root by default?
A. root
B. drive
C. mntroot
D. mount
Answer: A

Actualtests.com - The Power of Knowing


117-101
QUESTION 56 You want to find the full path of a certain command. How would you do this?
A. By using the 'where' command
B. By using the 'path' command
C. By using the 'which' command
Answer: C
QUESTION 57 You want a user's account to expire in ten days. What option used with the useradd command
will allow you to do this?
A. -e
B. -u
C. -d
D. -t
Answer: A

QUESTION 58 Which of the following can be used to switch your system to run level 3?
A. init 3
B. rlevel 3
C. level 3
D. inittab 3
Answer: A
QUESTION 59 Which of the following syslog.conf entries would cause mail error messages to be sent to the
system console?
A. mail error console
B. mail.err /dev/console
C. mail. error console
D. mail.err.console
Answer: B
QUESTION 60 What command can be used to find the current run level?
A. runlevel
B. level
C. show level
D. rlevel
Answer: A
QUESTION 61 Which of the following syslog identifiers represents the highest priority?
A. alert
B. error
C. critical
D. emerg
Answer: D
QUESTION 62 What daemon controls the syslog?
A. syslog
B. syslogd

Actualtests.com - The Power of Knowing



117-101
C. logd
D. sys
Answer: B
QUESTION 63 Which lilo.conf parameter will specify the amount of time the system will wait before booting
to the default image?
A. wait
B. delay
C. pause
D. default
Answer: B
QUESTION 64 What switch is used with the useradd command to specify a user's initial group?
A. -g
B. -i
C. -u
D. -ig
Answer: A
QUESTION 65 What option can be used with the shutdown command to skip fsck on reboot?
A. shutdown -f
B. shutdown -o
C. shutdown -r
D. shutdown -s
Answer: A
QUESTION 66 What run level represents a power down?
A. 5
B. 0
C. 1
D. 4

Answer: B
QUESTION 67 What syslog.conf facility represents the line printer?
A. ptr
B. linep
C. lpr
D. lprinter
Answer: C
QUESTION 68 Which daemon will send kernel alert messages?
A. alertd
B. smtpd
C. krnld
D. syslogd
Answer: D

Actualtests.com - The Power of Knowing


117-101

QUESTION 69 What syslog.conf facility represents mail processes?
A. proc
B. daemon
C. mail
D. smtp
Answer: C
QUESTION 70 What syslog.conf facility represents user processes?
A. auth
B. proc
C. user
D. u

Answer: C
QUESTION 71 What command can be used to cause changes to the inittab file to take effect without a system
reboot?
A. init q
B. init r
C. inittab r
D. inittab q
Answer: A
QUESTION 72 What option can be used with the shutdown command to reboot the system?
A. shutdown -r
B. shutdown -y
C. shutdown -c
D. shutdown -b
Answer: A
QUESTION 73 What run level represents a system reboot?
A. 6
B. 1
C. 2
D. 5
Answer: A
QUESTION 74 What syslog.conf facility represents Usenet news?
A. usenet
B. news
C. uunet
D. net
Answer: B
QUESTION 75 You want to find out what files are contained in a tar file.
How would you do this?

Actualtests.com - The Power of Knowing



117-101
A. Use the tar command with the -t switch
B. Use the tar command with the -r switch
C. Use the grep command
D. Use the find command
Answer: A
QUESTION 76 What syslog.conf facility represents httpd processes?
A. http
B. daemon
C. smtp
D. proc
Answer: B
QUESTION 77 You want to repeat command number 3 in your history.
How would you do this?
A. repeat 3
B. !3
C. show 3
D. #3
Answer: B
QUESTION 78 What lilo option will list the name and location of available kernels?
A. -q
B. -k
C. -v
D. -l
Answer: A
QUESTION 79 What lilo.conf parameter is used to specify vga text mode?
A. vgatext
B. svga

C. vga
D. vtm
Answer: C
QUESTION 80 You want to set a script to run when your Linux system reboots.
What lilo option should you use?
A. -R
B. -S
C. -T
D. -L
Answer: A
QUESTION 81 What is the configuration file for the xscreensaver?
A. xscreensaver.conf
B. .xscreensaver

Actualtests.com - The Power of Knowing


117-101
C. xsaver.conf
D. xdm-config
Answer: B
QUESTION 82 What operation of the make utility cannot normally be performed as a normal user?
A. mrproper
B. clean
C. dep
D. depends
E. install
Answer: E
QUESTION 83 What is the function of the .Xdefaults file?
A. Provides the defaults for new users X programs

B. A default user X profile, used as a template
C. User customizations for programs
D. KDE default user configuration file
Answer: C
QUESTION 84 What entry in the X configuration file specifies where the fonts are located for the X system?
A. Fonts
B. Files
C. Font path
D. Devices
Answer: C
QUESTION 85 A user named Certkiller needs to execute a system script file.
What rights do the user need to execute a script file?
A. Read, Write and Execute for all
B. Execute only for user
C. Read-only for user, Execute for group
D. Read and Execute in the same permission set
Answer: D
QUESTION 86 What is the entry in the XF86Config file that specifies the fonts are on the local machine?
Choose Two.
A. unix/:-1
B. unix/:7100
C. tcp/:45
D. udp/:80
E. font/:-1
Answer: A, B
QUESTION 87 What section of the XF86Config file contains the entry to set the path for fonts used?
A. Fonts
B. Files

Actualtests.com - The Power of Knowing



117-101
C. Ttype
D. ATM
E. Font Path
Answer: B
QUESTION 88 When a user executes the command "ps ax", what is shown on the console? Choose all that
apply.
A. Process's user-related information
B. Processes without controlling terminals
C. Processes used by the XFree86 System
D. All regular processes
E. Processes on remote machines
Answer: B, D
QUESTION 89 To change all lower case characters in a file to upper case, pick the correct command.
A. tr 'a-z' 'A-Z' file
B. tr [a-z] [A-Z] < file
C. tr "a-z" "A-Z" file
D. tr 'a-z' 'A-Z' < file
E. tr {a-z} {A-Z} > file
Answer: D
QUESTION 90 Which of the following commands will duplicate the contents of the /A directory in the
existing and empty /B directory?
A. mv /A/* /B
B. mv /A/ /B
C. mv /A /B
D. mv /A/* .
Answer: A
QUESTION 91 What will the command "kill -HUP 1354" do?

A. Kill the process 1354 destructively
B. Kill the process 1354, allowing cleanup of memory
C. Restart the process 1354, re-reading it's config files
D. Restart the process 1354, resetting it's associated modem
Answer: C
QUESTION 92 You need to have all the output from the executable myprog written to a text log named
file1.out.
This program must not send any output to the console.
Which of the commands listed will accomplish this?
A. myprog > file1.out 2>&1
B. myprog > file1.out 1>&2
C. myprog > file1.out 1> /dev/null
D. myprog 1&2> file1.out

Actualtests.com - The Power of Knowing


117-101
E. myprog 1> /dev/null > file1.out
Answer: A
QUESTION 93 What is the name of the default XFree86 Font Server?
A. xfs
B. xfserver
C. xfree86fs
D. Xfs
E. xfontserver
Answer: A
QUESTION 94 Which of the following are windows managers? Choose all that apply.
A. Xfce
B. Afterstep

C. IceWM
D. FVWM
E. Black Box
Answer: A, B, C; D, E
QUESTION 95 What command will tell you the color depth of your display?
A. xwininfo
B. xvidtune
C. xcd
D. xcdepth
E. xvidepth
Answer: A
QUESTION 96 Two directories require different quota for file system usage. The /var/mail directory needs a
20MB quota, and the /home directories require a 40MB quota.
What must be true about these directories?
A. They must exist on Ext3 partitions
B. They must be on different drives
C. They must be on different partitions
D. They must be mounted by the root user
Answer: C
QUESTION 97 On an ext2 partition, what portion is reserved for the root user?
A. 100 cylinders
B. No less than 500 blocks
C. None
D. 5%
E. 1/32nd of the total space
Answer: D
QUESTION 98 What are the default permissions for the Red Hat /etc/passwd file?
A. 644

Actualtests.com - The Power of Knowing



117-101
B. 640
C. 400
D. 641
E. 440
Answer: A
QUESTION 99 What are the default permissions on the Red Hat /etc/shadow file?
A. 644
B. 600
C. 400
D. 444
E. 640
Answer: C
QUESTION 100 What are the default permissions on the Debian /etc/passwd file?
A. 644
B. 640
C. 777
D. 700
E. 400
Answer: A
QUESTION 101 What are the default permissions on the Debian /etc/shadow file?
A. 654
B. 640
C. 400
D. 644
E. 540
Answer: B
QUESTION 102 Which of the following directories would be the least likely to need backing up? Choose Two.

A. /usr
B. /etc
C. /home
D. /tmp
E. /swap
Answer: D, E
QUESTION 103 Which of the following will copy file1.txt to file2.txt? Choose Two.
A. cat file1.txt > file2.txt
B. cat file1.txt | file2.txt
C. cp file1.txt > file2.txt
D. cp file1.txt file2.txt
E. cpio < file1.txt > file2.txt
Answer: A, D

Actualtests.com - The Power of Knowing


117-101
QUESTION 104 When you create a new file, the permissions show as 654.
What value is the umask likely set at?
A. 012
B. 002
C. 123
D. 022
Answer: A
QUESTION 105 When you create a new directory, you see the permissions are set to 600.
What umask value would cause this to happen?
A. 177
B. 066
C. 244

D. 155
E. 333
Answer: A
QUESTION 106 You need to display all files in the current directory that start with a "a" and end with a "v",
regardless of their length or use of delimiters. Choose the best answer.
A. ls a*v
B. ls a.v
C. ls a-v
D. ls [a-v]
Answer: A
QUESTION 107 What command with switches will display the disk utilization for all mounted file systems?
A. df
B. vmstat
C. du
D. top
E. free
Answer: A
QUESTION 108 Which command will show the number of free and used inodes for your system's mounted
file systems?
A. du -i
B. df -i
C. ls -iR /
D. freeinodes
Answer: B
QUESTION 109 Which of the commands will show you only the middle 10 lines of a 30 line text file named
text file?
A. head -n 11-20 text file
B. head -n 20 text file | tail
C. tail -n 11-20


Actualtests.com - The Power of Knowing


117-101
D. cat text file | pr -n 11-20
E. nl -n 11-30 text file
Answer: B
QUESTION 110 Which command will display in reverse order a file that is numbered from 1 to End of File?
A. cat file | nl | pr
B. cat file | nl | tac
C. cat file | tac | nl
D. cat file | pr -n | reverse
E. None of the above
Answer: B
QUESTION 111 What command will show the first 10 lines of a file by default?
A. head
B. cat
C. tac
D. nl
E. tail
Answer: A
QUESTION 112 What command will show the last 10 lines of a file by default?
A. tail
B. head
C. cat
D. prstat
E. ps
Answer: A
QUESTION 113 What is the result of the following command?
# cat 'echo "$Certkiller

A. A syntax error
B. The value of $Certkiller
C. cat followed by the value of $Certkiller
D. echo followed by the value of $Certkiller
E. echo followed by $Certkiller
Answer: A
QUESTION 114 What is the result of the command:
# kill 9 13459
A. Kill PID 13459 with a signal 15
B. Kill PID 13459 with a signal 1
C. Kill PID 13459 with a signal 9
D. None of the above
Answer: D

Actualtests.com - The Power of Knowing


117-101
QUESTION 115 How can you execute two commands, the second one being executed only if the first returns a
nonzero (program execution failed) exit status?
A. command1 || command2
B. command1 && command2
C. command1 $$ command2
D. command1 @@ command2
Answer: A
QUESTION 116 What command will easily convert tabs in files to spaces?
A. convert
B. expand
C. tr
D. sed

E. None of the above
Answer: B
QUESTION 117 What does the command "foo < bar | foobar" do?
A. foo reads bar as stdin, pipes output to foobar
B. foo and bar are fed to foobar as stdin
C. foo's output is sent to bar, output is written to foobar
D. None of the above
Answer: A
QUESTION 118 What will the command "cd ~Certkiller do?
A. Changes directory to the user Certkiller's home directory
B. Changes to a directory named Certkiller in the current user's home directory
C. Changes to directory /etc/Certkiller
D. Produces a syntax error
E. None of the above
Answer: A
QUESTION 119 You want to move all files in /dir1 to /dir2 that begin with a and end with v.
What is the correct command to do this?
A. mv /dir1/a*v /dir2
B. mv -r /dir1/a.v /dir2
C. move /dir1/a?v /dir2
D. ls a*v | cp /dir2
E. mv /dir1/[a-v] /dir2
Answer: A
QUESTION 120 What does the following command's characters do?
# cmd > file.out 2>&1
A. Sends the stdout of cmd to file.out
B. Sends the stdout and stderr of cmd to file.out
C. Sends the stderr to the bit bucket and stdout of cmd to file.out

Actualtests.com - The Power of Knowing



117-101
D. None of the above
Answer: B
QUESTION 121 Regardless of the version of Linux, which of the following help start and stop services on
demand?
Select two.
A. xinetd
B. inetd
C. samba
D. nfs
E. amd
Answer: A, B
QUESTION 122 What steps need to be performed, to make a new disk accessible to users?
A. fdisk
B. mkfs
C. mount
D. stat
E. quota on
Answer: A, B, C
QUESTION 123 When the system is mounted, all file systems in the /etc/fstab are mounted, except those with
what in the option column?
A. no mount
B. noauto
C. noatime
D. nohup
Answer: B
QUESTION 124 What environment variable will set the path for added libraries?
A. LD_LIBRARY_PATH

B. LIBPATH
C. LPATH
D. LIB
E. None of the above
Answer: A
QUESTION 125 What switch will set the foreground color in X?
A. fg
B. foreground
C. xfg
D. fregrnd
E. None of the above
Answer: A

Actualtests.com - The Power of Knowing


117-101
QUESTION 126 Which of the following best describes the order in which X Window files are executed or read
?
A. startx -> xinit -> xinitrc -> Xclients
B. xinit -> startx -> Xclients -> xinitrc
C. xinitrc -> Xclients -> startx -> xinit
D. Xclients -> startx -> xinitrc -> xinit
Answer: A
QUESTION 127 Which keystrokes will move the cursor 3 lines down and 4 characters to the right?
A. 3j4l
B. 3k4m
C. 3h4j
D. 3l4k
E. 3m4k

Answer: A
QUESTION 128 What two files are used to configure a user's environment that was created with the default
options?
A. ~/.profile, ~/.bashrc
B. /etc/profile, /bashrc
C. ~/.bash_profile, ~/.bashrc
D. /etc/.login, ~/.login
E. None of the above
Answer: C
QUESTION 129 What file is used to configure the XDM daemon?
A. xdm-config
B. xdm.conf
C. xdmcfg
D. xdaemon.conf
E. None of the above
Answer: A
QUESTION 130 The screen size is already configured in X on a system. When started, the screen defaults to a
certain size.
The user wants to change it, what file should the user edit manually to accomplish this?
A. /etc/xf86config
B. /usr/bin/xf68setup
C. /etc/X11/XF86Config
D. /etc/screen size
Answer: C
QUESTION 131 When executing a command that produces output to the screen, you get an exit code of 0.
Choose the best description of what has happened
A. The program executed properly
B. The program encountered an error

Actualtests.com - The Power of Knowing



117-101
C. The program requires more input
D. The program has returned standard input
E. The program terminated with a syntax error
Answer: A
QUESTION 132 Which directory is used to store undelivered user email by default?
A. /var/spool/sendmail/user mail
B. /var/spool/mail
C. /var/spool/mail queue
D. /var/spool/sendmail/username
E. /var/mail/sendmail/username
Answer: B
QUESTION 133 Which utility would be used to verify the checksum of a downloaded archive file?
A. verify
B. chksum
C. md5sum
D. chkrpm
E. pkgchk
Answer: C
QUESTION 134 With a Linux 2.2 Kernel-based machine configuration of 133 MHZ, 32 MB RAM and a 1 GB
HD, how much swap should be configured?
A. 512MB
B. 256MB
C. 128MB
D. 64MB
E. 32MB
Answer: D
QUESTION 135 What is filename including full path, of the file used to configure library path settings for a

system?
A. /usr/lib/lib.so.1
B. /etc/lib.conf
C. /etc/ld.so.conf
D. /usr/lib/modules/modules.conf
E. None of the above
Answer: C
QUESTION 136 You set a variable's value with the command "export TEST=snuffy" and then after executing
the following script file, you type the command "echo $TEST".
scriptfile1
#!/bin/bash
USER=Certkiller
TEST=$USER
What is the variable's value that is returned?

Actualtests.com - The Power of Knowing


117-101
A. snuffy
B. Certkiller
C. empty
D. variable undeclared
E. TEST
Answer: A
QUESTION 137 A directory contains the following files:
#ls
ratas saran jacaw cabal cabin
You issue the command "ls | grep .a[^b]a.", what files are returned by the command? Choose all that apply.
A. ratas

B. jacaw
C. saran
D. cabal
E. cabin
Answer: A, B, C
QUESTION 138 Which of the following will allow both the commands to execute, regardless of their
individual exit status?
A. command1 | command2
B. command1 $ command2
C. command1 & command2
D. command1 ; command2
E. command1 ^ command2
Answer: D
QUESTION 139 Which of the following will cause command2 not to execute if command1 fails?
A. command1 & command2
B. command1 && command2
C. command1 || command2
D. command1 | command2
E. command1 ; command2
Answer: B
QUESTION 140 A user needs to search a file for lines that contain the asterisk (*) character.
Which grep search command will accomplish this? Choose all that apply.
A. grep \* text file
B. grep '*' text file
C. grep "*" text file
D. grep \<*\> text file
E. grep "'*'" text file
Answer: A, B, C
QUESTION 141 You have booted a desktop Linux system and logged in. When you type "startx", a mouse
error occurs almost immediately.


Actualtests.com - The Power of Knowing


×