You are on page 1of 13

QUESTION 2 Which statements about partitions are correct? (Choose 3.) A.

Extended partitions can be subdivided into logical partitions. B. A primary partition consists of a continuous range of cylinders. C. Logical partitions do not require entries in the main partition table. D. If you use only primary partitions, you are limited to eight partitions per disk. E. SUSE Linux Enterprise Server 10 can only be installed on a primary partition. F. To install more than one operating system on a partition, the partition has to include the entire cylinder range. Answer: ABC QUESTION 3 You want to copy the master boot record, the partition table, and the 2 magic bytes at the beginning of /dev/hda to a file so you can restore it later. Which command accomplishes this? A. dd if=/dev/hda of=mbr bs=512 count=1 B. dd if=mbr of=/dev/hda bs=512 count=1 C. dd of=/dev/zero if=/dev/hda bs=512 count=1 D. dd if=/dev/urandom of=/dev/hda bs=512 count=1 Answer: A QUESTION 7 After the partitions are checked and the root file system is mounted, the /sbin/init command is executed. Which process ID is assigned to /sbin/init? A. 0 B. 1 C. 3 D. 100 E. 1000 F. Depends Answer: B QUESTION 8 When you connect to an ssh server with your ssh client, the public key of the server is compared to the keys stored in a file on the client computer. Which file is this? A. ~/.ssh/id_dsa.pub B. ~/.ssh/id_rsa.pub C. ~/.ssh/known_hosts D. ~/.ssh/authorized_keys Answer: C QUESTION 9 You want to install the xyz-software-1.2.3-5.i586.rpm package, but only if a previous version is already installed. Which command will do this? A. rpm -ivh xyz-software-1.2.3-5.i586.rpm B. rpm -evh xyz-software-1.2.3-5.i586.rpm C. rpm -Fvh xyz-software-1.2.3-5.i586.rpm D. rpm -Uvh xyz-software-1.2.3-5.i586.rpm Answer: C QUESTION 10 Which commands can be used if you do not find the desired information in a manual page, or find no manual page at all for a program? A. sos program B. info program C. help program D. wiki program Answer: B

QUESTION 12 What is the difference between the /dev/st0 and /dev/nst0 devices? A. /dev/st0 is the first SCSI CD burner; /dev/nst0 refers to the CDROM drive. B. /dev/st0 is the first tape drive; /dev/nst0 refers to the same tape drive in non-rewinding mode. C. /dev/st0 is the first serial console; /dev/nst0 refers to the same serial console as a block device. D. /dev/st0 is the first SCSI hard drive; /dev/nst0 refers to the same SCSI hard drive in read-only mode. Answer: B QUESTION 14 From the command line, which command would you use to print the document.ps file on the laser printer? A. lp -d laser document.ps B. lpr -p laser document.ps C. lpq -p laser document.ps D. print -p laser document.ps Answer: A QUESTION 15 You want to find out if files from the wget package were altered since they were installed. Which command will give you this information? A. rpm -V wget B. rpm -v wget C. rpm -F wget D. rpm -qf wget Answer: A QUESTION 16 In which file is the name resolution configured? A. /etc/dns.conf B. /etc/resolv.conf C. /etc/HOSTNAME D. /etc/nameservers E. /etc/sysconfig/network/dns Answer: B QUESTION 17 Which command can you use to set up limits for failed logins? A. w B. who C. last D. faillog E. lastlog Answer: D QUESTION 18 Which file system type supports ACLs without a special mount option? A. ext2 B. ext3 C. XFS D. ReiserFS Answer: C QUESTION 19 Which statement about the /sbin/ldconfig command is correct? A. The ldconfig command is used to link directories. B. The ldconfig command is used to configure an LDAP connection. C. The ldconfig command is used to update the software library cache. D. The ldconfig command is used to show dynamic libraries needed by a program. Answer: C

QUESTION 20 Which command displays information about your hard drive and lets you manage certain hard drive parameters? A. siga B. sitar C. fdisk D. lspci E. iostat F. hwinfo G. hdparm Answer: G QUESTION 25 You want to add user tux to the southpole group without changing his primary group membership. Which command do you use for this purpose? A. useradd -g southpole tux B. usermod -g southpole tux C. groupadd -A tux southpole D. groupmod -A tux southpole Answer: D QUESTION 26 Which file contains information about which user was last logged in, where the user logged in, and how long the user was logged in? A. /var/log/login B. /var/log/lastlog C. /var/log/access D. /var/log/messages E. There is no log file containing this information Answer: B QUESTION 28 While the printers seem physically okay, you are encountering problems with CUPS. What is the best place to start looking for hints on what is wrong? A. In the output of dmesg B. In the /var/log/boot.msg file C. In the /var/log/messages file D. In the /var/log/cups/error_log file Answer: D QUESTION 30 You have a text file that contains empty lines. Using grep and regular expressions, which command displays the file without the empty lines? A. grep ^$ file B. grep [\ ] file C. grep -v ^$ file D. grep -v #$ file Answer: C QUESTION 33 What is the name of the file containing the initramfs? A. / B. /boot/initrd C. /boot/ramfs D. /sbin/vmram E. /boot/vmram F. /sbin/linuxramfs Answer: B

QUESTION 35 You want to secure a POP3 connection to a server that does not support SSL. While you do not have ssh access to the POP3 server itself, you at least have SSH access to a server near the POP3 server. Given the following information: POP3 server: pop3.digitalairlines.com SSH server: ssh.digitalairlines.com Your host: da10.digitalairlines.com POP3 port: 110 Local port: 11110 Which command will forward connections from the local port 11110 to port 110 of the POP3 server, using a secure tunnel between your host and the SSH server? A. ssh -L 11110:ssh.digitalairlines.com:110 geeko@pop3.digitalairlines.com B. ssh -L 110:ssh.digitalairlines.com:11110 geeko@pop3.digitalairlines.com C. ssh -L 11110:pop3.digitalairlines.com:110 geeko@ssh.digitalairlines.com D. ssh -L 110:pop3.digitalairlines.com:11110 geeko@ssh.digitalairlines.com Answer: C QUESTION 37 Which statements about the Linux boot process are correct? (Choose 3.) A. The BIOS starts the kernel. B. The initrd decompresses itself. C. The kernel looks for and mounts the initrd. D. The boot manager starts the init process. E. linuxrc loads the modules to mount the root file system. F. The boot manager loads the kernel and initrd into the memory. Answer: CEF QUESTION 39 The GRUB configuration file (/boot/grub/menu.lst) has a global section followed by sections for each operating system. Which options do you have to specify for each Linux operating system? (Choose 3.) A. title B. color C. initrd D. kernel E. timeout F. gfxmenu G. message Answer: ACD QUESTION 40 You want to use the ip command to set a new address for your network device eth0. It is a standard class C network. The broadcast address and network route should be set accordingly. Which command is correct? A. ip address set 192.168.0.10/24 dev eth0 B. ip address add 192.168.0.10/24 dev eth0 C. ip addr add 192.168.0.10/24 dev eth0 brd + D. ip addr add eth0 192.168.0.10/24 eth0 broadcast 192.168.255.255 Answer: C QUESTION 41 Which command can you use to generate an MD5-encrypted password for GRUB? A. genkey --md5 B. grubpass -md5 C. grub-md5-crypt D. passwd -c --md5 Answer: C

QUESTION 42 The /backup/snapshot was changed to the /backup/backup_monday.tgz archive. Which command will now write new or modified files below /home? A. tar -czf -g /backup/snapshot /backup/backup_monday.tgz /home B. tar -tz -g /backup/snapshot -f /backup/backup_monday.tgz /home C. tar -cz -g /backup/snapshot -f /backup/backup_monday.tgz /home D. tar -cz -newer /backup/snapshot -f /backup/backup_monday.tgz /home Answer: C QUESTION 48 How large is an inode? A. 256 bits B. 64 Kbytes C. 128 bytes D. 1 Mbyte Answer: C QUESTION 50 In a terminal window, which command displays the name of the directory you are currently in? A. dir B. pwd C. where D. current-dir Answer: B QUESTION 52 Where can you set global shell environment variables for all users independent of their shell? A. /etc/profile B. /etc/profile.all C. /etc/bash.local D. /etc/bash.bashrc Answer: A QUESTION 55 You want to redirect both output and error messages of the find command to the find-output file. Which command accomplishes this task? A. find /etc -name "*conf" 2>&find-output B. find /etc -name "*conf" 2<&1 > find-output C. find /etc -name "*conf" > find-output 2>&1 D. find /etc -name "*conf" > find-output 2>find-output Answer: C QUESTION 57 Within less, how do you search for a string downwards from where the cursor is positioned? A. \string B. ?string C. /string D. =string Answer: C QUESTION 59 Which are journaling file systems? (Choose 3.) A. XFS B. ext2 C. ext3 D. VFAT E. minix F. VFAT32 G. ReiserFS Answer: ACG

QUESTION 60 What is the type command used for? A. type is used to print text to a teletypewriter. B. type displays the type of terminal (tty1, tty2) you are logged in to. C. type determines the type of a command (shell builtin, alias, file on hard disk). D. type is used to determine the type of processor used (32-bit, 64-bit, Power). Answer: C QUESTION 61 What is the correct order of steps to change the partition table using fdisk? A. You can't use fdisk to change a partition table. B. Start fdisk > Change the partition table > Write the partition table to hard disk > Exit fdisk > Reboot. C. Start fdisk > Change the partition table > Write the partition table to hard disk > Exit fdisk > Load the partition table from the boot prompt. D. Start fdisk > Change the partition table > Write the partition table to floppy disk or USB stick > Exit fdisk > Boot from floppy disk or USB stick. Answer: B QUESTION 64 Which statement about a CUPS Using Broadcasting configuration is correct? A. Only local printing is possible. B. You can print to both local and network printers. C. Only one queue on one print server can be used for printing. D. All queues on only one CUPS server are available for printing. Answer: B QUESTION 65 As system administrator root, you use the lpoptions command to change printer options, such as the page size. To which file are these options saved? A. ~/.bashrc B. ~/.lpoptions C. /etc/cups/lpoptions D. /etc/sysconfig/cups Answer: C QUESTION 66 You want to delete a certain print job from the laser print queue. Using the lpq command, you determined the job number of this job as 1234. Which command lets you delete that job? A. lpr -P laser 1234 B. lprm -P laser 1234 C. lpremove -P laser 1234 D. lpadmin -d laser -r 1234 Answer: B QUESTION 68 What action does the jobs command perform? A. Lists all scheduled cron jobs B. Lists all mail items in the mail queue C. Lists the content of the shell's job control D. Lists all print jobs in the print queue. Answer: C

QUESTION 69 Using the nice command, what is the highest priority root can assign to a process? A. -20 B. -19 C. 0 D. 19 E. 20 F. 99 Answer: A QUESTION 70 To preserve the command history even when the shell is closed, the history is written to a file in the user's home directory. Which file holds the history information of the bash shell? A. bash_history B. .bash_history C. ?bash_history D. $bash_history Answer: B QUESTION 71 You want to disable the network device eth0. Which command can you use? A. ifconfig halt eth0 B. ipconfig eth0 halt C. ip link set eth0 down D. ip param set eth0 halt Answer: C QUESTION 72 You wonder which installed RPM package the /etc/exports file belongs to. Which command will give you the desired information? A. rpm -f /etc/exports B. rpm -qf /etc/exports C. rpm -ql /etc/exports D. rpm --provides /etc/exports Answer: B QUESTION 73 Which is the main configuration file for logrotate? A. /etc/logrotate B. /etc/logr.conf C. /etc/cron/logrotate D. /etc/logrotate.conf Answer: D QUESTION 74 You want to delete all data on the second hard drive (/dev/hdb). Which command accomplishes this? A. rm /dev/hdb B. dd if=/dev/zero of=/dev/hdb bs=100k C. dd of=/dev/zero if=/dev/hdb bs=100k D. dd if=/dev/zero of=/dev/hdb count=1 bs=1024 Answer: B QUESTION 77 Which statement about the Set User ID bit on executable files is correct? A. The SUID bit has no security implications. B. The SUID bit on executables has no effect; it is only relevant when set on directories. C. The SUID bit makes it more difficult to exploit any potential vulnerabilities in the program. D. The SUID should only be set when really needed and only on applications that are well tested. Answer: D

QUESTION 78 You are viewing the manual page of crontab, but it does not contain the information you are looking for. You suspect there is another crontab manual page. Which command could you use to find out if another crontab manual page exists? (Choose 2.) A. man a crontab B. whatis crontab C. man -k crontab D. man --next crontab E. man --showall crontab Answer: BC QUESTION 79 You want to know which files are contained in the hugin-0.6.1-2.2.i586.rpm RPM package, which has not yet been installed. Which command will give you this information? A. rpm -f hugin-0.6.1-2.2.i586.rpm B. rpm -qpf hugin-0.6.1-2.2.i586.rpm C. rpm -qpl hugin-0.6.1-2.2.i586.rpm D. rpm --provides hugin-0.6.1-2.2.i586.rpm Answer: C QUESTION 82 You want to install the ethereal RPM package that is available on the SUSE Linux Enterprise Server 10 installation media. Which command installs the ethereal package, and resolves dependencies as needed? A. rpm -i ethereal B. yast -i ethereal C. yast -l ethereal D. rpm -U ethereal Answer: B QUESTION 83 Which command can be used to view the inode assigned to a filename? A. ls -i B. fsck -h -i C. inode --list D. cat /proc/inodes Answer: A QUESTION 86 You want to boot your system to runlevel 3. Which option do you have to enter at the GRUB boot manager dialog? A. 3 B. init=3 C. boot=3 D. runlevel=3 Answer: A QUESTION 87 You would like to run command1 and then command2, whether or not command1 completed successfully. Which command accomplishes this task? A. command1 | command2 B. command1 ; command2 C. command1 > command2 D. command1 & command2 Answer: B

QUESTION 88 You want to find out which jobs are currently queued in the laser print queue on your CUPS print server. Which command displays the information you need? A. lpstat -t B. lp -P laser C. lpq -P laser D. lpadmin -P laser Answer: C QUESTION 90 You want to view the status (locked, valid password, etc.) of the account tux. Which command displays the desired information? A. passwd -L tux B. passwd -v tux C. passwd -p tux D. passwd -S tux Answer: D QUESTION 91 In which file are global configurations for users who use bash as their login shell set? A. /etc/bashrc B. /etc/bash.cf C. /etc/bash.conf D. /etc/bash.bashrc Answer: D QUESTION 93 Which file contains the configuration information of the print queues available on your CUPS server? A. The /etc/printcap file B. The /etc/sysconfig/cups file C. The /etc/cups/cups.conf file D. The /etc/cups/printers.conf file Answer: D QUESTION 95 Routes to the directly connected network are automatically set up when a device is started. All other routes are saved in which configuration file? A. /etc/route B. /etc/routes C. /etc/routes.conf D. /etc/network/routes E. /etc/sysconfig/routes F. /etc/sysconfig/network/routes Answer: F QUESTION 96 What information do you need to set up an LDAP client? (Choose 4.) A. LDAP version B. LDAP base DN C. Kind of encryption D. Synchronization frequency E. Address of the LDAP server F. File name of the LDAP database Answer: ABCE QUESTION 98 What is the purpose of the ssh-agent command? A. ssh-agent is a program that helps configure the ssh daemon. B. ssh-agent is used to fetch public keys from machines within your network. C. ssh-agent is used to avoid typing the passphrase for your key on each login. D. ssh-agent is a program that checks for machines in the network that have an ssh daemon running. Answer: C

QUESTION 99 Using the nice command, what is the highest priority a normal user can assign to a process? A. -20 B. -19 C. 0 D. 19 E. 20 F. 99 Answer: C QUESTION 100 Which command can you use to create a Reiser file system on the sda6 partition? (Choose 2.) A. mkreiserfs /dev/sda6 B. fdisk.reiserfs /dev/sda6 C. make.reiserfs /dev/sda6 D. fdisk -t reiserfs /dev/sda6 E. mkfs -t reiserfs /dev/sda6 Answer: AE QUESTION 101 You have limited access to the /admin directory of the web interface of your CUPS server with the following statement in /etc/cups/cupsd.conf: <Location /admin> AuthType BasicDigest AuthClass Group AuthGroupName sys Order Deny,Allow Deny From All Allow From 127.0.0.1 </Location> To allow the cupsadmin user to access the /admin directory when connecting from localhost, how do you create the cupsadmin user and set his password? A. passwd cupsadmin B. lppasswd cupsadmin C. passwd --cups cupsadmin D. lppasswd -a cupsadmin -g sys Answer: D QUESTION 103 How do you activate an ACL when mounting a file system manually? A. mount --acl /dev/hda5 /data B. mount -f acl /dev/hda5 /data C. mount -o acl /dev/hda5 /data D. mount --use-acl /dev/hda5 /data Answer: C QUESTION 108 Which options are PAM module types that can be used in a PAM configuration file? (Choose 4.) A. key B. auth C. card D. account E. session F. password Answer: BDEF

QUESTION 109 Which command shows you the default shell of a user? A. w user B. id user C. who user D. finger user Answer: D QUESTION 110 Suppose you change from your current runlevel 5 to the new runlevel 3. Which statement is correct? A. Nothing will happen at all. B. If there is a K* link for a certain service in /etc/init.d/rc5.d/ but no corresponding S* link I /etc/init.d/rc3.d/, nothing will happen. C. If there is no K* link for a certain service in /etc/init.d/rc5.d/ but there is an S* link in /etc/init.d/rc3.d/, the service is started. D. If there is a K* link for a certain service in /etc/init.d/rc5.d/ and there is an S* link in /etc/init.d/rc3.d/, the service is stopped and started again. Answer: C QUESTION 112 You have a file named file1 and you want to create a symbolic link named link-to-file1 to the file. In a terminal window, which command accomplishes what you want? (Choose 2.) A. ln file link-to-file1 B. ln link-to-file1 file1 C. ln -s file1 link-to-file1 D. ln -s link-to-file1 file1 E. cp -s file1 link-to-file1 F. mv -s file1 link-to-file1 Answer: CE QUESTION 114 The useradd command is used to create new users. Which file contains information on the primary group, shell, and other parameters to be used by useradd when not specified on the command line? A. /etc/profile B. /etc/passwd C. /etc/shadow D. /etc/default/useradd Answer: D QUESTION 116 As root, you entered the runlevel command. What does the following output indicate? N 5 A. You are in runlevel 5. A previous runlevel is not available. B. You are in runlevel 5. A previous runlevel was 3 (network). C. You are in runlevel 3 (network). The system is changing now to runlevel 5. D. You are currently in no runlevel. The system is changing now to runlevel 5. Answer: A QUESTION 118 You can schedule jobs to be executed by cron in several ways. Which directories are used for scripts that are to be executed at regular intervals? (Choose 2.) A. /etc/cron.d/ B. /etc/crontabs/ C. /etc/cron.daily/ D. /var/spool/cron/tabs/ Answer: AC

QUESTION 119 As a normal user, such as geeko, you use the lpoptions command to change printer options, such as the page size. To which file are these options saved? A. ~/.bashrc B. ~/.lpoptions C. /etc/cups/lpoptions D. /etc/sysconfig/cups Answer: B QUESTION 120 Which command displays cpu and input/output statistics for devices and partitions? A. siga B. sitar C. fdisk D. lspci E. iostat F. hwinfo G. hdparm Answer: E QUESTION 124 Why are the noauto and users options used with /etc/fstab? A. A normal user is not allowed to access this partition. B. They allow any user to mount and unmount a partition. C. They specify the partitions that are bootable by a user. D. They specify the partitions that are not bootable by a user. Answer: B QUESTION 126 You entered the following as a boot option in the GRUB boot screen: nit=/bin/bash What does the option mean? A. The bash is used as the default shell. B. Linux starts without a graphical environment. C. The system is started directly in a bash shell. You are automatically logged in as root without being asked for a password. D. The system is started directly in a bash shell. You are automatically logged in as default user without being asked for a password. E. The system is started directly in a bash shell. You are automatically asked for the root password before you are logged in as root. F. The system is started directly in a bash shell. You are automatically asked for the default user's password before you are logged in. Answer: C QUESTION 129 To which process does the process ID 1 always belong? A. init B. boot C. cron D. X server E. kernel (vmlinuz) Answer: A

QUESTION 130 Which command would you use to start the xeyes program in the background? A. xeyes & B. xeyes && C. bg | xeyes D. xeyes -bg E. xeyes | bg F. xeyes > bg Answer: A QUESTION 132 Which command can you use to check an ext2/ext3 file system for a correct superblock, faulty data blocks, or faulty allocation of data blocks? A. df B. du C. fdisk D. e2fsck E. reiserfsck Answer: D QUESTION 133 Which statements about the LVM components are correct? (Choose 2.) A. A volume group is part of a logical volume. B. Logical volumes are grouped in a master group. C. A volume group always consists of one physical volume. D. A physical volume can be a partition or an entire hard disk. E. A volume group can be reduced in size by removing physical volumes. F. The operating system accesses the volume groups like conventional physical partitions. Answer: DE QUESTION 134 When SUSE Linux Enterprise Server 10 starts, some boot messages scroll by on the screen quickly. What is the name of the file in /var/log/ where these messages are stored? Answer: /var/log/boot.msg

You might also like