Linux + Flashcards

1
Q

QUESTION NO: 1You have just added a CD.ROM drive (/dev/hdd) to your system and have added it to yourfstab. Typically you can use which of the following commands to mount media in that drive to /mnt/cdrom?A. mount /dev/cdrom /mnt/cdromB. mount/dev/cdromC. mount -t cdrom /dev/cdrom /mnt/cdromD. mount /mnt/cdromE. automount /mnt/hdd /mnt/cdrom

A

D. mount /mnt/cdrom

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

QUESTION NO: 2With Xorg 7.0& what is the name of the default font server? A. xfservB. xfsC. fonts D. xfstt E. fserv

A

B. xfs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

QUESTION NO: 3 CORRECT TEXTWhich command (without options) would you use to display how much space is available on all mounted partitions?

A

Answer: /BIN/DF

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

QUESTION NO: 4 CORRECT TEXTWhat command with all options and/or parameter will send the signal USR1 to any executing process of program apache2?

A

Answer: KILLALLSUSR1APACHE2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

QUESTION NO: 5The command echo $! will produce what output? A. the process id of last background commandB. the exit status of the last commandC. the exit status of the last background commandD. the process id of the current shellE. the name of the command being executed

A

A. the process id of last background command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

QUESTION NO: 6You are using quota on your system. How can you see disk quota details? A. repquotaB. quotA.I C. quotaD. quotacheckE. quotA.List

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

QUESTION NO: 7What is the difference between thE.remove and thE.purge action with the dpkg command? A. -remove removes the program& -purge also removes the config filesB. -remove only removes theprogram& -purge only removes the config filesC. -remove removes a package& -purge also removes all packages dependent on itD. -remove removes only the package file itself& -purge removes all files related to the package

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

QUESTION NO: 8 CORRECT TEXTWhat application can be used in place of xhost? Please enter only the name without path.

A

Answer: XAUTH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

QUESTION NO: 9You have read/write permission on an ordinary file foo. You have just run In foo bar. What would happen if you ran rm foo?A. foo and bar would both be removed.B. foo would be removed while bar would remain accessible.C. foo would beremoved& bar would still exist but would be unusable. D. Both foo and bar would remain accessible.E. You would be asked whether bar should be removed.

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

QUESTION NO: 10Which of the following commands will change all CR-LF pairs in an imported text file& userlist.txt& toLinux standard LF characters and store it as newlist.txt?A. tr ‘\r\n’ newlisttxtB. tr -c ‘\n\r’ userlist.txtC. tr -d V newlisttxtD. tr V V userlist.txt newlist.txtE. tr-s /AM’ /AJ’ userlist.txt newlist.txt

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

QUESTION NO: 11You wish to kill a process with a PID of 123. Select the command which exiting. A. kill-1 123B. kill-9 123C. kill-15 123D. kill-17 123

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

QUESTION NO: 12Using vi& you want to save changes to the file my file with :w!& but vi complains it cannot write to the file. Therefore& you want to check the write permissions on the file. To do this without leaving vi& you type:A. :!ls-I myfileB. :\ls-l myfileC. esc :Is -I myfileD. :?ls-l myfile

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

QUESTION NO: 13Which of these commands allows you to use shared libraries that are in /usr/local/lib? A. export LD_PRELOAD=/usr/local/libB. export LD_UBRARY_PATH=/usr/local/libC Idconfig/usr/local/libD.ldd/usr/local/lib

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

QUESTION NO: 14You are looking for an executable file foo. Select the command that would search for foo within directories set in the shell variable& PATH.A. locate B. which C. findD. queryE. whereis

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

QUESTION NO: 15What does the Filesystem Hierarchy Standard enable? (Select TWO answers) A. software to predict the location of installed files and directoriesB. software to predict the ownership and access rights to files and directoriesC. users to predict the location of installed files and directoriesD. users to predict how the filesystem should be formatted according to need

A

Answer: A&C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

QUESTION NO: 16 CORRECT TEXTWhich program finds only files that are in your Path?

A

Answer: /USR/BIN/WHICH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

QUESTION NO: 17To allow a regular user account to mount and unmount a filesystem (for instance& a cdrom or floppy)& which option need to be added to the corresponding line in /etc/fstab?A. nouidchkB. alluserC. userD. auto

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

QUESTION NO: 18Given the following output:prompt> myapp[1]+ Stopped myapp prompt>Which of the following commands will resume executing the stopped process while allowing the user to continue to type commands at the command prompt?A. bg myappB. continue myappC. exec myappD. fg myappE. myapp &

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

QUESTION NO: 19In xorg.conf& which section is concerned with fonts? A. the Fonts sectionB. the Files sectionC. the xfsCodes section D. the Graphics section E. the modeline section

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

QUESTION NO: 20What command will print a list of usernames (first column) and their corresponding user id (uid& third column) from /etc/passwd?A. cut -d: -f 1&3 /etc/passwdB. chop -c 1&3 /etc/passwdC. tac 1-3/etc/passwdD. fmt -u /etc/passwd

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

QUESTION NO: 21You have run out of disk space on a partition. Which of the following would be an easy way to move data to a new partition without reconfiguring the path to the data in existing applications?A. Run ext2fs ACL.B. Use a hard link.C. Use a symbolic link.D. Use the loopback device.E. Create a block device offset.

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

QUESTION NO: 22You ran out of space and added a eighth disk to your SCSI-1 system. When you try to start& the system no longer boots. What is most likely the cause of this problem?A. SCSI-1 supports only 8 devices including the adaptor. B. SCSI-1 supports only 6 disks per adaptor.C. There is a SCSI-ID conflict that causes that problem. D. You forgot to set the SCSI-ID #8 for the new disk.

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

QUESTION NO: 23Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?A. chmod 557 /bin/fooB. chmod o+rwx.a+rx/bin/fooC. chown 557 /bin/fooD. chmod 755/bin/foo

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

QUESTION NO: 24You are running Linux 2.0.36 and you need to add a USB mouse to your system. Which of the following statements is true?A. You need to rebuild the kernel. B. You need to upgrade the kernelC. You need to load the USB modules for your existing modular kernel. D. USB support is not available in Linux.

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

QUESTION NO: 25Which system administration command you can use to update Id.so.cache after the installation of new shared libraries?A. IdconfigB. IddC. libpathD. newlibs

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

QUESTION NO: 26What is the output when the following shell script executes?cat

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

QUESTION NO: 27Which Debian package system command will list all partially installed packages and suggest how to get them correctly installed?A. dpkg-G B. apt-get-u C. dpkg-Dh D. dpkg-lE. apt-get-y

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

QUESTION NO: 28What information is displayed by the command cat/proc/dma? A. whether DMA is enabledB. which DMA channels are in useC. which DMA mode is in useD. general information about DMA on the machine

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

QUESTION NO: 29 CORRECT TEXTUSB fax/modems that conform to this subclass of the Communication Device Class (CDC) vendor neutral standard are Linux compatible (answer is a 3 letter acronym).

A

Answer: ACM(ABSTRACTCONTROLMODEL)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

QUESTION NO: 30Many people like the vi text editor but the default bash command line editor recognizes emacs keystrokes. What command entered into a bash initialization file will have bash recognize vi keystrokes after login?A. history-pviB. allas emacs=vi C. HISTCMD=viD. set -oviE. unset emacs

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

QUESTION NO: 31In bash& inserting 1>&2 after a command redirectsA. standard error to standard input. B. standard input to standard error. C. standard output to standard error. D. standard error to standard output.E. standard output to standard input.

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

QUESTION NO: 32A. card bus speed (e.g.66Mhz). B. card IRQ settings.C. card vendor identification.D. Card AGP rate (e.g.66Mhz). E. card Ethernet MAC address.

A

Answer: E

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

QUESTION NO: 33Which shell built-in command can be used to create a shortcut or pseudonym for a longer command? Assume a modern bournE.like shell& such as bash.A. shortcutB. InC. sudo D. link E. alias

A

Answer: E

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

QUESTION NO: 34 CORRECT TEXTWhat command is used to display a file in octal format?

A

Answer: /USR/BIN/HEXDUMP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

QUESTION NO: 35Which of the following commands will find the string foo in the file filel M& regardless of foo being in upper or lower case letters?A. catfilel.txt| grep-ifooB. cat file 1.txt > grep-n fooC. grep-i foo | file 1 .txtD. grep-nfilel.txt

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

QUESTION NO: 36You have just set up the X Display Manager as your default display manager. What file should you edit to change the default background for it?A. /etcyX11&drrVXsetupB. /etc/X11/prefdmC. /etc/X11/XF86ConfigD. /etc/X11/xdm.conf

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

QUESTION NO: 37You need to install a fax server. Which type of fax/modem should you install to ensure Linux compatibility?A. External Serial Fax/modemB. External USB Fax/modemC. Internal ISA Fax/modemD. Internal PCI Fax/modem

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

QUESTION NO: 38After a minor security incident you are instructed by your lead sys-admin to verify the RPMs installed on a running system. Which command will create a complete report that you can analyze for changes that may be security-related?A. rpm -Va > reportB. rpm-Qavy > reportC. rpm -Vqt -nomd5 > reportD. rpm-checkfiles > reportE. rpm -VA.nofiles > report

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

QUESTION NO: 39The command used to determine a file’s type isA. type B. find C. file D. Is

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

QUESTION NO: 40Select the line that best represents what permissions the /etc/passwd file should have. A. -rw——- 1 root root 531 Jun 5 22:45/etc/passwdB. -rw-r?r- 1 root root 531 Jun 5 22:45/etc/passwdC. -rw-r-r- 1 1 1 531 Jun 5 22:45/etc/passwdD. all answers listed are not correctE. all answers listed are correct

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

QUESTION NO: 41What command should be invoked to give the user sally read and write& but not execute& access to the file strategy.txt using Extended ACL entries?A. setfacl -setperm sally:rw strategy.txt B. setfacl -m user::sally+rw strategy.txt C. setfacl-m user: sally; rwstrategy.txtD. setfacl -setperm user:sally+rw strategy.txt

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

QUESTION NO: 42Which command will print out the attributes of the file foobar? A. Is-attrfoobarB. Isattr foobarC. printattr foobarD. fileattr foobar

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

QUESTION NO: 43You are preparing a new set of shared libraries in /usr/local/applib and you have written and compiled some code that uses these libraries. You have already performed an Idconfig& however the system still cannot find the shared libraries. What is most likely the cause of this? A. You used the wrong compil|er.B. You did not update your PATH variable.C. You compiled the code with wrong library.D. You forgot to put the library path in ld.so.conf.

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
Q

QUESTION NO: 44You are having problems with a particular font and you want to see if its directory is included inXF86Config. Which section contains this information?A. Paths B. Fonts C. FilesD. Graphics

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
45
Q

QUESTION NO: 45Which command will list all the files installed from the RPM package file named& vorbis-tools-1.1.i386.rpm?A. rpm-qfvorbis-tools-1.1 .i386.rpm B. rpm -F vorbis-tools-1.1 .i386.rpm C. rpm -pf vorbis-tools-1.1 .i386.rpm D. rpm -ql vorbis-tools-1.1.1386.rpm E. rpm-qlp vorbis-tools-1.1.1386.rpm

A

Answer: E

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
46
Q

QUESTION NO: 46Your department decided to change the Gnome Display Manager’s greeting. What configuration file should you edit? A. /etc/gnome/greetingB. /opt/gnome/share/greetingC. /etc/X11/gmd.confD. /etc/X11/gdm/lnit/Default

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
47
Q

QUESTION NO: 47What key combination is used to forcibly halt the X server in the event of the graphical session becoming unusable (eg.& desktop manager or fullscreen application hanging)?A. press CTRL+ALT+DELB. press CTRL+ALT+BACK_SPACE C. press CTRL+ALT+DEL twiceD. press CTRL+ALT+F1 then run

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
48
Q

QUESTION NO: 48The system bell sound is annoying you. Which of the following can you use to change this and other userX preferences?A. xset B. xconf C. xbell D. xmag E. xpref

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
49
Q

QUESTION NO: 49 CORRECT TEXTWhich environment variable you have to set up to use shared libraries that are not in the standard search path?

A

Answer: LD LIBRARY PATH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
50
Q

QUESTION NO: 50 CORRECT TEXT To prevent users from being able to fill up the / partition& the directory should be ona separate partition if possible because it is world writeable.

A

Answer: /var

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
51
Q

QUESTION NO: 51Which of the following commands will print the inode usage on each mounted filesystem? A. du-iB. df-iC. Isfs-iD. printfs-i

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
52
Q

QUESTION NO: 52In GRUB’S configuration file you find the line root (hd1&4) What is corresponding device name on a Linux system?A. /dev/hda4B. /dev/hda5C. /dev/hdb4D. /dev/hdb5

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
53
Q

QUESTION NO: 53 While using the vi editor& you wish to move ahead one page. You should press the control keyand:A. A B. D C. F D. U

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
54
Q

QUESTION NO: 54You have created a really long letter and after you are done you notice that you used the name ‘Bob’ many times but you forgot to capitalize it in many instances. Which command would replace ‘bob’ with ‘Bob’ in all instances and generate a new letter for printing?A. sed ‘/bob/Bob’ letter >newletter B. sed s/bob/Bob/letter newletterD. sed ‘s/bob/Bob/g’ letter > newletterE. sed ‘s/bob. Bob/’ letter > newletter

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
55
Q

QUESTION NO: 55How can you turn off the group quota in /pub?A. quotaoff/pubB. quotaoff-gv/pubC. quotadown /pubD. rm/pub/quota.group

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
56
Q

QUESTION NO: 56When you start XWindows& which series of programs and/or scripts would most closely describe the start-up process?A. xdm -> xinit -> xinitrC.> XclientsB. kdE.> xinitrC.> xinit -> XclientsC. startx -> xinitrC.> Xclients -> kde D. startx -> xinit -> xinitrC.> XclientsE. startx -> xinit -> Xclients -> xinitrc

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
57
Q

QUESTION NO: 57Which of the following lines from /etc/X11/XF86Config indicates what fonts can be found on a font server?A. FontPath= serverB. Fonts ‘unix/: 7100’C. FontPath&lunix/:7100’ D. Fonts= serverE. Fontserver = ‘servername’

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
58
Q

QUESTION NO: 58What RPM command would show you detailed information for a package called openssh-3.6.i386.rpm?A. rpm-showinformation openssh-3.6.i386.rpmB. rpm-showdetails-package openssh-3.6.i386.rpm C. rpm-query-info-package openssh-3.6.i386.rpm D. rpm-verify openssh-3.6.i386.rpm

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
59
Q

QUESTION NO: 59Which command will create an ext3 filesystem on /dev/hda2? A. /sbin/mke2fs -d /dev/hda2B. /sbin/mke2fs -j /dev/hda2C. /sbin/mke2fs -m 3 /dev/hda2D. /sbin/mke2fs -c ext3 /dev/hda2

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
60
Q

QUESTION NO: 60You want the default permissions for your files to bE.rw-r-. How must you set umask? A. 037B. 640C. 038 D. 027

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
61
Q

QUESTION NO: 61Which command will print line numbers before each line in a file? A. InB. nlC. cat-nD. numline

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
62
Q

QUESTION NO: 62Which RPM command will output the name of the package which installed the file /etc/exports?A. rpm -F /etc/exportsB. rpm -qf /etc/exports C. rpm -Kl /etc/exports D. rpm -qp /etc/exportsE. rpm -qi /etc/exports

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
63
Q

QUESTION NO: 63How do you get a list of files that have been installed from a dpkg package?A. dpkg-I pkgnameB. dpkg-C pkgnameC. dpkg-s pkgname D. dpkg-S pkgname E. dpkg-L pkgname

A

Answer: E

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
64
Q

QUESTION NO: 64You logged in as user tuxl& but now you want to switch users to tux2 with tux2’s environment. How would you do this?A. su tux2B. su-etux2C. su - tux2D. su -m tux2E. su-ftux2

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
65
Q

QUESTION NO: 65 CORRECT TEXTThe — partition is used for virtual memory.

A

Answer: SWAP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
66
Q

QUESTION NO: 66Which command will print to standard out only the lines that do not begin with # (pound symbol) in the file foobar?A. /bin/grep ^#foobarB. /bin/grep-v ^# foobarC. /bin/grep #$ foobarD. /bin/grep -v #$ foobar

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
67
Q

QUESTION NO: 67What does the following command do? cat ‘$TEST’ A. Displays a bash syntax error message.B. Displays the contents of the file named $TEST if it exists.C. Waits for the user to enter text and then echos the text back.D. Displays the contents of the file named inside the back quotes.E. Displays the contents of the file named by the environment variable TEST.

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
68
Q

QUESTION NO: 68You are the system administrator for a consulting firm where several people use Linux as their desktop operating system. One of your users has installed a commercial publishing program that works under X on a variety of UNIX and Linux platforms. The user made a series of configuration changes regarding the initial window size& location and color. Now& he is having difficulty undoing these changes and is asking for your help. In which file would you think you would most likely find the configuration settings you are seeking to change?A. ~/.xinitrcB. ~/.xconfigC. ~/.XdefaultsD. ~/.XF86ConfigE. /etc/X11/XF86Config

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
69
Q

QUESTION NO: 69What tool can you use to print shared library dependencies? A. IdconfigB. IddC. libdep D. libpath E. Idev

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
70
Q

QUESTION NO: 70All items are required to enable USB support on a Linux system EXCEPT: A. A kernel that has USB driver support.B. A USB 2.0 compatible device.C. A supported controller chip such as OHCI& UHCI& or EHCI. D. A kernel that supports hot-pluggable devices.

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
71
Q

QUESTION NO: 71You enter the command date +%M. What does the output show you? A. the current yearB. the current monthC. the current hourD. the current minuteE. the current second

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
72
Q

QUESTION NO: 72Keyboards and mice are members of which class of USB devices? A. Communication Device ClassB. Human Interface Device ClassC. Mass Storage Device ClassD. Data Interface Device Class

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
73
Q

QUESTION NO: 73What would the following line accomplish if run as root?chown-R bert /home/bert/*A. Nothing& this command is invalid.B. It would revoke belt’s ownership from his home directory to root.C. It would change user ownership of all files in /home/bert to bert.D. It would set the group ownership of the directory/home/bert tobert.E. It would set ownership of all files and subdirectories in /home/bert to bert.

A

Answer: E

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
74
Q

QUESTION NO: 74You just started X for the first time and noticed that the display does not use the entire screen. What program can you use to fix this?A. xvidtuneB. xf86config C. XF86Setup D. tweakscreen

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
75
Q

QUESTION NO: 75Users may create and edit a configuration file in their home directory that can tell the X window system what window manager they wish it to start when they log in. What file is that?A. $HOME/.wmrcB. $HOME/.startxC. $HOME/.Xdefaults D. $HOME/.xserverrc E. $HOME/.xinitrc

A

Answer: E

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
76
Q

QUESTION NO: 76You have a USB storage device that you cannot get working. You have enabled all appropriate USB options in the latest 2.2 kernel but still cannot get your device working. What is most likely the source of the problem?A. You have not configured your usb.usermap properly. B. You are using the wrong kernel for this type of device. C. The USB device is not USB 2.0 compliant.D. There is a USB resource conflict.

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
77
Q

QUESTION NO: 77Which of the following sed commands will replace all instances of the string foo with the string foobar changing the file file1.txt in place?A. sed ‘s/foo/foobar/g’ filel MB. sed ‘s/foo/foobar/g’ filel M > filel M C. sed ‘s/foo/foobar/g’ filel M | filel M D. seD -i’s/foo/foobar/g’file1.txtE. seD-i ‘s/foo/foobar/g’ filel M > filel M

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
78
Q

QUESTION NO: 78Which file should be edited to select the network locations from which Debian installation package files are loaded?A. /etc/dp kg/dp kg. cfgB. /etc/apt/apt.confC. /etc/apt/apt.conf.dD. /etc/apt/sources.IIstE. /etc/d p kg/d s e I e ct. cfg

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
79
Q

QUESTION NO: 79Which command line option would you use to restrict the GNU find command to searching a particular number of subdirectories?A. -max-dirsB. -dirmaxC. -maxdepthD. -S E. -n

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
80
Q

QUESTION NO: 80You have not run apt-get on a system for some time& but it has been run on the system before. What apt-get command would you run to download the latest list of packages& but not the packages themselves?A. apt-getbuilD.depB. apt-get mirror-selectC. apt-get updateD. apt-get upgradeE. apt-get dist-upgrade

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
81
Q

QUESTION NO: 81Which of the following programs is typically used to query installed debian packages? (Please select TWO that apply).A. dpkgB. apt-cache C. apt-conf D. dselect

A

Answer: A&D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
82
Q

QUESTION NO: 82 CORRECT TEXTYou suspect that a new ethernet card might be conflicting with another device. Which file should you check within the /proc tree to learn which IRQs are being used by which kernel drivers?

A

Answer: INTERRUPTS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
83
Q

QUESTION NO: 83 CORRECT TEXTYou have written a custom tool on your local system. Following the File Hierarchy Standard (FHS)& where should you install the binaries to be available to all users on your system?

A

Answer: /USR/LOCAL/BIN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
84
Q

QUESTION NO: 84You are experimenting with a binary in /tmp/foo.d that expects its configuration file at/etc/foo.conf. You don’t want to save it there& but use a symbolic link to /tmp/foo.d/foo.conf instead. Which command would accomplish that?A In -s /tmp/foo.d/foo.conf/ etc/foo.confA. In /tmp/foo.d/foo.conf/ etc/foo.confB. In-s/etc/foo.conf /tmp/foo.d/foo.confC. In /etc/foo.conf /tmp/foo.d/foo.conf

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
85
Q

QUESTION NO: 85 CORRECT TEXTYou are building a server that will be the file server for all users on your 100 user network. The server may have many hardware and operating system upgrades. Which directory should have its own mount point and/or hard drive?

A

Answer: /HOME

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
86
Q

QUESTION NO: 86 CORRECT TEXTYou are formatting a single hard disk for a Linux install. What is the maximum number of primary partitions you can create?

A

Answer: FOUR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
87
Q

QUESTION NO: 87Pressing the Ctrl-C combination on the keyboard while a command is executing in the foreground sends which of following signal codes?A. 1 (SIG HUP) B. 2(SIGINT)C. 3(SIGQUIT) D. 9(SIGKILL)E. 15(SIGTERM)

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
88
Q

QUESTION NO: 88 CORRECT TEXTThe — command displays ISA plug-anD.play devices resource information.

A

Answer: PNPDUMP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
89
Q

QUESTION NO: 89You have finished updating and resolving dependencies for some source code. What command should you run before recompiling the code into binary form?A. make cleanB. make allC. make depD. make install

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
90
Q

QUESTION NO: 90You want to install a new software package& but it is only available in RPM format and you are running Debian Linux. Which of the following would help you to install it on your system?A. alienB. apt-conf C. dselect D. cpio

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
91
Q

QUESTION NO: 91You are using an application that you want to appear on the screen of another machine. What environment variable would you have to set or edit to achieve this?A. DISPLAY B. REMOTEC. REMOTE_XWINDOW D. SCREEN

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
92
Q

QUESTION NO: 92The command mkfs -t ext3 -T largefile /dev/hdb1 creates what size of inode? A. 4 kilobyteB. 1 megabyte C. 2 megabyte D. 4 megabyte

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
93
Q

QUESTION NO: 93The user john is no longer working for a company. To disable his account but not delete his information& what needs to be done?A. userdeljohnB. userdisablejohnC. Remove user john from /etc/shadow.D. Replace his password with * in passwdE. Replace his password with a space in passwd.

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
94
Q

QUESTION NO: 94What does the command mount -a do? A. It mounts the floppy disk for all users.B. It shows all mounted file systems. C. It opens /etc/fstab to edit.D. It mounts all file systems listed in /etc/fstab.

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
95
Q

QUESTION NO: 95 CORRECT TEXTWhat command can put suspended jobs into the background?

A

Answer: BG

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
96
Q

QUESTION NO: 96Which of the following commands is run last during boot on a system with quotas enabled? A. fsckB. mountC. quotacheckD. quotaon

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
97
Q

QUESTION NO: 97After installing and configuring XFree86& you notice that when you start X& the display is not centered. What program can you run to find a better modeline setting?A. XF86Setup B. xf86config C. xvidtuneD. xvideoagent

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
98
Q

QUESTION NO: 98According to the File System Hierarchy Standard& the lost+found directory is used for: A. files with unknown owners.B. missing device files found by/proc. C. unknown binary files found by find. D. unlinked files found by fsck.

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
99
Q

QUESTION NO: 99 CORRECT TEXTYou are compiling some software from source. After running ./configure with the appropriate arguments and no errors& what is the next command to run?

A

Answer: MAKE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
100
Q

QUESTION NO: 100Which command is used to dump files in octal format? A. odB. octdump C. dumpoct D. cat-o

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
101
Q

QUESTION NO: 101 CORRECT TEXTThe command allows you to view or change serial port configuration.

A

Answer: SETSERIAL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
102
Q

QUESTION NO: 102Which of the following commands will display the last 30 lines of /var/log/bigd.log as well as new content as it is appended to the file by another process?A. cut-30-v/var/log/bigd.logB. heaD.30-e/var/log/bigd.log C. tail-f-n 30/Var/log/bigd.log D. taC.30/var/log/bigd.logE. cat-r-n 30/var/log/bigd.log

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
103
Q

QUESTION NO: 103The sticky bit is usually set onA. /var/logB. /tmpC. /homeD. log files

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
104
Q

QUESTION NO: 104What command line redirection characters instruct the shell to read from the current input source until a specific word& on a separate line and without and trailing spaces& is reached?A. « B.

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
105
Q

QUESTION NO: 105In order to append the output of Is to a file called bazz& which of the following command lines would you use?A. Is > bazz B. Is >&bazz C. Is &> bazz D. Is » bazz

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
106
Q

QUESTION NO: 106Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file 1 log?A. cat filel .log B. myapp 0>S1 | cat>filel.log C. myapp | cat > filel .logD. myapp | tee filel JogE. tee myappfile1.log

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
107
Q

QUESTION NO: 107To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program’s shared libraries?A. LD_LOAD_PATHB. LD_UB_PATHC. LD_UBRARY_PATHD. LD_SHARE_PATH E. LD RUN PATH

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
108
Q

QUESTION NO: 108Which of the following commands will print the current video settings to stdout in XF86Config’Modeline’ format?A. xinfo-modeB. xset-infoC. xf86config -listD. xvidtune -show

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
109
Q

QUESTION NO: 109You want to preview where the package file& apachE.xml.i386.rpm& will install its files before installing it. What command do you issue?A. rpm-qp apachE.xml.i386.rpm B. rpm-qv apachE.xml.i386.rpm C. rpm-ql apachE.xml.i386.rpm D. rpm-qpl apachE.xml.I386.rpm

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
110
Q

QUESTION NO: 110What single command (no options or arguments) can be used to fully extract a file called abc.tar.bz2? )A. gzipB. gunzipC. tarD. bz2unzip

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
111
Q

QUESTION NO: 111Which of the following is the default Xorg configuration file? A. /usr/X11 R6/etcAtorg.confB. /var/X11Atorg.confC. /etc/X11/Xorg.confD. /usr/etcyxi1Atorg.conf

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
112
Q

QUESTION NO: 112 CORRECT TEXTYou want to display all currently mounted file systems. Which command would you see? (Please enter only the command without arguments or options)

A

Answer: MOUNT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
113
Q

QUESTION NO: 113Which chown command will change the ownership to foo and the group to bar on a file named biglist?A. chown foo/bar biglistB. chown-u foo-g bar biglistC. chown foo:bar biglistD. chown-user foo-group bar biglist

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
114
Q

QUESTION NO: 114A Makefile typically contains which targets? A. CFLAGS& CPPFLAGS& LIBS& LDFLAGSB. clean& install& uninstallC. PATHS& DESTDIR& LIBS& LDFLAGS D. prefix& exec_prefix& bindir& mandir

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
115
Q

QUESTION NO: 115How many SCSI ids for peripherals can SCSI-1 support? A. 5B. 6C. 7D. 8

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
116
Q

QUESTION NO: 116You installed a beta rpm package& but are experiencing some problems with it. How can you remove this package?A. rpm-qe rpmnameB. rpm-v-remove rpmnameC. rpm-r rpmname D. rpm-d rpmname E. rpm-ev rpmname

A

Answer: D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
117
Q

QUESTION NO: 117Which file is used by Id.so to find libraries quickly without actually having to search the directories in its library path?A. /etc/Id.so.cache B. /etc/Id.so.conf C. /etc/Id.soD. /var/ld/cacheE. /var/.cache

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
118
Q

QUESTION NO: 118When installing XWindows the monitor wasn’t recognised but now a data sheet with its specification is available. Which xorg.conf section must be edited to specify the correct values for several variables? A. ScreenB. MonitorC. BorderD. ModelineE. Device

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
119
Q

QUESTION NO: 119How can you update a package only if an earlier version is currently installed on the system? A. rpm-update rpmnameB. rpm-U rpmnameC. rpm -F rpmnameD. rpm-force rpmnameE. rpm-u rpmname

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
120
Q

QUESTION NO: 120User Joseph has successfully extracted and compiled a program from source code. Installing the binaries produces errors. What is the most likely reason?A. The source code was compiled for a different CPU.B. The permissions set in the /usr/bin directory are wrong.C. The binaries require root privileges to be installedD. The wrong prefix was used during configuration of the source code.

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
121
Q

QUESTION NO: 121Which utility would you use to change how often a filesystem check was performed over an EXT2 filesystem (without losing any data stored on that filesystem)?A. mod2fsB. fsckC. tune2fsD. mke2fs 3E. fixe2fs

A

Answer: B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
122
Q

QUESTION NO: 122An installed package is broken. In order to go back to previous version of the same package whichRPM option should be used?A. -replacefiles B. -replacepkgs C. -oldpackage D. -nodeps

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
123
Q

QUESTION NO: 123What command will uninstall a package but leave its configuration files in case a package is rE.installed?A. none& no command will do thisB. dpkg-s pkgname C. dpkg-L pkgname D. dpkg-P pkgname E. dpkg-r pkgname

A

Answer: E

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
124
Q

QUESTION NO: 124 CORRECT TEXTWhich file the /proc filesystem lists parameters passed from the bootloaderto the kernel?

A

Answer: CMDLINE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
125
Q

QUESTION NO: 125The X program is often used to make minor keyboard adjustments& like properBackspace/Delete mapping.A. xkbdmapB. kbdmapC. xmodmapD. modmap

A

Answer: C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
126
Q

QUESTION NO: 126When reading man pages& a lot of extra characters are shown on screen. Which of the following commands can help to deal with this problem?A. col B. grep C. more D. pgE. row

A

Answer: A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
127
Q

QUESTION NO: 127Identify the proper device for the third partition& on the second hard disk& on the first IDE controller on a PC system.A. /dev/hdb3B. /dev/hdlb3C. /dev/hddb3D. Zdev/hdcld2p3

A

Answer: A

128
Q

QUESTION NO: 128In order to save and restore your sound card’s configuration between sessions& the ALSA sound system uses what program?A. setalsaB. setsound C. soundctl D. alsactlE. alsaset

A

Answer: D

129
Q

QUESTION NO: 129Where can lilo place boot information? A. The boot ROMB. The boot RAM C. The /boot partitionD. The MBR on a hard drive

A

Answer: D

130
Q

QUESTION NO: 130 CORRECT TEXTConsider the following output:prompt> myapp[1]+ Stopped myappThis output was the result of the user pressing the keyboard combination of the Ctrl key and what letter key? Enter only the single (1) letter as your answer.

A

Answer: Z

131
Q

QUESTION NO: 131George is planning a partition scheme for a new Linux installation. Which THREE directories should he consider for separate partitions? (Select three)A. /etcB. /homeC. /var D. /lib E. /tmp

A

Answer: B&C&E

132
Q

QUESTION NO: 132Which of the following commands will list the quota for a specific user& foobar? A. repquotafoobarB. quota foobarC. Isquota foobarD. printquota foobar

A

Answer: B

133
Q

QUESTION NO: 133 CORRECT TEXTYour ISP has given you an IP block for your use. The block is 192.168.112.64/26. If your network administrator uses the first usable IP for the router he’s installed on your network& how many usable IPs do you have left? (Please enter the number and not a word)

A

Answer: 61

134
Q

QUESTION NO: 134The files in the /etc/skel directory are used by theA. pwconv command.B. pwunconv command. C. useradd command.D. passwd command.

A

Answer: C

135
Q

QUESTION NO: 135Which of the following words is used to restrict the records that are returned from a SELECT query based on a supplied criteria for the values in the records?A. LIMIT B. FROMC. WHERE D. IF

A

Answer: C

136
Q

QUESTION NO: 136What is pool.ntp.org?A. A deprecated feature for maintaining system time in the Linux kernelB. A website which provides binary and source packages for the OpenNTPD projectC. A virtual cluster of various timeserversD. A community website used to discuss the localization of Linux

A

Answer: C

137
Q

QUESTION NO: 137You are using an application that you want to appear on the screen of another machine. What environment variable would you have to set or edit to achieve this?A. DISPLAY B. REMOTEC. REMOTE_XWINDOW D. SCREEN

A

Answer: A

138
Q

QUESTION NO: 138 CORRECT TEXTThe — command is used to print out the current date and time on the system.

A

Answer: date /bin/date

139
Q

QUESTION NO: 139Which bash option will prevent you from overwriting a file with a ‘>’? A. set o safeB. set o noglobC. set o noclobberD. set o appendE. set o nooverwrite

A

Answer: C

140
Q

QUESTION NO: 140The system utility that automatically creates new log files and moves old ones is called what? A. newlogB. mvlogC. rotatelogD. logrotate

A

Answer: D

141
Q

QUESTION NO: 141Which ONE of the following lines from /etc/X11/xorg.conf indicates that fonts can be found on a font server?A. FontPath= serverB. Fonts ‘unix/:7100’C. FontPath&lunix/:7100’ D. Fonts= serverE. Fontserver = ‘servername’

A

Answer: C

142
Q

QUESTION NO: 142You have just set up the X Display Manager as your default display manager. What file should you edit to change the default background for it?A. /etc/X11/xdm/XsetupB. /etc/X11/prefdmC. /etc/X11/xorg.confD. /etc/X11/xdm.conf

A

Answer: A

143
Q

QUESTION NO: 143 CORRECT TEXTTo exclude all log messages of a given logging facility& you should use a logging priority of ————–

A

Answer: none

144
Q

QUESTION NO: 144Which TWO statements about crontab are true? A. Every user may havetheir own crontab.B. Changing a crontab requires a reload/restart of the cron daemon.C. The cron daemon reloads crontab files automatically when necessary. D. hourly is the same as ‘0 * * * *‘.E. A cron daemon must run for each existing crontab.

A

Answer: A&C

145
Q

QUESTION NO: 145Which of the following find commands will print out a list of suid root files in /usr? A. find /usr uid 0 perm +4000B. find user root +mode +s /usrC. find type suid username root d /usrD. find /usr ls *s* u rootE. find /usr suid perm +4000

A

Answer: A

146
Q

QUESTION NO: 146 CORRECT TEXTWhat argument to the name flag of find will match files or directories beginning with a ‘.’ (period)?

A

Answer: .*

147
Q

QUESTION NO: 147 CORRECT TEXTWhat command is used to view pending jobs for the at command? (Do NOT specify path).

A

Answer: atq at -l

148
Q

QUESTION NO: 148 CORRECT TEXTIn an xinetd config file& which attribute specifies the network address that will be used to offer the service?

A

Answer: bind interface

149
Q

QUESTION NO: 149 CORRECT TEXTWhich IP protocol is connectionless and unreliable?

A

Answer: UDP udp UDP/IP udp/ip

150
Q

QUESTION NO: 150 CORRECT TEXTWhich protocol uses two (2) TCP/IP ports one of them being port 20 for data transfer?

A

Answer: FTP ftp

151
Q

QUESTION NO: 151To test a shell script called myscript& the environment variable FOOBAR must be removed temporarily. How can this be done?A. unset v FOOBAR B. set a FOOBAR=’‘C. env u FOOBAR myscriptD. env i FOOBAR myscript

A

Answer: C

152
Q

QUESTION NO: 152In the following command and its output& echo$$12942whatis 12942?A. the process ID of the echo commandB. the process ID of the current shellC. the process ID of the last command executedD. the process ID of the last backgrounded command

A

Answer: B

153
Q

QUESTION NO: 153 CORRECT TEXTYou need to sync your hardware clock& which is on GMT& with your system clock& which you just updated with NTP.TO do this& complete the following command: u systohc

A

Answer: hwclock

154
Q

QUESTION NO: 154 CORRECT TEXTTo slave your NTP daemon to an external source& you need to modify the ——– variable in your/etc/ntp.conf file.

A

Answer: server

155
Q

QUESTION NO: 155 CORRECT TEXTYou can run the ———- command to see active network and UNIX domain socket connections. (Please specify the command with no options or parameters)

A

Answer: netstat

156
Q

QUESTION NO: 156 CORRECT TEXTWhat command can be used to generate log entries of any facility and priority? (supply just the command name without a path)

A

Answer: logger

157
Q

QUESTION NO: 157 CORRECT TEXTYou decide to use xinetd instead of inetd. Now& you need to transfer information from/etc/inetd.conf to another file. Which file must be created or edited? (Please specify the full path)

A

Answer: /etc/xinetd.conf

158
Q

QUESTION NO: 158Which command will set the local machine’s timezone to UTC?A. cat UTC > /etc/timezoneB. ln s /usr/share/zoneinfo/UTC /etc/localtimeC. date timezone=UTCD. mv /usr/timezone/UTC /etc

A

Answer: B

159
Q

QUESTION NO: 159Which file& when using Sendmail or a similar MTA system& will allow a user to redirect all their mail to another address and is configurable by the user themselves?A. /etc/aliasB. /etc/mail/forwardersC. ~/.aliasD. ~/.forward

A

Answer: D

160
Q

QUESTION NO: 160On a dual boot system& every time the system is booted back into Linux the time has been set backward by two hours. Which of the following commands will correct the problem so it will not occur again?A. ntpdate pool.ntp.orgB. date d ‘two hours’C. hwclock hctosys localtimeD. time hwclock

A

Answer: C

161
Q

QUESTION NO: 161Each entry in a crontab must end with what character?A. tabB. spaceC. backslashD. newline

A

Answer: D

162
Q

QUESTION NO: 162Which command should be added to /etc/bash_profile to change the language of messages from an internationalised program to Portuguese (pt)? (Select TWO correct answers)A. export LANGUAGEs&lpt’ B. export MESSAGE=’pt’ C. export LANG=’pt’D. export LC_MESSAGES=’pt’ E. export ALL_MESSAGES=upt’

A

Answer: C&D

163
Q

QUESTION NO: 163What command should be used to print a listing of email in the system’s mail queue? A. sendmail lB. lpqC. mailqD. mlq

A

Answer: C

164
Q

QUESTION NO: 164 CORRECT TEXTA user was not given permission to use the CRON scheduling system. What file needs to be modified to provide that access? (Please specific the full path to file)

A

Answer: /etc/cron.allow

165
Q

QUESTION NO: 165What command do you use to create an OpenSSH authentication key? A. sshdB. sshagent C. sshkeygen D. sshadd

A

Answer: C

166
Q

QUESTION NO: 166You need to push the CUPS printer HPLaserjet4& and you want to cancel all print jobs with a message& ‘hello’. Which command will do this?A. cupsrejectc r hello HPLaserjet4B. cupsreject p m hello HPLaserjet4C. cupsdisable c r hello HPLaserjet4D. cupsdisable p m hello HPLaserjet4

A

Answer: C

167
Q

QUESTION NO: 167A French user has installed the French language pack& but currencies are still being displayed with a leading ‘$’ sign in his spreadsheets. What must be done to fix this?A. Alter the locale.B. Set the timezone correctly. C. Edit /etc/currency.D. Reinstall the French language pack.

A

Answer: A

168
Q

QUESTION NO: 168What is NOT contained in the locale setting of the operating system? A. currency symbolB. languageC. timezoneD. thousands separator

A

Answer: C

169
Q

QUESTION NO: 169To prevent a specific user from scheduling tasks with at& what should the administrator do? A. Add the specific user to /etc/at.allow file.B. Add the specific user to [deny] section in the /etc/atd.conf file. C. Add the specific user to /etc/at.deny file.D. Add the specific user to nojobs group. E. Run the following: atd deny [user].

A

Answer: C

170
Q

QUESTION NO: 170Which command is used to display user resource limits? A. unameB. limit a C. usrlmt D. ulimit

A

Answer: D

171
Q

QUESTION NO: 171Which commands can you use to change a user’s password expiry information? (Choose THREEcorrect answers.)A. usermod B. passwd C. chattrD. chageE. chsh

A

Answer: A&B&D

172
Q

QUESTION NO: 172Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services?A. tcpdB. inetdC. fingerd D. mountd E. xinetd

A

Answer: A

173
Q

QUESTION NO: 173In xorg.conf& which section is concerned with fonts? A. the Fonts sectionB. the Files sectionC. the xfsCodes section D. the Graphics section E. the modeline section

A

Answer: B

174
Q

QUESTION NO: 174Which of the following are commonly used Mail Tranfer Agent (MTA) applications? (Please selectTHREE correct answers)A. postfixB. procmail C. sendmail D. eximE. smtpd

A

Answer: A&C&D

175
Q

QUESTION NO: 175 CORRECT TEXTPlease specify the directory containing the configuration files for the CUPS printing system. (Provide the full path to the directory)

A

Answer: /etc/cups/etc/cups/

176
Q

QUESTION NO: 176The legacy program for sending files to the printer queues from the command line is:A. lpdB. lpr C. lpq D. lpp

A

Answer: B

177
Q

QUESTION NO: 177The legacy program for listing files in the printer queues from the command line is:A. lpdB. lprC. lpstatD. lpq

A

Answer: D

178
Q

QUESTION NO: 178Which configuration file does sudo read when determining if a user is permitted to run applications with root privileges?A. /etc/groups B. /etc/passwd C. /etc/sudoersD. /etc/sudo.conf

A

Answer: C

179
Q

QUESTION NO: 179Which directory in a user’s home contains configuration files and key rings for GPG?A. ~/gpg.d/B. ~/.gpg/C. ~/.gnupg/ D. ~/gnupg/ E. ~/.gpg.d/

A

Answer: C

180
Q

QUESTION NO: 180When attempting to send a file to another user security with GPG& which of the following actions must be done?A. Encrypt the file using your public key.B. Encrypt the file using their public key. C. Encrypt the file using your private key. D. Encrypt the file using their private key. E. Sign the file with your public key.

A

Answer: B

181
Q

QUESTION NO: 181Which command will print the exit value of the previous command to the screen in bash?A. echo $?B. echo $#C. echo $exitD. echo $statusE. echo $&

A

Answer: A

182
Q

QUESTION NO: 182 CORRECT TEXTWhat word will complete an if statement in bash such as the following:if[ x ‘$file’ ]; then echo$file(Please provide missing word only)

A

Answer: fi

183
Q

QUESTION NO: 183What output will the following command sequence produce?echo’1 2 3 4 5 6’ | while read a b c; do echoresult: $c $b $a;doneA. result: 3 4 5 6 2 1B. result: 1 2 3 4 5 6C. result: 6 5 4D. result: 6 5 4 3 2 1E. result: 3 2 1

A

Answer: A

184
Q

QUESTION NO: 184What output will the following command seq 10 produce?A. A continuous stream of numbers increasing in increments of 10 until stopped. B. The numbers 1 through 10 with one number per line.C. The numbers 0 though 9 with one number per line. D. The number 10 to standard output.

A

Answer: B

185
Q

QUESTION NO: 185 CORRECT TEXTWhat word is missing from the following SQL statement? Update tablename fieldname =’value’ where id =909;

A

Answer: set SET

186
Q

QUESTION NO: 186 CORRECT TEXTWhat word is missing from the following SQL statement?selectcount(*) tablename;

A

Answer: from FROM

187
Q

QUESTION NO: 187For accessibility assistance& which of the following programs is an onscreen keyboard? A. xkbB. atkb C. GOK D. xOSK

A

Answer: C

188
Q

QUESTION NO: 188Which of the following provides a nongraphical& text based interface for users who are visually impaired that can be used as a screen reader?A. easyspeech B. textconvert C. xscreenD. emacspeak

A

Answer: D

189
Q

QUESTION NO: 189Which of the following commands will provide localespecific information about your system and its environment?A. loconfig B. getlocale C. localeD. tzconfigE. tzselect

A

Answer: C

190
Q

QUESTION NO: 190Which of the following is the command used to deactivate a network interface?A. ifdown B. ipdown C. netD. netdown

A

Answer: A

191
Q

QUESTION NO: 191Which of the following commands can be used to activate a specific network interface? A. ipupB. netC. ifupD. netup

A

Answer: C

192
Q

QUESTION NO: 192 CORRECT TEXTWhat is the command to delete the default gateway from the system IP routing table? (Please specify the complete command with arguments)

A

Answer: route del default ip route del default route del 0.0.0.0 /sbin/route del default ip route del0.0.0.0 /sbin/route del 0.0.0.0 /sbin/ip route del default /sbin/ip route del 0.0.0.0

193
Q

QUESTION NO: 193Which of the following looks like a correct entry in the /etc/hosts file. A. localhost 127.0.0.1 localhost.localdomainB. localhost.localdomain localhost 127.0.0.1C. localhost localhost.localdomain 127.0.0.1D. 127.0.0.1 localhost.localdomain localhostE. localhost.localdomain 127.0.0.1 localhost

A

Answer: D

194
Q

QUESTION NO: 194 CORRECT TEXTBy default& which directories contents will be copied to a new user’s home directory when the account is created& passing the m option to the useradd command?

A

Answer: /etc/skel /etc/skel/

195
Q

QUESTION NO: 195What output will the following command produce?seq1 5 20A. 1 6 11 16B. 1 5 10 15C. 1 2 3 4D. 2 3 4 5E. 5 10 15 20

A

Answer: A

196
Q

QUESTION NO: 196Which of the following SQL statements will select the fields name and address from the contacts table?A. SELECT (name& address) FROM contacts;B. SELECT (name address) FROM contacts;C. SELECT name& address FROM contacts;D. SELECT name address FROM contacts;

A

Answer: C

197
Q

QUESTION NO: 197 CORRECT TEXTAn administrator wants to determine the geometry of a particular window in X& so she issues the metric command and then clicks on the window.

A

Answer: /usr/bin/xwininfoxwininfo

198
Q

QUESTION NO: 198On a system running the K Display Manager& when is the /etc/kde4/kdm/Xreset script automatically executed?A. When KDM startsB. When a user’s X session existsC. When KDM crashes D. When X is restarted E. When Xcrashes

A

Answer: B

199
Q

QUESTION NO: 199What is the purpose of the Sticky Keys feature in X?A. To assist users who have difficulty holding down multiple keys at once B. To prevent repeated input of a single character if the key is held down C. To ignore brief keystrokes according to a specified time limitD. To repeat the input of a single character

A

Answer: A

200
Q

QUESTION NO: 200Which of the following can the chage command NOT change?A. The number of days since January 1& 1970 on which the user? account will no longer be accessibleB. The number of days since January 1& 1970 when the password can changeC. The number of days since January 1st& 1970 when the password was last changedD. The maximum number of days during which a password is validE. The number of days of inactivity after a password has expired before the account is locked

A

Answer: B

201
Q

QUESTION NO: 201 CORRECT TEXTWhich file specifies the user accounts can NOT submit jobs via at or batch? (Provide the full path and filename)

A

Answer: /etc/at.deny

202
Q

QUESTION NO: 202 CORRECT TEXTThe system’s timezone may be set by linking /etc/localtime to an appropriate file in which directory?

A

Answer: /usr/share/zoneinfo/ /usr/share/zoneinfo

203
Q

QUESTION NO: 203Which statements are true regarding the following syslog.conf configuration directive?*.err;kern.notice;auth.notice /dev/console(Select THREE correct answers)A. Severity crit messages from all facilities will be directed to /dev/consoleB. Severity notice messages from the auth facility will be directed to /dev/console C. Severity notice messages from the kern facility will be directed to /dev/console D. Severity err messages from the mail facility will be directed /dev/consoleE. Severity notice messages from all facilities will be directed to /dev/console

A

Answer: B&C&D

204
Q

QUESTION NO: 204Which of the following is NOT a Mail Transport Agent? A. eximB. postfixC. sendmailD. qmailE. mail

A

Answer: E

205
Q

QUESTION NO: 205 CORRECT TEXTAfter configuring printing on a Linux server& the administrator sends a test file to one of the printers and it fails to print. What command can be used to print the status of the printer’s queue? (Provide only the command& without any options or parameters)

A

Answer: lpq

206
Q

QUESTION NO: 206 CORRECT TEXTAn administrator is configuring a secured webserver& however connecting to https://127.0.0.1 is not working. She runs netstat ntl& which returns the following output:tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTENWhat port should be listening before a successful connection is possible? (Provide only the numerical valui of the port)

A

Answer: 443

207
Q

QUESTION NO: 207Which statement is true regarding the following /etc/resolv.conf file?searchexample.com127.0.0.1208.77.188.166A. There is a syntax error.B. If DNS queries to the localhost fail& the server 208.77.188.166 will be queried. C. example.com will be appended to all host lookups.D. The DNS servers at 127.0.0.1 and 208.77.188.166 will be queried in a round robin fashion.E. The DNS server with the shortest ping time will be queried first. If the lookup fails& the second server will be queried.

A

Answer: A

208
Q

QUESTION NO: 208What is the purpose of the dig command?A. To adjust a directory’s hidden permissionsB. To search for files on the filesystem C. To adjust a file’s hidden permissions D. To perform hostname lookupsE. To ping all known hosts on the current subnet

A

Answer: D

209
Q

QUESTION NO: 209 CORRECT TEXTGiven the following line from /etc/nsswitch.conf:hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4By default& which file will be queried first for hostname lookups? (Provide the full path and filename)

A

Answer: /etc/hosts

210
Q

QUESTION NO: 210 CORRECT TEXTWhich file lists which users can execute commands using sudo? (Provide the full path and filename)

A

Answer: /etc/sudoers

211
Q

QUESTION NO: 211 CORRECT TEXTAn administrator has added the following line to /etc/inittab in order to disable the ability to reboot a Debian system by pressing the Control + Alt + Delete keys simultaneously:ca:12345: :/bin/echo ‘Rebooting disabled’

A

Answer: ctrlaltdel

212
Q

QUESTION NO: 212 CORRECT TEXTWhich option& when passed to thegpg command& will enter an interactive menu enabling the userto perform key management related tasks? (Provide only the option)

A

Answer: edit-key –

213
Q

QUESTION NO: 213 CORRECT TEXTWhich file contains a list of services and hosts that will be denied by a TCP Wrapper such astcpd? (Please enter the full path)

A

Answer: /etc/hosts.deny

214
Q

QUESTION NO: 214While performing a security audit& you discover that a machine is accepting connections on TCP port 184& but it is not obvious which process has the port open. Which of the following programs would you use to find out?A. tracerouteB. strace C. debug D. nessus E. lsof

A

Answer: E

215
Q

QUESTION NO: 215What is the highest numbered TCP /IP port? A. 2047B. 32767C. 65535D. 131071

A

Answer: C

216
Q

QUESTION NO: 216You are working on a server that has multiple ethernet network interfaces& and you wish to find out the IP address assigned to the ethl interface. Which of the following commands will print the necessary information?A. ipconfig /dev/eth1B. ethconfig d eth1C. ifconfig eth1D. prntconf eth1

A

Answer: C

217
Q

QUESTION NO: 217Which of the following is the best way to list all defined shell variables? A. envB. setC. env aD. echo $ENV

A

Answer: B

218
Q

QUESTION NO: 218Which command allows you to make a shell variable visible to subshells? A. export $VARIABLEB. export VARIABLE C. set $VARIABLED. set VARIABLE E. env VARIABLE

A

Answer: B

219
Q

QUESTION NO: 219When you start the X Window System& which series of programs and/or scripts would most closely describe the startup process?A. xdm > xinit > xinitrc > Xclients B. kde > xinitrc > xinit > Xclients C. startx > xinitrc > Xclients > kdeD. startx > xinit > xinitrc > XclientsE. startx > xinit > Xclients > xinitrc

A

Answer: D

220
Q

QUESTION NO: 220Your department decided to change the Gnome Display Manager’s greeting. What configuration file should you edit?A. /etc/gnome/greetingB. /opt/gnome/share/greetingC. /etc/X11/gmd.confD. /etc/X11/gdm/Init/Default

A

Answer: D

221
Q

QUESTION NO: 221Your senior administrator asked you to change the default background of his machine& which usesXDM. Which file would you edit to achieve this?A. /etc/X11/xdm/XsetupB. /etc/X11/xdm.confC. /etc/X11/xdm/DefaultsD. /etc/X11/defaults.conf

A

Answer: A

222
Q

QUESTION NO: 222You are running an email server configured with the default settings. In which directory will you commonly find the delivered mail for the user foo?A. /var/spool/mail B. /home/foo/mailC. /var/mail/spool D. /var/users/mail

A

Answer: A

223
Q

QUESTION NO: 223What entry can you add to syslog.conf file to have all syslog messages generated by your system go to virtual console 12?A. . /dev/tty12B. /var/log/messages | /dev/tty12C. | /dev/tty12D. syslog tty12E. mail.* /dev/tty12

A

Answer: A

224
Q

QUESTION NO: 224Which TWO of the following Class B IPv4 networks are reserved by IANA for private address assignment and private routing?A. 128.0.0.0B. 169.16.0.0C. 169.254.0.0D. 172.16.0.0E. 172.20.0.0

A

Answer: D&E

225
Q

QUESTION NO: 225 CORRECT TEXTThe—– command is used to add a group to the system.

A

Answer: groupadd

226
Q

QUESTION NO: 226Which of the following describes the Linux ping packet or datagram? A. IP packet with a packet typeB. ICMP packet with a message typeC. ICMP packet with a pay loadD. UDP datagram with a protocol typeE. UDP datagram with a payload

A

Answer: B

227
Q

QUESTION NO: 227 CORRECT TEXTThe — command is used to modify or set the password expiration for a user.

A

Answer: chage

228
Q

QUESTION NO: 228Which of the following lines would you find in the file /etc/nsswitch.conf? A. order hosts&bindB. 192.168.168.4 dnsserverC. hosts: files dnsD. domain mycompany.com

A

Answer: C

229
Q

QUESTION NO: 229Which of the following lines would you find in the file /etc/resolv.conf? A. order hosts&bindB. 192.168.168.4 dnsserverC. hosts: files&dnsD. domain mycompany.com

A

Answer: D

230
Q

QUESTION NO: 230You are looking into a new script you received from your senior administrator. In the very first line you notice a #! followed by a path to a binary. Linux will:A. ignore the script.B. use that binary to interpret the script. C. use that binary to compile the script. D. be replaced by that binary.

A

Answer: B

231
Q

QUESTION NO: 231Which of the following information is NOT provided in any output from the netstat utility? A. broadcast servicesB. interface statisticsC. masquerading connectionsD. network connectionsE. routing tables

A

Answer: A

232
Q

QUESTION NO: 232 CORRECT TEXTYou are logged in as root. What command do you run to find out what groups user bruno belongs to?

A

Answer: groups

233
Q

QUESTION NO: 233What benefit does an alias provide?A. It provides faster lookups for commands. B. It prevents having to type long commandsC. It hides what command you are running from others. D. It creates a local copy of a file from another directory.

A

Answer: B

234
Q

QUESTION NO: 234What should the permission settings be for /etc/passwd and /etc/shadow? A. /etc/passwd: rwrr /etc/shadow: rB. /etc/passwd: r /etc/shadow: rwrrC. /etc/passwd: rwrr /etc/shadow: rwrrD. /etc/passwd: r /etc/shadow: r

A

Answer: A

235
Q

QUESTION NO: 235 CORRECT TEXTThe — command is used to send ICMP ECHO_REQUEST packets to other hosts over the network. (Please specify the command with or without path information)

A

Answer: ping /bin/ping

236
Q

QUESTION NO: 236You discovered a pending job for the at command. Which of the following do you have to use to remove it?A. atrm B. atq r C. at e D. rmat

A

Answer: A

237
Q

QUESTION NO: 237 CORRECT TEXTThe — command is used to assign an IP address to a device. (Please specify the command with or without path information)

A

Answer: ifconfig

238
Q

QUESTION NO: 238 CORRECT TEXTThe — command is used to print the network connections& routing tables& and interface statistics.

A

Answer: netstat

239
Q

QUESTION NO: 239Which of the following configuration files should be modified to set default shell variables for all users?A. /etc/bashrcB. /etc/profileC. ~default/.bash_profileD. /etc/skel/.bashrcE. /etc/skel/.bash_profile

A

Answer: B

240
Q

QUESTION NO: 240 CORRECT TEXTYou want to temporarily prevent users from logging in. Please complete the following command:touch /etc/

A

Answer: nologin

241
Q

QUESTION NO: 241When using ssh& what can you do to recover a lost passphrase for a DSA or RSA authentication key?A. Run the sshkeygen command. B. Run thessh recover command.C. A lost passphrase cannot be recovered. D. Decrypt the authentication key with gpg.E. Decrypt the authentication key withssh decrypt.

A

Answer: C

242
Q

QUESTION NO: 242Which configuration file would you edit to change default options for outbound ssh sessions? A. /etc/ssh/sshd_configB. /etc/ssh/sshC. /etc/ssh/clientD. /etc/ssh/ssh_configE. /etc/ssh/ssh_client

A

Answer: D

243
Q

QUESTION NO: 243 CORRECT TEXTThe command prints a list of email that is currently in the queue waiting for delivery. (Please specify the command with or without path or arguments)

A

Answer: mailq

244
Q

QUESTION NO: 244On a system using shadowed passwords& the correct permissions for /etc/passwd are and the correct permissions for /etc/shadow are .A. rwr& rB. rwrr& rrr C. rwrr& r D. rwrrw&rr E. rw& r

A

Answer: C

245
Q

QUESTION NO: 245The correct crontab entry to execute the script chklog once per hour between 3 p.m. and 5 p.m. onMonday and Thursday each week is:A. 0 3&4&5 * * 2&5 chklogB. 0 3&4&5 * * 1&4 chklogC. 0 15&16&17 * * 1&4 chklog D. 0 15&16&17 1&4 * * chklog E. * 15&16&17 * * 1&4 chklog

A

Answer: C

246
Q

QUESTION NO: 246Of the ways listed& which is the best way to temporarily suspend a user’s ability to interactively login?A. Changing the user’s UID.B. Changing the user’s password.C. Changing the user’s shell to /bin/false.D. Removing the user’s entry in /etc/passwd.

A

Answer: C

247
Q

QUESTION NO: 247You have a user whose account you want to disable but not remove. What should you do? A. Edit /etc/gshadow and just remove his name.B. Edit /etc/passwd and change all numbers to 0. C. Edit /etc/shadow and remove the last field.D. Edit /etc/passwd and insert an * after thefirst : .E. Edit /etc/group file and put a # sign in front of his name.

A

Answer: D

248
Q

QUESTION NO: 248Which crontab entry could be used to set the system time at regular intervals? A. 1 0 * * * date $d $t $24B. 1 0 * * * settime $d $t $24C. 1 0 * * * date /dev/null 2>&1

A

Answer: E

249
Q

QUESTION NO: 249Identify the statement that would create a default route using a gateway of 192.168.1.1. A. netstat add defaultgwB. route default 192.168.1.1C. ip route default 192.168.1.1D. route add defaultgw 192.168.1.1E. ifconfig defaultgw 192.168.1.1 eth0

A

Answer: D

250
Q

QUESTION NO: 250X is running okay but you’re concerned that you may not have the right color depth set. What single command will show you the running color depth while in X?A. xcdB. xcdepthC. xwininfoD. xcolordepthE. cat /etc/X11

A

Answer: C

251
Q

QUESTION NO: 251You suspect that a gateway machine on your network has failed but you are unsure which machine. Which command will help locate the problem?A. psB. netstatC. nslookupD. ifconfigE. traceroute

A

Answer: E

252
Q

QUESTION NO: 252Suppose that the command netstat a hangs for a long time without producing output. You might suspect:A. a problem with NFS. B. a problem with DNS. C. a problem with NIS.D. a problem with routing.E. that the netstat daemon has crashed.

A

Answer: B

253
Q

QUESTION NO: 253Consider the following command and an abbreviated version of its output:$ netstat nrKernel IP routing tableDestination Gateway Genmask Flags Iface192.168.165.0 0.0.0.0 255.255.255.0 U ethO127.0.0.0 0.0.0.0 255.0.0.0 U loO0.0.0.0 192.168.165.1 0.0.0.0 UG ethOWhat is the default gateway for the network?A. 192.168.165.1B. 255.0.0.0C. 255.255.255.0D. 0.0.0.0E. 192.168.165.0

A

Answer: A

254
Q

QUESTION NO: 254 CORRECT TEXTWhich directory contains the PCMCIA configuration files?

A

Answer: /ETC/PCMCIA

255
Q

QUESTION NO: 255 CORRECT TEXTWhich file contains the software RAID configuration? (Please enter the file-name without the path)

A

Answer: RAIDTAB

256
Q

QUESTION NO: 256What command is used to force a file-system check& when rebooting? A. shutdown -c -r nowB. fsck -rC. shutdown -F -r nowD. shutdown -f nowE. reboot -f

A

Answer: C

257
Q

QUESTION NO: 257 CORRECT TEXTPlease enter& separated with a space but without paths& the TWO archive programs needed in addition to gzip& to extract files from a .deb file without using the Debian package manager.

A

Answer: ARTAR

258
Q

QUESTION NO: 258Which TWO of the following options are valid& in the /etc/exports file? A. rootsquashB. rwC. norootsquashD. roE. uid

A

Answer: B&D

259
Q

QUESTION NO: 259To restore the kernel source to the previous& unpatched& version& which of the following commands could be used?A. patch -U B. patch -RC. patch -undoD. patch -restoreE. patch -remove

A

Answer: B

260
Q

QUESTION NO: 260Which of the following is a valid location in the automount configuration& when a Windows share needs to be made available to the system?A. ://server/sharename B. :server/sharename C. \server\sharenameD. \\server\sharenameE. server:/sharename

A

Answer: A

261
Q

QUESTION NO: 261 CORRECT TEXTWhich command with all parameters and arguments& can be used by root to erase the cron job list for the user fred?

A

Answer: CRONTAB UFRED-E

262
Q

QUESTION NO: 262Which TWO statements about crontab are true? A. Every user may havetheir own crontab.B. hourly is the same as ‘0 * * * *‘.C. The cron daemon reloads crontab files automatically when necessarly. D. Changing a crontab requires a reload/restart of the cron deamon.E. A cron daemon must run for each existing crontab.

A

Answer: A&B man crontab

263
Q

QUESTION NO: 263What backup arrangement should be used for an intranet web server the contents of which is updated fairly regularly by different staff?A. Monthly full backups with the tape sent off-site. B. Weekly full backups with all tapes sent off-site. C. Daily full backups with all tapes sent off-site.D. Daily full backups with one tape sent off-site per week.E. Daily incremental backups with a weekly full backup tape sent off-site.

A

Answer: E

264
Q

QUESTION NO: 264Before compiling a new kernel& what needs to be done? A. Configure the kernel options.B. Delete old kernel sources. C. Compile kernel modules. D. All of the above.E. Change to runlevel 1.

A

Answer: A

265
Q

QUESTION NO: 265How can DMA be enabled for the device /dev/hda? A. echo ‘1’ >/proc/ide/hda/dmaB. sysctl -w dev.ide.dma=lC. dma add /dev/hdaD. hdparm -d 1 /dev/hdaE. insmod dma dev=/dev/had

A

Answer: D

266
Q

QUESTION NO: 266 What command must be used to create an ext3 file-system?A. mkext3fsB. mkjfsC. mke3fs D. mke2fs E. mkext2fs

A

Answer: D

267
Q

QUESTION NO: 267Your routing configuration relies on eth0 being a 3com card that requires the 3c59x module. What line must be added to modules configuration file& to ensure that eth0 always uses this module?A. ethO=3c59xB. seteth0 3c59xC. alias ethO 3c59xD. seteth0=3c59xE. alias eth0=3c59x

A

Answer: C

268
Q

QUESTION NO: 268During which stage of the boot process would this message be seen?ide_setup: hdc=ide-scsiA. Daemon initialization and setup.B. Boot loader start and hand off to kernel. C. Hardware initializiation and setup.D. Kernel loading.

A

Answer: D

269
Q

QUESTION NO: 269 CORRECT TEXTWith which command can the reserved blocks on /dev/hda1 be displayed? (Enter the command with all parameters and/or options)

A

Answer: TUNE2FS-L/DEV/HDA1

270
Q

QUESTION NO: 270During which stage of the boot process would this message be seen?ide0: BM-DMA at 0xff00-0xff07& BIOS settings: hda:DMA& hdb:DMAA. Kernel loading.B. Hardware initialization and setup.C. Boot loader start and hand off to kernel. D. Daemon initialization and setup.

A

Answer: A

271
Q

QUESTION NO: 271 CORRECT TEXTAfter configuring a new 2.4 series kernel& all dependencies& such as include files& need to be created. How can this be achieved? Please enter the complete command.

A

Answer: MAKEDEP

272
Q

QUESTION NO: 272When Human Interface Devices (HID) is being used& which of the following represents a USBmouse connected to the PC?A. /dev/psaux B. /dev/ttyUSB0C. /dev/usb/mouse0D. /dev/ttyS0E. /dev/psauxF. /dev/input/mice

A

Answer: E

273
Q

QUESTION NO: 273Which of the following commands can be used to access the content of a ramdisk file (/boot/initrd)used by the kernel at boot time?A. cp /boot/initrd /tmp/initrd.gz; gunzip initrd.gz; mount /tmp/initrd /mnt/ B. mkintird -d /boot/initrd; mount /boot/initrd /mnt/ -o loopC. cp /boot/initrd /tmp/initrd.gz; mount /tmp/initrd /mnt/ -o loopD. cp /boot/initrd /tmp/initrd.gz; gunzip initrd.gz; mount /tmp/initrd /mnt/ -o loopE. mount /boot/initrd /mnt/ -o loop; cat /mnt

A

Answer: D

274
Q

QUESTION NO: 274 CORRECT TEXTFor interpreting system re scripts& a shell is most commonly used. Please enter the first line found in such scripts.

A

Answer: #!/BIN/SH

275
Q

QUESTION NO: 275A Linux server is running in single user mode& but the problem that existed before is now fixed. What command is most appropriate to restore the server to service?A. telinit 2B. shutdown -r nowC. rebootD. shutdown -h nowE. telinit 3

A

Answer: E

276
Q

QUESTION NO: 276Which of the following must be included in the syslogd configuration file& so that ONLY kernel related messages with the priority crit are reported?A. kern.=crit B. kern.krit C. kern.-critD. kern.*=critE. kern.crit

A

Answer: E

277
Q

QUESTION NO: 277 CORRECT TEXTYou have configured a workstation to boot in runlevel 4& but you now find that the X server will not start correctly and the machine will not allow local access. What would be the most effective command to run at the LILO prompt to regain local access to the machine& when the last known working kernel image was linux?

A

Answer: LINUX3

278
Q

QUESTION NO: 278One of the IDE hard drives in a server is transferring data very slowly. What command must be run to enable DMA on it?A. hdparm -d 1 /dev/hda B. hdparm -dma /dev/hda C. hdparm -d /dev/hda1D. hdparm -d /dev/hdaE. hdparm -dma /dev/hda1

A

Answer: A

279
Q

QUESTION NO: 279 CORRECT TEXTThe administrator notices that a 10GB ext2 file-system used only for data storage has approximately 540MB reserved for root. Which command can be used to change the file-system parameters to make all of the partition available to users& WITHOUT losing data? Please enter only the command without path& options or parameters.

A

Answer: TUNE2FS

280
Q

QUESTION NO: 280What command can be used to check the Samba configuration file? A. smbtestparmB. testparmC. testsmbconfigD. smbtestcfgE. testconfig

A

Answer: B

281
Q

QUESTION NO: 281Consider the following excerpt from an RPM spec file: Summary: Complete Web authoring system for linux Name: nvu Version: 0.50 Release: 5Source0:%{name}-%{version}.tar.bz2 PatchO: nvu-freetype2. patch. bz2 Patchl: nvu-mozilla-l.l-system-myspell-dicts.patch.bz2 Patch2: nvu-mozilla-1.7-spellcheck-full-lanLicense:MPL/LGPL/GPi-Group: Development/Other Url: http://www.nvu.com BuildRoot:%{_tmppath}/%{name}-buildroot BuildRequires: libjpeg-devel libpng-devel liblDL-devel BuildRequires: ziptcsh BuildRequires: gtk+2-devel >= 2.2.0 Which TWO of the following sentencesare true about this package?A. Package gtk+2-devel version 2.2.0 or higher needs to be present in the system before this nvu package may be installed.B. The file nvu-freetype2.patch.bz2 must be present in the SOURCES/PATCHES directory. C. The macro %_tmppath must be defined in system-wide or in local configuration files.D. The nvu-0.50.tar.bz2 will be unpacked into %{_tmppath}/%{name}-buildroot. E. The nvu-0.50.tar.bz2 file contains pristine sources for nvu.

A

Answer: A&E

282
Q

QUESTION NO: 282 CORRECT TEXTWhat is the correct parameter to pass to the kernel at boot time to force it to use only one of the available processors?

A

Answer: MAXCPUS=0

283
Q

QUESTION NO: 283 CORRECT TEXTWhich program can be used to adjust the DMA settings of an IDE hard drive? Please enter it without path& parameters or arguments

A

Answer: HDPARM

284
Q

QUESTION NO: 284 CORRECT TEXTWith which command can the reserved blocks count for a file-system be seen? (Please enter only the command without the path or any parameters or options)

A

Answer: TUNE2FS

285
Q

QUESTION NO: 285 CORRECT TEXTWhat command is used to create a file-system to be burned to a CD? (Please enter the command without the path or any options or parameters)

A

Answer: MKISOFS

286
Q

QUESTION NO: 286What command can be used to install a Perl module (‘Smodule’) from the CPAN archive?A. perl -MCPAN -e ‘install $module’B. perl -MCPAN -install $moduleC. perl-i $moduleD. perl -cpan -e ‘make $module’ E. perl -cpan -i $module

A

Answer: A

287
Q

QUESTION NO: 287Which pseudo-file contains information on the status of software RAID devices? A. /proc/mdstatusB. /proc/mdstatC. /proc/raidstatD. /proc/raidstatusE. /proc/raid/status

A

Answer: B

288
Q

QUESTION NO: 288Messages from programs are not appearing in the user’s native language. What environment variable must be set for this to happen?A. MSGS B. I18NC. LC_MSGSD. MESSAGESE. LANG

A

Answer: E

289
Q

QUESTION NO: 289 CORRECT TEXTWhich e2fsck option is used to automatically repair an ext2 filesystem?

A

Answer: P

290
Q

QUESTION NO: 290 CORRECT TEXTWith which parameter in the smb.conf file can a share be hidden?

A

Answer: BROWSEABLE

291
Q

QUESTION NO: 291Where should the LILO code reside& on a system with only one installation of Linux and no other operating systems?A. In the boot sector.B. In the /boot directory.C. At the start of the kernel. D. In the master boot record.

A

Answer: D

292
Q

QUESTION NO: 292 CORRECT TEXTA database application requires a maximum shared memory segment (shmmax) of 2GB (2147483648 Bytes). Which configuration permanently? Please enter the complete path to the file.

A

Answer: /ETC/SYSCTL.CONF

293
Q

QUESTION NO: 293Which of the following commands should be used in a bash script that needs a variable containing the IP address of the eth0 interface? The output for the command ifconfigeth0 is shown below: Eth0 Link encap:Ethernet HWaddr 00:0C:29:CB:FA:30inetaddr:192.168.246.11 Bcast:192.168.246.255 Mask:255.255.255.0UP BROADCAST RUNNING MULTICAST MTU:1500 MetrlelRX packets:4721 errorsrO dropped:0 overruns:0 frame:0TX packets:3216errors:0dropped:0overruns:0 carrier:0 collisions^) txqueuelen:1000RX bytes:445184 (434.7 Kb) TX bytes:512968 (500.9 Kb)lnterrupt:185 Base address:0xl080A. IP=LANG= ifconfig ethO | awk’{print $2 )’ | cut -f2B. IP=’LANG= ifconfig ethO | grep inet | cut-d: -f2 | awk {print $1 Y C. IP=’LANG= ifconfig ethO | awk’{print $3 }’D. IP=$(LANG= ifconfigethO | grep inet | awk’{ print$2}’ | cut-d: ^f2) E. IP=$(LANG=ifconfigethO| grep inet | cut-d:-f2)

A

Answer: D

294
Q

QUESTION NO: 294 CORRECT TEXTWhich file contains configuration data for automount? Please enter the complete path.

A

Answer: /ETC/AUTO.MASTER

295
Q

QUESTION NO: 295 CORRECT TEXTPlease enter the command with all parameters and arguments& that could be used by root to list the cron jobs for the user John.

A

Answer: CRONTAB-UJOHN-L

296
Q

QUESTION NO: 296 CORRECT TEXTWhich command& with options& could be used to change an ext2 file system on /dev/hda1 to anext3 file system?

A

Answer: TUNE2FS-J/DEV/HDA1

297
Q

QUESTION NO: 297What command can be used to configure the baud rate on a serial port? A. ttyconfigB. serialconfig C. serialmode D. settyE. setserial

A

Answer: E

298
Q

QUESTION NO: 298Considering that a 2.4 series Linux kernel is being used& which kernel module must be loaded to enable CD burning with an IDE CD writer?A. ide-scsi B. ide-cdb C. ide-cdrw D. ide-cdE. None of the above.

A

Answer: A

299
Q

QUESTION NO: 299The Linux kernel is loaded successfully by the boot loader. However& straight after the kernel mounts the root filesystem& the boot process stops and an error message regarding init is shown. Which of the following actions is the best one to be used in order to identify and fix the problem?A. The administrator reboots the system with a recovery disk and checks the root file system for errors with fsck. B. The administrator reboots the system with a recovery disk and restores from a backup.C. The administrator reboots the system and tells the kernel& through the boot loader prompt& touse /bin/bash as the initial process.D. The administrator reboots the system with a recovery disk and installs a new kernel.E. The administrator reboots the system and tells init& through the boot loader prompt& to use a different runlevel.

A

Answer: A

300
Q

QUESTION NO: 300Hundreds of people log in to a server from remote locations per day. Which of the following commands show remote SSH& FTP & telnet sessions for a particular day?A. cat /var/log/messages | egrep’(telnet|ssh|ftp)’B. cat/var/log/messages > grep ‘‘date ‘+%b %e1’’ > egrep ‘(telnet |ssh |ftp)’ C. cat /var/log/messages | date | egrep’(telnet |ssh| ftp)1D. cat/var/log/messages | grep ‘‘date ‘+%b%e’’’ | egrep’(telnet |ssh| ftp)’ E. cat/var/log/messages | grep’‘date ‘+%b%e…..| grep-E’(telnet|ssh| ftp)’

A

Answer: D&E

301
Q

QUESTION NO: 301What command can be used on an existing (formatted) partition& to configure the interval between disk checks when mounting partitions?A. e2fsckconfigB. tune2fs C. mke2fs D. config2fs E. e2fsck

A

Answer: B

302
Q

QUESTION NO: 302If the path parameter is not set for a share in the smb.conf file& the share will refer to which of the following directories?A. /var/sambaB. /var/smb/tmpC. /var/spool/sambaD. /tmpE. ~/.samba

A

Answer: E

303
Q

QUESTION NO: 303What information does the file modules.dep provide? A. A list of all modules compiled for this kernel.B. A list of modules the kernel needs to run.C. A list of all modules available to the kernel. D. A list of modules required by each module.E. A list of devices and their module name.

A

Answer: D

304
Q

QUESTION NO: 304What is the minimum number of disks required in a RAID5 array? A. 1B. 3C. 4D. 5E. 2

A

Answer: B

305
Q

QUESTION NO: 305 CORRECT TEXTA new kernel version needs to be compiled to use a new feature. If the old kernel configuration file is available& which make target will only update the configuration file for the new kernel version? (Please enter only the make target).

A

Answer: OLDCONFIG

306
Q

QUESTION NO: 306Which command displays information about connected USB devices? A. cat /proc/usb/devicesB. cat /proc/bus/usb/devicesC. cat /proc/usbdevicesD. cat /proc/usbbus/devicesE. cat /proc/hotplug/usb

A

Answer: B

307
Q

QUESTION NO: 307 CORRECT TEXTWhich site-specific configuration file for the shadow login suite must be modified to log login failures? Please enter the complete path to that file.

A

Answer: /ETC/LOGIN.DEFS

308
Q

QUESTION NO: 308When bash is invoked as an interactive login shell& which of the following sentences is true?A. It first reads and executes commands in /etc/bashrc and then does the same for /etc/profile. B. It ignores /etc/profile and only reads and executes commands in ~/.bashrc.C. It first reads and executes commands in /etc/profile and then does the same for~/.bash_profile&~/.bash_login and ~/.profile.D. It first reads and executes commands in /etc/profile and then does same for ~/.bash_profile and~/.bashrc.E. It reads and executes commands in ~/.bashrc only if /etc/profile or another initialisation script calls it.

A

Answer: A

309
Q

QUESTION NO: 309 CORRECT TEXTConsider the following/etc/fstab file:/dev/hdal swap swap defaults 0 0/dev/hda2 / ext2 defaults 11/dev/hda3 /home ext2 defaults 12 none/proc proc defaults 0 0/dev/fdO /media/floppy vfat user&noauto 0 0What command can an ordinary (non-root) user use to mount a floppy disk in this system? (Please enter the command with all parameters and/or options)

A

Answer: mount /media/floppy

310
Q

QUESTION NO: 310Which of the following configuration lines will export /usr/local/share/ to nfsclient with read-write access& ensuring that all changes are written straight to the disk?A. nfsclient:/usr/local/share/:rw&syncB. /usr/local/sharenfsclient(rw&sync)C. nfsclient(rw&sync) /usr/local/share D. /usr/local/share nfsclient:rw:sync E. /usr/local/sharenfsclient(rw)

A

Answer: B

311
Q

QUESTION NO: 311 CORRECT TEXTBy default& which file will Samba use to store the user passwords? (Please enter only the file- name without the path)

A

Answer: SMBPASSWD

312
Q

QUESTION NO: 312 CORRECT TEXTAfter a lot of write operations& the changes should be written to the disk. Please enter the appropriate command& without the path or any options or parameters& that would achieve this.

A

Answer: SYNC

313
Q

QUESTION NO: 313Which command would you use to apply a diff file to an original? A. cat diff-file > kernelD. patch diff-file

A

Answer: B

314
Q

QUESTION NO: 314The swap usage on a system needs to be checked. Which TWO commands can be used to display a swap usage summary?A. swapconfigB. cat /proc/swapsC. swapon -sD. swapshowE. cat /etc/fstab

A

Answer: B&C

315
Q

QUESTION NO: 315 CORRECT TEXTWhich program lists information about files opened by processes and produces output that can be parsed by other programs?

A

Answer: lsof

316
Q

QUESTION NO: 316Which of the following best describes the format of the /etc/fstab file?A. device name; mount point; mount options; filesystem type; dump filesystem; fsck order’ B. device name; filesystem type; mount point; mount options; dump filesystem; fsck order C. mount point; filesystem type; device name; mount options; dump filesystem; fsck order D. mount point; device name; filesystem type; mount options; dump filesystem; fsck order E. device name; mount point; filesystem type; mount options; dump filesystem; fsck order

A

Answer: E

317
Q

QUESTION NO: 317A 2.6.9-ac1 kernel would beA. someone’s patch to a stable kernel.B. someone’s patch to an unstable kernel. C. a stable kernel.D. an unstable kernel. E. an alpha kernel.Answer: A

A

Answer: A