Last Updated on February 26, 2022 by Admin 2

050-720 : SUSE Certified Linux Administrator 11 : Part 02

  1. You want to delete all data on the second hard drive (/dev/hdb). Which command accomplishes this?

    • rm /dev/hdb
    • dd if=/dev/zero of=/dev/hdb bs=100k
    • dd of=/dev/zero if=/dev/hdb bs=100k
    • dd if=/dev/zero of=/dev/hdb count=1 bs=1024
  2. Using the nice command, what is the highest priority root can assign to a process?

    • -20
    • -19
    • 0
    • 19
    • 20
    • 99
  3. What action does the jobs command perform?

    • Lists all scheduled cron jobs
    • Lists all mail items in the mail queue
    • Lists the content of the shell’s job control
    • Lists all print jobs in the print queue.
  4. You want to disable the network device eth0. Which command can you use?

    • ifconfig halt eth0
    • ipconfig eth0 halt
    • ip link set eth0 down
    • ip param set eth0 halt
  5. 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?

    • bash_history
    • .bash_history
    • ?bash_history
    • $bash_history
  6. While in insert mode, how do you save a file and close vi?

    • Press Esc and :q
    • Press Esc and :w
    • Press Esc and :wq
    • Press Esc and :zz
  7. You created a script (/root/bin/backup.sh) that backs up your files when executed. Using cron, you want to execute this script once every Saturday at 3:00 pm. Which line would you have to enter after invoking crontab – e in a terminal window?

    • 15 0 * * 6 /root/bin/backup.sh
    • 0 15 * * 6 /root/bin/backup.sh
    • 0 15 * 6 * /root/bin/backup.sh
    • 15 0 * * 6 root /root/bin/backup.sh
  8. Which command can be used to view the inode assigned to a filename?

    • ls -i
    • fsck -h -i
    • inode –list
    • cat /proc/inodes
  9. 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?

    • rpm -i ethereal
    • yast -i ethereal
    • yast -l ethereal
    • rpm -U ethereal
  10. Which statement about the Set User ID bit on executable files is correct?

    • The SUID bit has no security implications.
    • The SUID bit on executables has no effect; it is only relevant when set on directories.
    • The SUID bit makes it more difficult to exploit any potential vulnerabilities in the program.
    • The SUID should only be set when really needed and only on applications that are well tested.
  11. Which statement about a differential backup is correct?

    • The use of differential backups is limited to backups on tape roboters.
    • To restore a differential backup, you need the last differential backup only.
    • To restore a differential backup, you need the last full backup and the last differential backup that was made since the last full backup.
    • The amount of data that needs to be backed up with each differential backup depends only on the amount of data changed since the last differential backup.
  12. 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?

    • rpm -f hugin-0.6.1-2.2.i586.rpm
    • rpm -qpf hugin-0.6.1-2.2.i586.rpm
    • rpm -qpl hugin-0.6.1-2.2.i586.rpm
    • rpm –provides hugin-0.6.1-2.2.i586.rpm
  13. 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.)

    • man a crontab
    • whatis crontab
    • man -k crontab
    • man –next crontab
    • man –showall crontab
  14. 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?

    • passwd cupsadmin
    • lppasswd cupsadmin
    • passwd –cups cupsadmin
    • lppasswd -a cupsadmin -g sys
  15. Why are the noauto and users options used with /etc/fstab?

    • A normal user is not allowed to access this partition.
    • They allow any user to mount and unmount a partition.
    • They specify the partitions that are bootable by a user.
    • They specify the partitions that are not bootable by a user.
  16. In a terminal window, your current working directory is /home/geeko. You want to change to the /tmp directory. Which command will make the desired change of directories? (Choose 2.)

    • cd tmp
    • cd /tmp
    • cd ./tmp
    • cwd /tmp
    • cd ../tmp
    • cd ../../tmp
  17. You entered the following as a boot option in the GRUB boot screen: nit=/bin/bash What does the option mean?

    • The bash is used as the default shell.
    • Linux starts without a graphical environment.
    • The system is started directly in a bash shell. You are automatically logged in as root without being asked for a password.
    • The system is started directly in a bash shell. You are automatically logged in as default user without being asked for a password.
    • The system is started directly in a bash shell. You are automatically asked for the root password before you are logged in as root.
    • The system is started directly in a bash shell. You are automatically asked for the default user’s password before you are logged in.
  18. You have a /tmp/data directory containing the files .file, file1, and file2. You want to copy the file1 and file2 files only to the /data-old directory that already exists. In a terminal window, which command acomplishes this?

    • cp /tmp/data /data-old
    • cp /tmp/data/. /data-old
    • cp /tmp/data/* /data-old
    • cp /tmp/data/? /data-old
  19. Which command displays cpu and input/output statistics for devices and partitions?

    • siga
    • sitar
    • fdisk
    • lspci
    • iostat
    • hwinfo
    • hdparm
  20. 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?

    • ~/.bashrc
    • ~/.lpoptions
    • /etc/cups/lpoptions
    • /etc/sysconfig/cups