Certified Linux Administrator 11 v2

Beschreibung

Examen de certificaciòn SLES 11 Administrator
Giovanni Gonzalez Moreno
Quiz von Giovanni Gonzalez Moreno, aktualisiert more than 1 year ago
Giovanni Gonzalez Moreno
Erstellt von Giovanni Gonzalez Moreno vor fast 10 Jahre
57
0

Zusammenfassung der Ressource

Frage 1

Frage
You want to disable the network device eht0. Which command can you use?
Antworten
  • ifconfig halt eth0
  • ipconfig eth0 halt
  • ip link set eth0 down
  • ip param set eth0 halt

Frage 2

Frage
You wonder which installed RPM package the /etc/exports file belongs to. Which command will give you the desired information?
Antworten
  • rpm -f /etc/exports
  • rpm -qf /etc/exports
  • rpm -ql /etc/exports
  • rpm --provides /etc/exports

Frage 3

Frage
Which is the main configuration file for logrotate?
Antworten
  • /etc/logrotate
  • /etc/logr.conf
  • /etc/cron/logrotate
  • /etc/logrotate.conf

Frage 4

Frage
You want to delete all data on the second hard drive (/dev/hdb). Which command accomplishes this?
Antworten
  • 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

Frage 5

Frage
You want to copy the mytext file from your computer to the /tmp/ directory on the remote computer da20.digitalairlines.com. Which command would you use to accomplish this?
Antworten
  • ssh mytext da20.digitalairlines.com:/tmp
  • scp da20.digitalairlines.com:/tmp mytext
  • scp mytext da20.digitalairlines.com:/tmp
  • sftp mytext da20.digitalairlines.com:/tmp

Frage 6

Frage
Which statement about a differential backup is correct?
Antworten
  • The use of differential backups is limited to backups on tape roboters.
  • To restore a differential backup, you need tha 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 tha last differential backup.

Frage 7

Frage
Which statement about the Set User ID bit on executable files is correct?
Antworten
  • 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

Frage 8

Frage
You are viewing the manual page of crontab, but it does not caontain 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)
Antworten
  • man a crontab
  • whatis crontab
  • man -k crontab
  • man --next crontab
  • man --showall crontab

Frage 9

Frage
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?
Antworten
  • 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

Frage 10

Frage
You created a script (/root/bin/backup.sh) that backups up your files when executed. Using cron, you want to executed ths script once every Saturday at 3:00 pm. Which line would you have to enter after invoking crontab -e in a terminal window?
Antworten
  • 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

Frage 11

Frage
While in insert mode, how do you save a file and close vi?
Antworten
  • Press Esc and :q
  • Press Esc and :w
  • Press Esc and :wq
  • Press Esc and :zz

Frage 12

Frage
You want to install the ethereal RPM package that is available on the SUSE Linux Enterprise Server 10 installation media. Which command install the ethereal package, and resolves dependencies as needed?
Antworten
  • rpm -i ethereal
  • yast -i ethereal
  • yast -l ethereal
  • rpm -U ethereal

Frage 13

Frage
Which command can be used to view the inode assigned to a filename?
Antworten
  • ls -i
  • fsck -h i
  • inode --list
  • cat /proc/inodes

Frage 14

Frage
Which lists of wireless networks are kept by NetworkManager?
Antworten
  • Preferred list and avoid list
  • User list and encryption list
  • Trusted list and preferred list
  • Trusted list and untrusted list

Frage 15

Frage
What is the effect of selecting the optoin "Enable IP Forwarding" in the routing configuration is YaST?
Antworten
  • IP packets that do have this host as their destination are routed to another host.
  • IP packets that do not have this host as their destination are filtered according to the firewall rules.
  • IP packets that do have this host as their destination are dropped to protect the host from attacks.
  • IP packets that do not have as their destination are transferred from one network connected to he host to another network connected to this host, according to the routing table.

Frage 16

Frage
You want to boot your system to runlevel 3. Which option do you have enter at the GRUB boot manager dialog?
Antworten
  • 3
  • init=3
  • boot=3
  • runlevel=3

Frage 17

Frage
You would like to run command1 and then command2, whether or not command1 completed successfully. Which command accomplishes this task?
Antworten
  • command1 | command2
  • command1 ; command2
  • command1 > command2
  • command1 & command2

Frage 18

Frage
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?
Antworten
  • lpstat -t
  • lp -P laser
  • lpq -P laser
  • lpadmin -P laser

Frage 19

Frage
In which is the host name of a Linux computer configured? (Hint: You do not need to include the entire path.) /etc/HOSTNAME
Antworten
  • True
  • False

Frage 20

Frage
You want to view the status (loked, valid password, etc.) of the account tux. Which command displays the desired information?
Antworten
  • passwd -L tux
  • passwd -v tux
  • passwd -p tux
  • passwd -S tux

Frage 21

Frage
In which file are global configurations for users who use bash as their login shell set?
Antworten
  • /etc/bashrc
  • /etc/bash.cf
  • /etc/bash.conf
  • /etc/bash.bashrc

Frage 22

Frage
Which command displays the value stored in the $MYVAR variable?
Antworten
  • less MYVAR
  • cat $MYVAR
  • echo MYVAR
  • echo $MYVAR

Frage 23

Frage
Which file contains the configuration information of the print queues available on your CUPS server?
Antworten
  • The /etc/printcap file
  • The /etc/sysconfig/cups file
  • The /etc/cups/cups.conf file
  • The /etc/cups/printers.conf file

Frage 24

Frage
How can you list the ACLs (if there are any) of a file test?
Antworten
  • ls -l test
  • lsacl test
  • getfacl test
  • ls -l --acl test

Frage 25

Frage
Routes to the directly connected network are automatically set up when a device is started. All other routes are saved in which configuration file?
Antworten
  • /etc/route
  • /etc/routes
  • /etc/routes.conf
  • /etc/network/routes
  • /etc/sysconfig/routes
  • /etc/sysconfig/network/routes

Frage 26

Frage
What information do you need to set up an LDAP client? (Choose 4.)
Antworten
  • LDAP version
  • LDAP base DN
  • Kind of encrytion
  • Synchronization frequency
  • Address of the LDAP server
  • File name of the LDAP database

Frage 27

Frage
What is the minimum number of partitions required by a SLES 10 system?
Antworten
  • None
  • 1
  • 2
  • 4

Frage 28

Frage
What is the purpose of the ssh-agent command?
Antworten
  • ssh-agent is a program that helps configure the ssh daemon.
  • ssh-agent is used to fecth public keys from machines within your network.
  • ssh-agent is used to avoid typing the passphrase for your key on each login.
  • ssh-agent is a program that checks for machnes in the network that have an ssh daemon running.

Frage 29

Frage
Using the nice command, what is the highest priority a normal user can assing to a process?
Antworten
  • -20
  • -19
  • 0
  • 19
  • 20
  • 99

Frage 30

Frage
Which command can you use to create a Reiser file system on the sda6 partition? (Choose 2.)
Antworten
  • mkreiserfs /dev/sda6
  • fdisk.reiserfs /dev/sda6
  • make.reiserfs /dev/sda6
  • fdisk -t reiserfs /dev/sda6
  • mkfs -t reiserfs /dev/sda6

Frage 31

Frage
You have limited access to the /admin directory of the web interface of your CUPS server with the following statement in /etc/cups/cups.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?
Antworten
  • passwd cupsadmin
  • lppasswd cupsadmin
  • passwd --cups cupsadmin
  • lppasswd -a cupsadmin -g sys

Frage 32

Frage
You have a test directory with the following permissions: rwx------ You want to change the permissions to the following values: r-xr-xr-x. Which command accomplishes this?
Antworten
  • chmod 777 test
  • chmod a=rx test
  • chmod u=rx,a-rx test
  • chmod u+w,g+rx,o+rx test

Frage 33

Frage
How do you activate an ACL when mounting a file system manually?
Antworten
  • mount --acl /dev/hda5 /data
  • mount -f acl /dev/hda5 /data
  • mount -o acl /dev/hda5 /data
  • mount --use-acl /dev/hda5 /data

Frage 34

Frage
You have a test directory with the following permissions: rwx------ You want to change the permissions to the following values: r-xr-xr-x. Which command accomplishes this?
Antworten
  • chmod 777 test
  • chmod u=rx,a-rx test
  • chmod u-w,g+rx,o+rx test
  • chmod u+w,g+rx,o+rx test

Frage 35

Frage
What does the following line of the sudo configuration file mean? geeko ALL=/sbin/shutdown
Antworten
  • All users are allowed to shut down the computer.
  • It allows the user geeko to shut down the computer.
  • All users (except geeko) are allowed to shut down the computer.
  • User geeko is allowed to shut down the computer with name ALL.
  • All users of the computer with the name geeko are allowed to shut down the computer.

Frage 36

Frage
What is the key characteristic of the root account?
Antworten
  • The user name root
  • The User ID (UID) 0
  • The Security Identifier (SID)
  • The Universally Unique Identifier (UUID)

Frage 37

Frage
Which statement about an incremental backup is correct?
Antworten
  • The use of incremental backups is limited to backups on tapes.
  • To restore an incremental backup, you need the last incremental backup only.
  • To restore an incremental backup, you need the last full backup and incremental backup that was made since the last full backup.
  • The amount of data that needs to be backed up with each incremental backup depends only on the amount of data changed the last incremental backup.

Frage 38

Frage
Which options are PAM module types that can be used in a PAM configuration file? (Choose 4.)
Antworten
  • key
  • auth
  • card
  • account
  • session
  • password

Frage 39

Frage
Which command shows you the default shell of a user?
Antworten
  • w user
  • id user
  • who user
  • finger user

Frage 40

Frage
Suppose you change from your current runlevel 5 to the new runlevel 3. Which statement is correct?
Antworten
  • Nothing will happen at all.
  • If there is a K* link for a certain service in /etc/init.d/rc5.d/ but no corresponding S* link l /etc/init.d/rc3.d/, nothing will happen.
  • 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.
  • 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.

Frage 41

Frage
In a terminal window, which command can you enter to change to your home directory (/home/geeko)? (Choose 2.)
Antworten
  • cd
  • cd ~
  • cd -h
  • cd home
  • cd --homedir

Frage 42

Frage
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.)
Antworten
  • ln file link-to-file1
  • ln link-to-file1 file1
  • ln -s file1 link-to-file1
  • ln -s link-to-file1 file1
  • cp -s file1 link-to-file1
  • mv -s file1 link-to-file1

Frage 43

Frage
Which are configuration files of syslog-ng? (Choose 3.)
Antworten
  • /etc/logging
  • /etc/sysconfig/log
  • /etc/log/syslog-ng
  • /etc/sysconfig/syslog
  • /etc/log/syslog-ng.conf
  • /etc/syslog-ng/syslog-ng.conf
  • /etc/syslog-ng/syslog-ng.conf.in

Frage 44

Frage
The useradd command s used to create new users. Which file contains information on the primary group, shell and other parameters to be used by useradd when specified on the command line?
Antworten
  • /etc/profile
  • /etc/passwd
  • /etc/shadow
  • /etc/default/useradd

Frage 45

Frage
What does the following command do? tar -tzvf /tmp/backup.tgz etc/HOSTNAME
Antworten
  • It extracts the etc/HOSTNAME file from the /tmp/backup.tgz archive
  • It includes the etc/HOSTNAME file in the /tmp/backup.tgz archive
  • It produces an error message because the options are in the wrong sequence.
  • It displays a line similar to the following, but otherwise does nothing: -rw-r--r-- root/root 23 2005-03-11 14:20 etc/HOSTNAME

Frage 46

Frage
As root, you entered the runlevel command. What does the following output indicate? N5
Antworten
  • You are in runlevel 5. A previos runlevel is not available.
  • You are in runlevel 5. A previous runlevel was 3 (network).
  • You are in runlevel 3 (network). The system is changing now to runlevel 5.
  • You are currently in no runlevel. The system is changing now to runlevel 5

Frage 47

Frage
You need to find the files in the /etc directory that contain the word DocumentRoot. In a terminal window, which command will help you find it?
Antworten
  • discover DocumentRoot /etc
  • grep -r DocumentRoot /etc/*
  • search -r DocumentRoot /etc/*
  • find /etc -content DocumentRoot

Frage 48

Frage
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.)
Antworten
  • /etc/cron.d/
  • /etc/crontabs/
  • /etc/cron.daily/
  • /var/spool/cron/tabs

Frage 49

Frage
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.
Antworten
  • ~/.bashrc
  • ~/.lpoptions
  • /etc/cups/lpoptions
  • /etc/sysconfig/cups

Frage 50

Frage
Which command displays cpu and input/output statics for device and partitions?
Antworten
  • siga
  • sitar
  • fdisk
  • lspci
  • iostat
  • hwinfo
  • hdparm

Frage 51

Frage
What is the result of the following command? (Choose 2.) dd if=/dev/zero of=/dev/hdd bs=512 count=1
Antworten
  • Overwrites an existing partition table
  • Creates a LVM partition of 512 blocks
  • Backs up the /dev/zero and /dev/hdd files
  • Writes zeros in the firts 512 bytes of the firts hard disk block
  • Assings the physical volume zero to the logical volume hdd

Frage 52

Frage
You do not want to see any error messages when using the find command; you want to see only the results. Which command accomplishes this task?
Antworten
  • find /etc -name "*conf" 0>/dev/null
  • find /etc -name "*conf" 1>/dev/null
  • find /etc -name "*conf" 2>/dev/null
  • find /etc -name "*conf" 3>/dev/null

Frage 53

Frage
In the 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 directores? (Choose 2.)
Antworten
  • cd tmp
  • cd /tmp
  • cd ./tmp
  • cwd /tmp
  • cd ../tmp
  • cd ../../tmp

Frage 54

Frage
Why are the noauto and users options used with /etc/fstab?
Antworten
  • 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.

Frage 55

Frage
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 accomplishes this?
Antworten
  • cp /tmp/data /data-old
  • cp /tmp/data/. /data-old
  • cp /tmp/data/* /data-old
  • cp /tmp/data/? /data-old

Frage 56

Frage
You entered the following as a boot option in the GRUB boot screen: init=/bin/bash What does the option mean?
Antworten
  • 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.

Frage 57

Frage
You want to view tha last 20 lines of the /var/log/messages file and any new lines that are subsequently added by syslog to this file. Which command would you use?
Antworten
  • tail -20f /var/log/messages
  • end -20f /var/log/messages
  • less -20f /var/log/messages
  • follow -20 /var/log/messages

Frage 58

Frage
Which RAID level is described by the following sentence? This level improves the performance of your data access; however, it does not provide redundancy.
Antworten
  • RAID 0
  • RAID 1
  • RAID 4
  • RAID 5
  • RAID 6

Frage 59

Frage
To which process does the process ID 1 always belong?
Antworten
  • init
  • boot
  • cron
  • X server
  • kernel (vmlinuz)

Frage 60

Frage
Which command would you use to star the xeyes program in the background?
Antworten
  • xeyes &
  • xeyes &&
  • bg | xeyes
  • xeyes -bg
  • xeyes | bg
  • xeyes > bg

Frage 61

Frage
Which command creates the .depend.boot, .depend.start, and .dependn.stop files in /etc/init.d/?
Antworten
  • init
  • insserv
  • mkinitrd
  • mkreiserfs

Frage 62

Frage
Whch command can you use to check an ext2/ext3 file system for a correct superblock, faulty data blocks, or faulty allocation of data blocks?
Antworten
  • df
  • du
  • fdisk
  • e2fsck
  • reiserfsck

Frage 63

Frage
Which statements about the LVM components are correct? (Choose 2.)
Antworten
  • A volumen group is aprt of a logical volume.
  • Logical volumes are grouped in a master group.
  • A volume group always consist of one physical volume.
  • A physical volume can be a partition or an entire hard disk.
  • A volume group can be reduced in size by removing physical volumes.
  • The operating system accesses the volume groups like conventional physical partitions.

Frage 64

Frage
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? /var/log/boot.msg
Antworten
  • True
  • False
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Linux Essentials Tema 2
Ozelitotiktak
ESTRUCTURA DEL SISTEMA OPERATIVO: Linux/Ubuntu
Jose Ariza7727
FICHAS LINUX
remg22
Diferentes versiones de sistema operativo que existe WINDOWS VS LINUX
cris.ferherr97
Linux Essentials Tema 4
JuanmaRguez
Linux Essentials Tema 2
JuanmaRguez
Tema 11 Administración de usuarios y permisos en Linux
Ramon El Varilla
S.O. Linux
Corina Arteaga
Principios del software libre
Roxy Castle
SISTEMA OPERATIVO LINUX
bryantoledo1996
Linux Essentials Tema 3
Jesus Reyes Real