a) /etc/inittab
b) /etc/proc
c) /etc/init
d) /etc/initproc
Sndconfig was written
originally for which Linux distribution?
a) Red Hat
b) SuSE
c) Debian
d) Corel
What section of the XF86Config file contains the entry to set the
path for fonts used?
a) Fonts
a) Fonts
b) Files
c) Ttype
d) ATM
e) Footpath
Your Linux machine has 2 monitors. Your second monitor is
configures as the second screen of the first
display. If you want the "Netscape" program to be displayed on
your second monitor, what command
should you use before starting Netscape?
should you use before starting Netscape?
a) export set display=:10;
Netscape
b) export set DISPLAY=:0:0;
Netscape
c) export set DISPLAY=:0:1;
Netscape
d) export set DISPLAY=:1:0;
Netscape
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
How can you set the SGID on
a file called Roomanexaminator?
a) chmod u+s
Roomanexaminator
b) chmod g+s
Roomanexaminator
c) chmod o+s
Roomanexaminator
d) chmod u+t
Roomanexaminator
You want to view a listing
of previously entered commands. What command would you use?
a) hist
b) histfile
c) show buff
d) history
What are the default
permissions for the Red Hat /etc/passwd file?
a) 644
b) 640
c) 400
d) 641
e) 440
You are writing text i n vi. Now you want to save your changes and
exit. Which two sequence of inputs will
accomplish this?
a) esc XX
b) ctrl :w!
c) esc zz
d) esc :wq!
e) ctrl XX
What run level represents
basic multi-user?
a) 2
b) 0
c) 1
d) 5
What command with options
will show the currently mounted file systems usage in kilobytes?
a) df -k
b) df -h
c) du -k
d) du -h
e) du -s
As recommended by Red Hat, for most Linux users a boot partition
of 32 MBs is sufficient.
a) True
a) True
b) True only for pre-8.0
releases
c) False
d) None of the choices.
Which THREE of the following commands are used when setting up and
accessing a new file system on the hard
drive?
a) fsck
b) mkfs
c) mount
d) fdisk
e) format
Which is a valid /etc/fstab
entry
a) fs1:/proc /mnt/fs1 nfs
defaults 9 9
b) /mnt/fs1 fs1:/proc nfs
defaults 0 0
c) fs1:/home /mnt/fs1 nfs
defaults 0 0
d) /mnt/home fs1:/home nfs
defaults 0 0
e) /home:fs1 /mnt/fs1 nfs
defaults 0 0
Which of the following
Linux packages can be used for web caching?
a) qmail
b) squid
c) apache
d) samba
What is the purpose of
setting the SUID? Choose all that apply.
a) Allows any user to run a
executable program with the permissions of the owner of the program
b) Allows any user to run a
program with the permissions of the group of the program
c) Everyone can edit the
files that are created but only root and owner can delete them.
d) To keep programs that
are needed constantly in non-swappable RAM
e) To cause a program
opened in one X virtual pane to follow the user's focus to other panes
Which of the following
syslog identifiers represents the highest priority?
a) notice
b) warning
c) error
d) critical
What operation of the make utility cannot normally be performed as
a normal user?
a) mrproper
a) mrproper
b) clean
c) dep
d) depends
e) install
Which command would you use to set the speed of a serial
interface? Choose the best answer. a) setbaud
b) setspeed
c) setserial
d) setcom
e) set_comport
What is the DirectoryIndex
Apache configuration directive used for?
a) Printing indexes of directories when they do not have an
index.html file
b) The default page to show when the user requests an index of a directory
c) Directories to ignore
b) The default page to show when the user requests an index of a directory
c) Directories to ignore
d) Directories that have
access restrictions
What are the default
permissions on the Red Hat /etc/shadow file?
a) 644
b) 600
c) 400
d) 444
e) 640
Which of the following
modems cannot be used on linux systems
a) ISDN TA
b) Cable modems
c) Analogue modems
d) PCI modems
e) Win modems
You want to limit the amount of disk space ordinary users can have
to 5MB per user in / var/spool / mail
and 10MB per user in / home, using quota. What steps do you need to take
when partitioning the hard
drive?
drive?
a) Make a partition for /
var / spool / mail and another one for / home.
b) Use fdisk instead of
fdisk to create the partitions and activate quotas.
c) No special steps are
required. /var/ spool/ mail and / home can be part of the / partition.
d) Make one partition for both /home, then later on add a symlink
for / var / spool / mail that points to
that partition.
that partition.
e) Use fdisk to make partition for / var / spool / mail and /
home, then use the "u" option to turn on per-
user quotas
user quotas
You can find all of the services managed by xinetd by looking at
which of the following file or directory? a)
/etc/xinetd.d
b) /etc/inetd.conf
c) /etc/rc.d/init.d
d) /etc/xinetd.conf
Which of these commands will list the shared libraries used by the
KDE application kpanel?
a) ldd kpanel
a) ldd kpanel
b) /usr/lib kpanel
c) kdd /opt/kde/bin/kpanel
d) ldd /opt/kde/bin/kpanel
e) ldconfig
/opt/kde/bin/kpanel
What are the programs gdm,
kdm, and xdm for?
a) They are X display
managers used for authentication
b) They are the window
managers for different desktop environments
c) They are console
programs for configuring the X Window system
d) They are user
administration programsThey are user administration programs
Performance tuning of IDE hard drives can be done with which of
the following commands?
a) hdtune
a) hdtune
b) ideparm
c) idetune
d) hdparm
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?
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
What partition number
always refers to the first logical partition?
a) 0
b) 4
c) 1
d) 5
You have a system that uses LILO from the Master Boot Record. You
have just recompiled a new kernel. You
already have a backup kernel setup to boot from LILO so you overwrite your
existing kernel with
new kernel image using the same name and location. When you reboot, you find the system does not
new kernel image using the same name and location. When you reboot, you find the system does not
boot. What is likely to be
the problem?
a) The new kernel image is
above the 1024 cylinder and therefore cannot be loaded.
b) You did not update your
/etc/lilo.conf file to boot the new kernel.
c) You need to boot the new
kernel with a boot floppy to restore the old kernel.
d) You reboot before
re-installing LILO in the Master Boot Record.
What would the command
"rpm --all matches rpmname" do?
a) Remove all packages
named all matches
b) Remove all packages with
the package name rpmname
c) Remove all packages
regardless of name
Which of the following is a
journaling filesystem?
a) ext2
b) vfat
c) minix
d) ext3
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
e) minimum password length
You 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 and ldconfig, however the system still
cannot find the shared libraries. What is most likely the cause of this?
some code that uses these libraries. You have already performed and ldconfig, however the system still
cannot find the shared libraries. What is most likely the cause of this?
a) You used the wrong
compiler.
b) Your did not update your
PATH variable.
c) You compiled the code
with wrong library.
a) The same as kill -9 1354
b) The same as kill 15 1354
c) The same as kill -15
1354
d) The same as kill -SIGHUP
1354
e) The same as kill -1 1354
What Linux utility allows you to easily configure your Sound
Blaster card on Linux?
a) Sndconfig
a) Sndconfig
b) Sound Conf
c) Usrconf
d) Sysconf
What syslog.conf facility
represents user processes?
a) auth
b) proc
c) user
d) u
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
Which file contains the
default system desktop environment?
a) /etc/X11/XF86Config
b) /etc/sysconfig/desktop
c) /etc/sysctl.conf
d)
/etc/sysconfig/displaymanager
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
The configuration file for the OpenSSH server is:
a) /etc/ssh/sshd_config
a) /etc/ssh/sshd_config
b) /etc/sshd_config
c) /etc/ssh_ssh_config
d) /etc/ssh_config
You have just set up the KDE Display Manager as your default
display manager. What file should you
edit to change the default greeting?
a) prefdm
b) XF86config
c) Kdmrc
d) Kdm.conf
Which of the following can
be used to switch your system to run level 1?
a) init 1
b) inittab 1
c) rlevel 1
d) level 1
One of the lines in the output from the command 'ls -l/home/pomes'
is: drwxrwsr-x 3 devel poms 1024 Oct 22
16:28 foo The output from the command groups bubba is: bubba : bubba poms acts
If user bubba executes the command
touch/home/poms/foo/bar, which TWO of the following must be true?
a) The group for
/home/poms/foo/bar will be poms.
b) The owner for
/home/poms/foo/bar will be devel
c) The owner for
/home/poms/foo/bar will be bubba.
d) The group for
/home/poms/foo/bar will be bubba.
e) The permissions for
/home/poms/foo/bar will allow group read
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
Which command will output the exit status of the previous command
(a 1 or a 0)?
a) echo $?
a) echo $?
b) echo $1
c) echo $EXIT
d) exit status
Which of the following commands will duplicate the contents of the
/A directory in the existing and
empty /B directory?
empty /B directory?
a) mv /A/* /B
b) mv /A/ /B
c) mv /A /B
d) mv /A/*
If you have just configured DHCP, and the DHCP server fails to
start, what could possibly be the reason? a) The
dhcpd.leases file does not exist
b) The dhcp user is not
setup
c) The root user does not
have permission to bind to port 67
d) The dhcrelay server is
not running
You want to view a listing of previously entered commands. What
command would you use?
a) hist
a) hist
b) histfile
c) show buff
d) history
After a minor security incident you are
instructed by your lead sys-admin to verify the RPM's installed on running system. Which command will create a
complete report which you can analyze for changes which may be security related?
a) .rpm-Va>report
b) rpm-Qavy > report
c) rpm-Vqt-- nomd5>report
d) rpm-check files >report
e) rpm-Va-no files > report
d) rpm-check files >report
e) rpm-Va-no files > report
Which of the following syslog.conf entries would cause kernel
error messages to be sent to the system
console?
console?
a) kern warning console
b) kern.error console
c) kern.warning
/dev/console
d) kern error console
If you have just configured DHCP, and the DHCP server fails to
start, what could possibly be the reason? a) The
dhcpd.leases file does not exist
b) The dhcp user is not
setup
c) The root user does not
have permission to bind to port 67
d) The dhcrelay server is
not running
What DHCP server option is
used to specify the DNS server to clients?
a) domain-name-servers
b) dns
c) domain-name
d) routers
You are preparing to mount a new ext3 partition
that is the second partition on your first IDE drive. How can you check the integrity of the file
system first without having to answer "y" to a bunch of questions? a) e3fsck -y /dev/hda2
b) e2fsck -y /dev/hda2
c) e3fsck -r /dev/hda2
d) e2fsck -r /dev/hda2
According to the File system Hierarchy Standard, what directory
trees are considered optional on a
system's root file system? Choose all that apply.
system's root file system? Choose all that apply.
a) /mnt
b) /root
c) /usr
d) /var
e) /opt
Which command would you use
to set the speed of a serial interface? Choose the best answer.
a) setbaud
b) setspeed
c) setserial
d) setcom
e) set_comport
Why is it not recommended to use DNS names in the Apache
configuration file?
a) Apache startup could misconfigure virtual hosts if DNS is unavailable
a) Apache startup could misconfigure virtual hosts if DNS is unavailable
b) DNS is very slow
c) DNS is not supported
d) Apache cannot perform
DNS lookups
You run the following commands: [user@prompt]$ nice -n 1 program1
[user@prompt]$ nice -n 5
program2 [user@prompt]$ nice -n 10 program3 Which of the program started will have the highest
priority?
program2 [user@prompt]$ nice -n 10 program3 Which of the program started will have the highest
priority?
a) program1
b) program2
c) program3
After a minor security incident you are instructed by your lead
sys-admin to verify the RPM's installed on
a running system. Which command will create a complete report which you
can analyze for changes
which may be security related?
which may be security related?
a) rpm -Va >report
b) rpm -Qavy >report
c) rpm -Vqt --nomd5
>report
d) rpm --check files
>report
e) rpm -Va --no files
>report
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
Which of the following are the valid PCMCIA boot diskette image
files supported by Red Hat Linux 8
(choose all that apply)?
(choose all that apply)?
a) pcmcia.img
b) pcmciadd.img
c) boot.img
d) bootdsk.img
Your lead sysadmin has asked you to add a second NIC to a Linux
machine. Which of the following
commands would be best to determine which interrupts are currently in use on this machine?
commands would be best to determine which interrupts are currently in use on this machine?
a) cat /proc/ioports
b) cat /proc/interrupts
c) cat /proc/memory info
d) which interrupts
e) tail /var/log/messages
You are the administrator for all desktop systems at your company.
You do not have a desktop standard
and the users are free to use any window manager they choose. Which of the following methods would be easiest to add a menu item to all users' main menu?
and the users are free to use any window manager they choose. Which of the following methods would be easiest to add a menu item to all users' main menu?
a) There is no easy
solution to this problem.
b) Use rsync to synchronize
all menus with a central server.
c) Write a script that adds
the menu item and have users run it.
d) Add the changes to the
/etc/default/main-menu configuration file.
e) Use your package manager
to upgrade all the packages at once.
What switch is used with the useradd command to specify a user's
initial group?
a) -g
a) -g
b) -i
c) -u
d) -ig
What option can be used with the shutdown command to send a
warning message alerting users that the
system will be shut down?
system will be shut down?
a) shutdown -k
b) shutdown -w
c) shutdown -a
d) shutdown -c
The command for most
applications to install compiled source via the Makefile is:
a) make
b) install
c) configure
d) make depend
e) make install
You want to view a listing of previously entered commands. What
command would you use?
a) hist
a) hist
b) histfile
c) show buff
d) history
You 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?
to change the default background for it?
a) /etc/X11/xdm/Xsetup
b) /etc/X11/prefdm
c) /etc/X11/XF86Config
d) /etc/X11/xdm.conf
What syslog.conf facility
represents user authentication processes?
a) auth
b) proc
c) user
d) login
What is the name of the
default XFree86 Font Server?
a) xfs
b) xfserver
c) xfree86fs
d) Xfs
e) xfontserver
What options will allow a normal user to mount and then unmount a
file system without needing
assistance from the root user?
assistance from the root user?
a) user and users in the
/etc/fstab
b) user and users in the
/etc/default/
c) user and users in the
/etc/vfstab
d) user and users in the
/etc/mnttab
e) usrquota and grpquota in
the /etc/fstab
/dev/____ ist the first logical partition of the slave on the
second IDE-channel. Type the answer.
a) sed
a) sed
b) vi
c) ex
d) less
e) hdb1
What syslog.conf facility
represents mail processes?
a) proc
b) daemon
c) mail
d) smtp
You are installing a program that is only available as source
code. Which of the following commands
would be best to add system specific configuration information such as the default installation directory? a) ./make
would be best to add system specific configuration information such as the default installation directory? a) ./make
b) ./install
c) ./makefile
d) ./configure
What syslog.conf facility
is used to create timestamps in log files?
a) mark
b) stamp
c) time
d) tstamp
Which of these commands would report how many total accounts
(including special accounts) there are? a) count
/etc/passwd
b) nl /etc/passwd | head
c) . wc --users /etc/passwd
d) wc --lines /etc/passwd
e) expand --lines
/etc/passwd
Both RAID level 0 and Linear RAID provide capacity equivalent to
the amount of storage you have. In other
words, there is no space reserved for parity or error checking. What, then, is
the difference between RAID level 0 and
Linear RAID?
a) When using Linear RAID,
data is not striped across drives.
b) When using Linear RAID,
data is striped across drives.
c) RAID 0 provides some
amount of error checking.
d) Linear RAID provides
some amount of redundancy.
To set up a connection to your ISP via your modem, what should you
do (choose all that apply):
a) configure the dialer
a) configure the dialer
b) configure the PPP
settings
c) configure the pppd
daemon
d) configure the PPTP
settings
COM2 normally uses what I/O
port and IRQ combination?
a) 03F8 4
b) 02F8 3
c) 03E8 4
d) 02E8 3
What is the configuration
file for the xscreensaver?
a) xscreensaver.conf
b) .xscreensaver
c) xsaver.conf
d) xdm-config
Which of the following best describes the order in which X Window
files are executed or read?
a) startx -> xinit -> xinitrc -> Xclients
a) startx -> xinit -> xinitrc -> Xclients
b) xinit -> startx ->
Xclients -> xinitrc
c) xinitrc -> Xclients
-> startx -> xinit
d) Xclients -> startx
-> xinitrc -> xinit
Which of the following Linux packages can be used for web caching?
a) qmail
a) qmail
b) squid
c) apache
d) samba
You 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.
What is the configuration
file for the xscreensaver?
a) xscreensaver.conf
b) xscreensaver
c) xsaver.conf
d) xdm-config
What command could be used to find out which package owns the file
/etc/aliases?
a) rpm -qf /etc/aliases
a) rpm -qf /etc/aliases
b) rpm -qp /etc/aliases
c) rpm -e /etc/aliases
d) rpm -qil /etc/aliases
What syslog.conf facility
represents miscellaneous daemons?
a) misc
b) proc
c) kern
d) daemon
What is the main
configuration file for XFree86 version 4?
a) /etc/X11/XF86Config
b) /etc/X11/XF86Config-4
c) /usr/X11R6/bin/XFree86
d) XF86_SVGA
When a user executes the command "ps ax", what is shown
on the console? Choose all that apply.
a) Process's user-related information
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
What are the default
permissions on the Red Hat /etc/shadow file?
a) 644
b) 600
c) 400
d) 444
e) 640
You need to know where all the configuration files for the
installed package named "postfix" are located. Assuming it was installed with rpm, which
command will list this information for you?
a) rpm -qc postfix
b) rpm -Vc postfix
c) prm --config postfix
d) rpm -listconfig postfix
e) prm -qa --config postfix
What is the prefdm file
used for?
a) To specify the preferred
X display manager to use
b) To setup preferences for
GNOME
c) To do performance
analysis of system CPU usage
d) To perform profiling of
C code
What is the disadvantage of
using the command kill -9 ?
a) A core dump file will be
created.
b) It affects the entire
process group.
c) It makes excessive use
of system resources.
d) The action can be
blocked by buggy or malicious processes.
e) The affected process is
unable to clean up before exiting.
What lilo option will list the name and location of available
kernels?
a) -q
a) -q
b) -k
c) -v
d) -l
What syslog.conf facility
represents user authentication processes?
a) auth
b) proc
c) User
d) login
What is the correct syntax to remove Rooman entirely from a Debian
System including configuration
files?
files?
a) dpkg -r Rooman
b) dpkg --remove Rooman
c) dpkg --kill Rooman
d) dpkg -R Rooman
e) dpkg --purge Rooman
What file does init
processes use as its control file?
a) /etc/inittab
b) /etc/proc
c) /etc/init
d) /etc/initproc
Which of the following
types of devices can the Red Hat Network Administration Tool configure?
a) Ethernet
b) ISDN
c) modem
d) Token Ring
Which of the following commands would block all ICMP packets from
the host 1.2.3.4 coming to your machine?
You are writing text i n vi. Now you want to save your changes and
exit. Which two sequence of inputs will
accomplish this?
a) esc XX
b) ctrl :w!
c) esc zz
d) esc :wq!
e) ctrl XX
How many devices can be
installed on a 16 bit SCSI excluding the controller?
a) 8
b) 10
c) 12
d) 16
e) 15
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
Which of the following will cause command2 not to execute if
command1 fails?
a) command1 & command2
a) command1 & command2
b) command1 &&
command2
c) command1 || command2
d) command1 | command2
e) command1 ; command2
What must the 'network' line look like in a Kickstart
configuration file in order to have the machine
configured for DHCP?
configured for DHCP?
a) network --nodns
b) network dhcp
c) network --bootproto dhcp
d) network --ip dhcp
Which of the following is a
typical rule for allocating swap space for a Linux installation?
a) Use 25% of available
drive space for a swap partition.
b) Use 10% of available
drive space for a swap partition.
c) Use 50% of total RAM for
the size of a swap partition.
d) Use 200% of total RAM
for the size of a swap partition.
e) Use 128MB on each hard
disk in the system for swap.
You create a isapnp.conf file using the pnpdump command. When do
you have to call isapnp to read this
file? Choose the best answer.
a) The first time after you
have installed the new card
b) Every time you want to
access the card
c) C. "Once a day,
using cron "
d) Every time you start the
computer
e) Never
Which of the following
syslog identifiers represents the highest priority?
a) notice
b) warning
c) error
d) critical
Sndconfig was written
originally for which Linux distribution?
a) Red Hat
b) SuSE
c) Debian
d) Corel
What switch is used with
the usermod command to change a user's secondary groups?
a) -G
b) -group
c) -d
d) -U
Which of the following
commands makes /bin/foo executable by everyone but only writable by its
owner?
a) chmod 557 /bin/foo
b) chmod o +rwx, a+rx
/bin/foo
c) chown 557 /bin/foo
d) chmod 755 /bin/foo
You need to alter the permissions on the directory /home/mrcert
and all it's contents to match the
following permissions. drwxr--r-- Which of these commands with options and arguments will accomplish this? Choose two.
following permissions. drwxr--r-- Which of these commands with options and arguments will accomplish this? Choose two.
a) chmod 0744 /home/mrcert
-R
b) chmod 744 /home/mrcert/*
c) chmod -R u=rwx,g=r,o=r
/home/mrcert
d) chmod u+rwx,g+r,o+r
/home/mrcert
For a personal desktop configuration, installing both the GNOME
and KDE desktop environments
requires how many GB of free disk space at the least?
requires how many GB of free disk space at the least?
a) 1
b) 1.2
c) 2
d) 2.8
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
In Bash, inserting
"1>&2" after a command redirects
a) 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
Which IRQ is normally
dedicated to the second printer port on a PC?
a) LPT1
b) LPT2
c) IRQ5
d) IRQ11
e) DMA 330
In which section of the Kickstart configuration file can
post-installation commands be specified?
a) %packages
a) %packages
b) %postinstall
c) %pre
d) %post
You need to know where all the configuration files for the
installed package named "postfix" are located. Assuming it was installed with rpm, which
command will list this information for you?
a) rpm -qc postfix
b) rpm -Vc postfix
c) prm --config postfix
d) rpm -listconfig postfix
e) prm -qa --config postfix
Which of the following can
be used to change a user's home directory?
a) usermod -d
b) usermod -h
c) C. usermod -u
d) usermod -c
Which of the following syslog.conf entries would cause mail error
messages to be sent to the system
console?
console?
a) mail error console
b) mail.err /dev/console
c) mail. error console
d) mail.err.console
You have just upgraded your PC to a 60 gigabyte IDE drive. While
partitioning the drive, you notice that
only 32 gigabytes are available. Which of the following will most likely
allow you to use the entire drive? a) Create
two smaller partitions of 30 gigabytes each.
b) Set the PC BIOS to use
LBA mode.
c) Create a partition that
resides entirely below the first 1024 cylinders.
d) Use GRUB or the latest
version of LILO as a boot loader.
e) Upgrade he PC BIOS to
the latest version available.
What syslog.conf facility
represents the line printer?
a) ptr
b) linep
c) lpr
d) lprinter
Where do the binaries for
XFree86 reside in?
a) /usr/X11R6
b) /etc
c) /etc/X11
d) /X11R6
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
What switch is used with the useradd command to specify a user's
initial group?
a) -g
a) -g
b) -i
c) -u
d) -ig
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
You want to find out what
files are contained in a tar file. How would you do this?
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
What file does init processes use as its control file?
a) /etc/inittab
a) /etc/inittab
b) /etc/proc
c) /etc/init
d) /etc/initproc
What two things does the
/etc/fstab file contain references to?
a) File Systems
b) Mount Points
c) User Options
d) File System Defaults
e) File System Permissions
Identify the proper device for the third partition, on the second
hard disk, on the first IDE controller on a
PC system.
a) /dev/hdb3
b) /dev/hd1b3
c) /dev/hdc1b3
d) /dev/hdc1d2p3
What run level represents a
power down?
a) 5
b) 0
c) 1
d) 4
If you want your system to be FHS-compliant, you must ensure that
the /usr/local directory contain
(choose all that apply):
(choose all that apply):
a) bin
b) lib
c) man
d) sbin
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
Which of the following commands can be used to create a tar archive
file in verbose mode?
a) tar -v
a) tar -v
b) tar -cvf
c) tar -c
d) tar -vf
Which of the following
syslog identifiers represents the highest priority?
a) notice
b) warning
c) error
d) critical
Which command will display in reverse order a file that is
numbered from 1 to End of File?
a) cat file | nl | pr
a) cat file | nl | pr
b) cat file | nl | tac
c) C. cat file | tac | nl
d) cat file | pr -n |
reverse
e) None of the above
Which of the following commands may be used to view PCI devices
seen by the Linux kernel? (Choose two)
a) less lspci
b) less /dev/pci
c) less /proc/pci
d) less /proc/devices/pci
e) lspci | less
You want to view a listing
of previously entered commands. What command would you use?
a) hist
b) histfile
c) show buff
d) history
What syslog.conf facility represents user authentication
processes?
a) auth
a) auth
b) proc
c) user
d) login
What does the second field
in the file /etc/auto.master refer to?
a) The mount point
b) The map file to be
consulted
c) Options
d) A filesystem alias
One of the lines in the output from the command 'ls -l/home/pomes'
is: drwxrwsr-x 3 devel poms 1024 Oct 22
16:28 foo The output from the command groups bubba is: bubba : bubba poms acts
If user bubba executes the command
touch/home/poms/foo/bar, which TWO of the following must be true?
a) The group for
/home/poms/foo/bar will be poms.
b) The owner for
/home/poms/foo/bar will be devel
c) The owner for
/home/poms/foo/bar will be bubba.
d) The group for
/home/poms/foo/bar will be bubba.
e) The permissions for
/home/poms/foo/bar will allow group read
The /proc filesystem is:
a) Stored on a hard drive
b) A directory that has
files that can be modified
c) A directory that
contains information on processes
d) A virtual filesystem
Which of the following commands can be used to create a tar
archive file in verbose mode?
a) tar -v
a) tar -v
b) tar -cvf
c) tar -c
d) tar -vf
How many devices can be installed on a 16 bit SCSI excluding the
controller?
a) 8
a) 8
b) 10
c) 12
d) 16
e) 15
'smbclient' is an FTP-like file transfer program for accessing
remote Samba or Windows shares. In order
to access the share named 'files' on the remote host 'tiger', logging in
as the username 'admin',
a) smbclient //tiger/files
-U admin
b) smbclient
//admin@tiger/files
c) smbclient tiger:/files
-U admin
d) smbclient -L tiger
You need to create a symbolic link in the current user's home
directory named Rooman to the file
/data/foobar. Choose the command that will accomplish this.
/data/foobar. Choose the command that will accomplish this.
a) link .Rooman
/data/foobar
b) ln /data/foobar
$HOME/Rooman
c) ln -s /data/foobar
~/Rooman
d) file --link ./Rooman
/data/foobar
e) None of the above
In order to set the time zone to 'US/Eastern' via Kickstart, what
must be in the Kickstart configuration
file?
file?
a) tz US/Eastern
b) timezone US/Eastern
c) It is not possible to
set time zone
d) timeconfig US/Eastern
A swap partition is ______________
to correctly use Red Hat Linux.
a) REQUIRED
b) not strictly required
c) optional
d) None of the choices.
Your lead sysadmin has asked you to add a second NIC to a Linux
machine. Which of the following
commands would be best to determine which interrupts are currently in use on this machine?
commands would be best to determine which interrupts are currently in use on this machine?
a) cat /proc/ioports
b) cat /proc/interrupts
c) cat /proc/memory info
d) which interrupts
e) tail /var/log/messages
In order to install all possible packages via a Kickstart
installation, what must be in the Kickstart
configuration file under the %packages section?
configuration file under the %packages section?
a) @ All
b) @ Everything
c) @ Server
d) @ GNOME
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
What command would mount a remote NFS filesystem '/shared' on the
host 'tiger' on the local machine to the
directory /shared, using a read and write blocksize of 8192?
a) mount tiger:/shared
/shared
b) mount -o
read=8192,write=8192 tiger:/shared /shared
c) mount -o rw=8192
tiger:/shared /shared
d) mount -o
rsize=8192,wsize=8192 tiger:/shared /shared
Which of the following is true about the XF86Config file. Select
all that apply?
a) Can set the screen resolution settings
a) Can set the screen resolution settings
b) Can set the bits per
pixel (color depth) setting
c) Includes keyboard and
mouse selections
d) Includes information on
which window manager to run
e) Contains information on
where fonts are located
What is the disadvantage of
using the command kill -9 ?
a) A core dump file will be
created.
b) It affects the entire
process group.
c) It makes excessive use
of system resources.
d) The action can be
blocked by buggy or malicious processes.
e) The affected process is
unable to clean up before exiting.
In which section of the Kickstart configuration file can
post-installation commands be specified?
a) %packages
a) %packages
b) %postinstall
c) %pre
d) %post
Do changes to the inittab
file require a reboot in order to take effect?
a) Yes
b) No
As recommended by Red Hat, for most Linux users a boot partition
of 32 MBs is sufficient.
a) True
a) True
b) True only for pre-8.0
releases
c) False
d) None of the choices.
In order to set the time zone to 'US/Eastern' via Kickstart, what
must be in the Kickstart configuration
file?
file?
a) tz US/Eastern
b) timezone US/Eastern
c) It is not possible to
set time zone
d) timeconfig US/Eastern
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
What is the configuration
file for the xscreensaver?
a) xscreensaver.conf
b) xscreensaver
c) xsaver.conf
d) xdm-config
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
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
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
What environment variable
is used to remotely display another machines X session on yours?
a) DISPLAY
b) XSESSION
c) SCREEN
d) TTY
e) None of the above
After a minor security incident you are
instructed by your lead sys-admin to verify the RPM's installed on running system. Which command will create a
complete report which you can analyze for changes which may be security related?
a) .rpm-Va>report
b) rpm-Qavy > report
c) rpm-Vqt-- nomd5>report
d) rpm-check files >report
e) rpm-Va-no files > report
d) rpm-check files >report
e) rpm-Va-no files > report
You just added another supported PCI Network Interface Card (NIC)
to your PC, but are not able to
activate it in Linux. Using tools available in Linux operating systems, you notice that the NIC is not seen by the kernel. What is most likely to be the source of the problem?
activate it in Linux. Using tools available in Linux operating systems, you notice that the NIC is not seen by the kernel. What is most likely to be the source of the problem?
a) The NIC is not seen
within /proc/pci.
b) Resource conflicts are
not allowing NIC be initialized.
c) You have not made the
appropriate entries to /proc/interrupts and /proc/ioports
d) You did not turn off
"PnP OS" in the PC BIOS.
e) The NIC is conflicting
with the video adapter.
Which file contains the
default system desktop environment?
a) /etc/X11/XF86Config
b) /etc/sysconfig/desktop
c) /etc/sysctl.conf
d)
/etc/sysconfig/displaymanager
What run level represents
basic multi-user?
a) 2
b) 0
c) 1
d) 5
What DHCP server option is
used to specify the DNS server to clients?
a) domain-name-servers
b) dns
c) domain-name
d) routers
What 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 named by the environment variable TEST.
What file should you edit to exclude directories from being
indexed by the slocate command? a) /etc/slocatedb.conf
b) /etc/default/slocate
c) /etc/slocated.conf
d) /etc/updatedb.conf
e)
/etc/sysconfig/updatedb.conf
All times in the DHCP
leases file are in which time zone?
a) GMT
b) The same time zone as
the local system
c) EST
d) There are no times in
the DHCP leases file
What command would mount a remote NFS filesystem '/shared' on the
host 'tiger' on the local machine to the
directory /shared, using a read and write blocksize of 8192?
a) mount tiger:/shared
/shared
b) mount -o
read=8192,write=8192 tiger:/shared /shared
c) mount -o rw=8192
tiger:/shared /shared
d) mount -o
rsize=8192,wsize=8192 tiger:/shared /shared
Select all the ways of
exiting and saving a vi session.
a) :wq
b) :w
c) :ZZ
d) Shift ZZ
e) :x
f) :exit
You have a SCSI system with five SCSI hard disks. You add another
SCSI hard disk to your system and the
system no longer boot, nor is the boot loader loaded. What is the most likely
cause of this problem?
a) There are too many devices on the chain.
a) There are too many devices on the chain.
b) The boot disk needs a
different SCSI ID,
c) The new disk is
conflicting with the SCSI adapter.
d) The new SCSI drive is
conflicting with the IDE boot drive.
e) The new SCSI drive needs
a different SCSI ID.
A base Linux system's umask
setting should be default to:
a) 022
b) 066
c) 077
d) 211
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
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
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
'smbclient' is an FTP-like file transfer program for accessing
remote Samba or Windows shares. In order
to access the share named 'files' on the remote host 'tiger', logging in
as the username 'admin', what would be
the proper command line for using smbclient?
a) smbclient //tiger/files
-U admin
b) smbclient
//admin@tiger/files
c) smbclient tiger:/files
-U admin
d) smbclient -L tiger
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?
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
What is the most popular
file system choice?
a) ext2
b) bsdf
c) jfs
d) ext3
What run level represents
administration mode?
a) 0
b) 1
c) 6
d) 5
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
d) None of the above
What daemon controls the
syslog?
a) syslog
b) syslogd
c) logd
d) logd
What happens when ldconfig
is executed?
a) The binary index file
(cache) of library locations is rebuilt
b) The text index file of
library locations is rebuilt
c) make is run to rebuild
the libraries who's source code has changed
d) The disk is scanned for
libraries to include in the index
e) Nothing, unless the
libraries have been recompiled since ldconfig was last run
What lilo.conf parameter will cause the root file system to be
mounted read only?
a) no-write
a) no-write
b) read
c) no-right
d) read-only
How can you generate a report on disk usage and quotas for all
file systems which are defined in
/etc/mtab to be read-write with quotas.
/etc/mtab to be read-write with quotas.
a) quotarep -a
b) repquota /dev/hd*
c) repquota -a
d) quotarep /dev/hd*
How do you use dpkg to
verify the status of an installed package Roomanpkg? Select two.
a) dpkg -s Roomanpkg
b) dpkg -S Roomanpkg
c) dpkg -stat Roomanpkg
d) dpkg --stat Roomanpkg
e) dpkg --status Roomanpkg
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
What syslog.conf facility
represents the cron daemon?
a) crond
b) daemon
c) cron
d) crontab
What are the default
permissions on the Debian /etc/passwd file?
a) 644
b) 640
c) 777
d) 700
e) 400
What are the default
permissions on the Red Hat /etc/shadow file?
a) 644
b) 600
c) 400
d) 444
e) 640
Which of the following directories would be the least likely to
need backing up? Choose Two.
a) /usr
a) /usr
b) /etc
c) /home
d) /tmp
e) /swap
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
What command can be used to
show all variables?
a) set
b) varlist
c) show var
d) show
What syslog.conf facility
is used to create timestamps in log files?
a) mark
b) stamp
c) time
d) tstamp
When performing a floppy-based Kickstart installation, what is the
filename for the Kickstart
configuration file to put on the floppy?
configuration file to put on the floppy?
a) kick.cfg
b) ks.cfg
c) kix.cfg
d) kickstart.cfg
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
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
Which of the following
commands will list PCI devices?
a) lsdevices
b) lspci
c) lsdev
d) pcidev
What syslog.conf facility
represents Unix to Unix copy?
a) ucp
b) copy
c) uucp
d) uuc
You can find all of the services managed by xinetd by looking at
which of the following file or directory? a)
/etc/xinetd.d
b) /etc/inetd.conf
c) /etc/rc.d/init.d
d) /etc/xinetd.conf
Which of the following directories have to be placed on the root
partition? Choose every correct answer. a) /usr
b) /boot
c) /lib
d) /sbin
e) /dev
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?
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
Which of the following is
true about the XF86Config file. Select all that apply?
a) Can set the screen
resolution settings
b) Can set the bits per
pixel (color depth) setting
c) Includes keyboard and
mouse selections
d) Includes information on
which window manager to run
e) Contains information on
where fonts are located
Which steps are necessary to compile and install a source code
program? Choose the least amount
possible.
possible.
a) Extract source
b) edit makefile
c) /configure
d) make
e) make install
In which section of the Kickstart configuration file can
post-installation commands be specified?
a) %packages
a) %packages
b) %postinstall
c) %pre
d) %post
Sndconfig was written
originally for which Linux distribution?
a) Red Hat
b) SuSE
c) Debian
d) Corel
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
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
e) myprog 1> /dev/null
> file1.out
Is it possible to execute the post-install section of a Kickstart
configuration file with a different interpreter
other than Bash?
a) Yes
b) No
What dose the command
cd~foo do?
a) It will take you to the
~foo directory.
b) It will create the foo
directory and change to it
c) It will take you to the
home directory of the user "foo"
d) It will change the
directory to the system foo directory.
e) It will change to the
foo directory in your home directory.
Which of the following
files specifies information on what is NFS shared from your system?
a) /etc/exports
b) /etc/dfs/dfstab
c) /etc/fstab
d) /etc/sharetab
Which of the following commands would display the lines containing
capital letters form the file
"turkey.txt"?
"turkey.txt"?
a) cat turkey.txt|wc -|
b) grep -n [A-Z] turkey.txt
c) cat turkey.txt|wc -w
[A-Z]
d) grep -v [A-Z] <
turkey.txt
e) for [A-Z] in turkey.txt
| count
What is the result of the
following command? # cat 'echo "$Rooman
a) A syntax error
b) The value of $Rooman
c) cat followed by the
value of $Rooman
d) echo followed by the
value of $Rooman
e) echo followed by $Rooman
What syslog.conf facility
represents mail processes?
a) proc
b) daemon
c) mail
d) smtp
The first ethernet card on
a system is:
a) eth0
b) etho0
c) eth1
d) hme0
What option to dhcpd is used to specify a certain location for its
configuration file?
a) -cf
a) -cf
b) -c
c) -d
d) -f
Which entry in /etc/fstab will allow any user to mount and unmount
/dev/cdrom?
a) /dev/cd rom /cd ro,noauto,unhide, all iso9660 0 0
a) /dev/cd rom /cd ro,noauto,unhide, all iso9660 0 0
b) /dev/cdrom /cd iso9660
ro,noauto,nonroot 0 0
c) /dev/cdrom /cd iso9660
ro,user,noauto,unhide 0 0
d) /dev/cdrom /cd iso9660
ro,user,noauto,unhide 0 0
e) /dev/cdrom /cd iso9660
ro,noauto,defaults 0 0
You have just set up the KDE Display Manager as your default
display manager. What file should you
edit to change the default greeting?
edit to change the default greeting?
a) prefdm
b) XF86config
c) Kdmrc
d) Kdm.conf
What operation of the make
utility cannot normally be performed as a normal user?
a) mrproper
b) clean
c) dep
d) depends
e) install
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
d) kern warning console
How could you check the integrity of a non mounted filesystem
/dev/hdb7 even if it has a valid cleanflag?
Choose the best answer.
a) chkdsk /dev/hdb7 (DOS
command)
b) fsck /dev/hdb7
c) hdcheck --force
/dev/hdb7
d) fsck -f /dev/hdb7
e) fschk -f /dev/hdb7
The command for most
applications to install compiled source via the Makefile is _____.
a) Makefile install
b) Make install
c) ./install
d) install makefile
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
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
What options will allow a normal user to mount and then unmount a
file system without needing
assistance from the root user?
assistance from the root user?
a) user and users in the
/etc/fstab
b) user and users in the
/etc/default/
c) user and users in the
/etc/vfstab
d) user and users in the
/etc/mnttab
e) usrquota and grpquota in
the /etc/fstab
Which of the following best describes the order in which X Window
files are executed or read?
a) startx -> xinit -> xinitrc -> Xclients
a) startx -> xinit -> xinitrc -> Xclients
b) xinit -> startx ->
Xclients -> xinitrc
c) xinitrc -> Xclients
-> startx -> xinit
d) Xclients -> startx
-> xinitrc -> xinit
What is the most popular
file system choice?
a) ext2
b) bsdf
c) jfs
d) ext3
What is the name of the
configuration file used by the syslog daemon?
a) syslog.conf
b) syslogd
c) slog.conf
d) system.conf
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
You want to set a script to run when your Linux system reboots.
What lilo option should you use?
a) -R
a) -R
b) -S
c) -T
d) -L
Which is a valid /etc/fstab
entry
a) fs1:/proc /mnt/fs1 nfs
defaults 9 9
b) /mnt/fs1 fs1:/proc nfs
defaults 0 0
c) fs1:/home /mnt/fs1 nfs
defaults 0 0
d) /mnt/home fs1:/home nfs
defaults 0 0
e) /home:fs1 /mnt/fs1 nfs
defaults 0 0
Which of the following lines from /etc/X11/XF86Config indicates
what fonts can be found on a font
server?
server?
a) Footpath= server
b) Fonts
"unix/:7100"
c) Footpath
"unix/:7100"
d) Fonts= server
e) Font server =
"servername"
What command with switches
will display the disk utilization for all mounted file systems?
a) df
b) vmstat
c) . du
d) top
e) free
What is the
/etc/sysctl.conf file used for?
a) Making settings to /proc
be permanent across reboots
b) Providing remote
administration to the machine
c) Configuring password
settings
d) Configuring mail setup
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
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
Which pair of dpkg options
are equivalent and what do they do?
a) -C and --configure they
reconfigure an unpackaged package
b) -C and --clear-avail they erase existing information about what
packages are available c) -A and --audit they update
information about what packages are available
d) -C and --audit they provide resource consumption information on
installed packages e) -C and --audit they search for
partially installed packages
In which file are you likely to find the global setting for the
umask and ulimit?
a) /etc/profile
a) /etc/profile
b) /etc/bashrc
c) /etc/bash_profile
d) ~/.bashrc
e) ~/.bash_profile
Where do the binaries for
XFree86 reside in?
a) /usr/X11R6
b) /etc
c) /etc/X11
d) /X11R6
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
What command will show the
last 10 lines of a file by default?
a) tail
b) head
c) cat
d) prstat
e) ps
Where is the quota
information for users of volume /home stored?
a)
/etc/sysconfig/quota/quota.home.user
b)
/etc/quota/quota.home.user
c) /home/quota.home.user
d) /home/quota.user
e) /home/quota.home.group
What switch is used with the usermod command to change a user's
secondary groups?
a) -G
a) -G
b) -group
c) -d
d) -U
What option is used with the useradd command to specify the user's
home directory?
a) -d
a) -d
b) -h
c) -u
d) -a
A user named Rooman 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
What command would help you
identify the I/O address range being used by the network card?
a) cat/proc/modules
b) cat/proc/devices
c) cat/proc/meminfo
d) cat/io/dma
e) cat/proc/ioports
Which daemon will send kernel alert messages?
a) alertd
a) alertd
b) smtpd
c) krnld
d) syslogd
Which of the following
syslog identifiers represents the highest priority?
a) notice
b) warning
c) error
d) critical
Samba is used for:
a) Sharing resources from a
Linux machine to a Windows machine
b) Accessing resources from a Windows machine, for example
mounting an SMB share on a Linux
machine
machine
c) Perform password
administration.
d) Configure NFS shares.
To build a fresh new Linux system, how much free space should you
reserve for the Linux partition?
a) 100 - 200MB
a) 100 - 200MB
b) 200 - 300MB
c) 300 - 400MB
d) 700 - 800MB
Which of the following file system types causes the least impact
when upgrading an Ext2 file system?
a) Ext3
a) Ext3
b) ReiserFS
c) JFS
d) XFS
e) VFS
Before you start creating directories on a newly created file
system, what should you do?
a) check the base system's umask setting
a) check the base system's umask setting
b) check the base system's
CMOS setting
c) check the base system's
init stage setting
d) check the base system's
process ID setting
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
What dose the command
cd~foo do?
a) It will take you to the
~foo directory.
b) It will create the foo
directory and change to it
c) It will take you to the
home directory of the user "foo"
d) It will change the
directory to the system foo directory.
e) It will change to the
foo directory in your home directory.
What run level represents
administration mode?
a) 0
b) 1
c) 6
d) 5
Which of the following
commands would restart the autofs service?
a) service autofs restart
b) /etc/rc.d/init.d/autofs
restart
c) service autofs reload
d) service autofs status
When partitioning a disk with more than 1024 cylinders, which of
the following could affect the systems
ability to boot?
a) Location of LILO on disk
b) Location of /boot on
disk
c) Location /var on disk
d) Disk transfer rate
e) Disk seek time
TCP Wrappers utilizes which
of the following files?
a) /etc/hosts.allow
b) /etc/hosts.deny
c) /etc/hosts
d) /etc/securetty
You are the system administrator for a small consulting company.
One of your consultants recently
installed Linux on a system in order to prepare for a project. What he performed the installation, he chose several different screen sizes (604x480, 800x600, 1024x768). However, when he starts the system, it
always goes into 640x480 first, and he must manually toggle to get to the higher resolution. He would
installed Linux on a system in order to prepare for a project. What he performed the installation, he chose several different screen sizes (604x480, 800x600, 1024x768). However, when he starts the system, it
always goes into 640x480 first, and he must manually toggle to get to the higher resolution. He would
like to change the setup so that he enters X at the higher
resolution first. If you were to change this setting manually, which file would you edit?
a) xinit
b) xinitrc
c) XF86Setup
d) XF86Setup
e) XF86Config
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
What run level represents
administration mode?
a) 0
b) 1
c) 6
d) 5
What command will tell you
the color depth of your display?
a) xwininfo
b) xvidtune
c) xcd
d) xcdepth
e) xvidepth
What is the main
configuration file for XFree86 version 4?
a) /etc/X11/XF86Config
b) /etc/X11/XF86Config-4
c) /usr/X11R6/bin/XFree86
d) XF86_SVGA
Which of the following commands would display the lines containing
capital letters form the file
"turkey.txt"?
"turkey.txt"?
a) cat turkey.txt|wc -|
b) grep -n [A-Z] turkey.txt
c) cat turkey.txt|wc -w
[A-Z]
d) grep -v [A-Z] <
turkey.txt
e) for [A-Z] in turkey.txt
| count
Why is it not recommended
to use DNS names in the Apache configuration file?
a) Apache startup could
misconfigure virtual hosts if DNS is unavailable
b) DNS is very slow
c) DNS is not supported
d) Apache cannot perform
DNS lookups
How can you generate a report on the disk usage and quotas for all
file system which re defined in
.etc/mtab to be read-write with quotas?
.etc/mtab to be read-write with quotas?
a) quotarep -a
b) repquota /dev/hd*
c) repquota -a
d) quotarep /dev/hd*
If 'linux ks' was used as a boot argument for a Kickstart
installation, the system will use DHCP to
configure the network device and possibly retrieve the location of the Kickstart configuration file via the DHCP settings. If there was no bootfile specified by your DHCP server, what file will the installation
program look for? Note that in all answers below, IP is replaced with the IP address of the machine being installed.
configure the network device and possibly retrieve the location of the Kickstart configuration file via the DHCP settings. If there was no bootfile specified by your DHCP server, what file will the installation
program look for? Note that in all answers below, IP is replaced with the IP address of the machine being installed.
a) /IP-kickstart
b) /kickstart/IP-ks.cfg
c) /kickstart/IP-kickstart
d) /IP-ks.cfg
The configuration file for the OpenSSH server is:
a) /etc/ssh/sshd_config
a) /etc/ssh/sshd_config
b) /etc/sshd_config
c) /etc/ssh_ssh_config
d) /etc/ssh_config
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
c) The program requires
more input
d) The program has returned
standard input
e) The program terminated
with a syntax error
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
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
What syslog.conf facility
represents login processes?
a) proc
b) login
c) user
d) auth
Where does Apache log
messages to?
a)
/var/log/httpd/access_log
b) /var/log/httpd/error_log
c) /var/log/access_log
d) /var/log/error_log
What syslog.conf facility
represents httpd processes?
a) http
b) daemon
c) smtp
d) proc
For a personal desktop configuration, installing both the GNOME
and KDE desktop environments
requires how many GB of free disk space at the least?
requires how many GB of free disk space at the least?
a) 1
b) 1.2
c) 2
d) 2.8
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
e) install
Which IRQ is normally
dedicated to the second printer port on a PC?
a) LPT1
b) LPT2
c) IRQ5
d) IRQ11
e) DMA 330
What is the difference
between the 'required' and 'requisite' PAM control flags?
a) When a 'requisite' module check fails, the user is notified
immediately as opposed to after all module
checks.
checks.
b) When a 'required' module check fails, the user is notified
immediate y as opposed to after all module
checks.
checks.
c) They are equivalent
d) When a 'requisite'
module check fails, the failure is ignored
Which command would you use to set the speed of a serial interface?
Choose the best answer.
a) setbaud
a) setbaud
b) setspeed
c) setserial
d) setcom
e) set_comport
Your unmask is set to 002. If you create a new file, what will the
permission of the new file be?
a) ?rw-rw-r--
a) ?rw-rw-r--
b) rwxrwx-w-
c) ------w-
d) rwxrwxr-x
Which lilo.conf parameter will specify the amount of time the
system will wait before booting to the
default image?
default image?
a) wait
b) delay
c) pause
d) default
You are installing a program that is only available as source
code. Which of the following commands
would be best to add system specific configuration information such as the default installation directory? a) ./make
would be best to add system specific configuration information such as the default installation directory? a) ./make
b) ./install
c) ./makefile
d) ./configure
One of the lines in the output from the command 'ls -l/home/pomes'
is: drwxrwsr-x 3 devel poms 1024 Oct 22
16:28 foo The output from the command groups bubba is: bubba : bubba poms acts
If user bubba executes the command
touch/home/poms/foo/bar, which TWO of the following must be true?
a) The group for
/home/poms/foo/bar will be poms.
b) The owner for
/home/poms/foo/bar will be devel
c) The owner for
/home/poms/foo/bar will be bubba.
d) The group for
/home/poms/foo/bar will be bubba.
e) The permissions for
/home/poms/foo/bar will allow group read
You have just set up the Gnome Display Manager as your default
display manager. What file should you
edit to change the default greeting for it?
a) /etc/X11/prefdm
b) /etc/X11/XF86Config
c) /etc/X11/gdm.conf
d)
/etc/X11/gdm/lnit/Default
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) C. 128MB
d) 64MB
e) 32MB
Which of the following switches can be used with the tar command
to find out the difference between
two tar files?
two tar files?
a) -c
b) -v
c) -d
d) -t
How do you use dpkg to
verify the status of an installed package Roomanpkg? Select two.
a) dpkg -s Roomanpkg
b) dpkg -S Roomanpkg
c) dpkg -stat Roomanpkg
d) dpkg --stat Roomanpkg
e) dpkg --status Roomanpkg
You have the following file: -rwxrwxr-x 1 foo root 0 Feb 23 07:48
/bin/foo Which of the following
commands will change the owner of the file /bin/foo from the foo user to the bar user without affecting group ownership?
commands will change the owner of the file /bin/foo from the foo user to the bar user without affecting group ownership?
a) chown /bin/foo bar
b) chown bar /bin/foo
c) chown bar.foo /bin/foo
d) chown.foo.bar /bin/foo
Your system allows only two serial ports to be active. You want to
setup an internal ISA modem.
Currently the serial port 1 is used by a mouse. What should you do?
Currently the serial port 1 is used by a mouse. What should you do?
a) disable the second
serial port in the BIOS and set the modem up to take its place.
b) enable the second serial
port in the BIOS and set the modem up without a port.
c) disable the second
serial port in the BIOS and set the modem up to run as port 3.
d) None of the choices.
Which command will output the exit status of the previous command
(a 1 or a 0)?
a) echo $?
a) echo $?
b) echo $1
c) echo $EXIT
d) exit status
Which of the following
syslog identifiers represents the highest priority?
a) notice
b) warning
c) error
d) critical
You want to find out what files are contained in a tar file. How
would you do this?
a) Use the tar command with the -t switch
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
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
Which of the following is
the ppp configuration file?
a) /etc/ppp/peers/provider
b) /etc/ppp/ provider
c) /etc/peers/ppp
d) /ppp/peers/provider
You want to save vi changes to the file myfile with :w!, but vi
complains it can not write to the file.
Therefore, you want to check the write permissions on the file. To do this without leaving vi, you type:
Therefore, you want to check the write permissions on the file. To do this without leaving vi, you type:
a) :!ls -l myfile
b) :ls -l myfile
c) esc :ls -l myfile
d) :?ls -l myfile
Which of the following
commands will list PCI devices?
a) lsdevices
b) lspci
c) lsdev
d) pcidev
What entry in the X configuration file specifies where the fonts
are located for the X system?
a) Fonts
a) Fonts
b) Files
c) Font path
d) Devices
What will the command
"cd ~Rooman do?
a) Changes directory to the
user Rooman's home directory
b) Changes to a directory named Rooman in the current user's home
directory
c) Changes to directory /etc/Rooman
c) Changes to directory /etc/Rooman
d) Produces a syntax error
e) None of the above
Which daemon will send
kernel alert messages?
a) alertd
b) smtpd
c) krnld
d) syslogd
What is the result of the
following command? # cat 'echo "$Rooman
a) A syntax error
b) The value of $Rooman
c) cat followed by the
value of $Rooman
d) echo followed by the
value of $Rooman
e) echo followed by $Rooman
On a new Linux installation, the partition mounted on where
contains the operating system kernel? a) /boot
b) /dev
c) /kernel
d) /bin
What are the default permissions on the Red Hat /etc/shadow file?
a) 644
a) 644
b) 600
c) 400
d) 444
e) 640
No comments:
Post a Comment
Dear visitor,
Please do not post spam. All comments will be moderated before approval.