Certified Linux Administrator 11 v2

Descripción

Examen de certificaciòn SLES 11 Administrator
Giovanni Gonzalez Moreno
Test por Giovanni Gonzalez Moreno, actualizado hace más de 1 año
Giovanni Gonzalez Moreno
Creado por Giovanni Gonzalez Moreno hace más de 9 años
55
0

Resumen del Recurso

Pregunta 1

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

Pregunta 2

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

Pregunta 3

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

Pregunta 4

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

Pregunta 5

Pregunta
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?
Respuesta
  • ssh mytext da20.digitalairlines.com:/tmp
  • scp da20.digitalairlines.com:/tmp mytext
  • scp mytext da20.digitalairlines.com:/tmp
  • sftp mytext da20.digitalairlines.com:/tmp

Pregunta 6

Pregunta
Which statement about a differential backup is correct?
Respuesta
  • 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.

Pregunta 7

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

Pregunta 8

Pregunta
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)
Respuesta
  • man a crontab
  • whatis crontab
  • man -k crontab
  • man --next crontab
  • man --showall crontab

Pregunta 9

Pregunta
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?
Respuesta
  • 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

Pregunta 10

Pregunta
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?
Respuesta
  • 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

Pregunta 11

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

Pregunta 12

Pregunta
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?
Respuesta
  • rpm -i ethereal
  • yast -i ethereal
  • yast -l ethereal
  • rpm -U ethereal

Pregunta 13

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

Pregunta 14

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

Pregunta 15

Pregunta
What is the effect of selecting the optoin "Enable IP Forwarding" in the routing configuration is YaST?
Respuesta
  • 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.

Pregunta 16

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

Pregunta 17

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

Pregunta 18

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

Pregunta 19

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

Pregunta 20

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

Pregunta 21

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

Pregunta 22

Pregunta
Which command displays the value stored in the $MYVAR variable?
Respuesta
  • less MYVAR
  • cat $MYVAR
  • echo MYVAR
  • echo $MYVAR

Pregunta 23

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

Pregunta 24

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

Pregunta 25

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

Pregunta 26

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

Pregunta 27

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

Pregunta 28

Pregunta
What is the purpose of the ssh-agent command?
Respuesta
  • 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.

Pregunta 29

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

Pregunta 30

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

Pregunta 31

Pregunta
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?
Respuesta
  • passwd cupsadmin
  • lppasswd cupsadmin
  • passwd --cups cupsadmin
  • lppasswd -a cupsadmin -g sys

Pregunta 32

Pregunta
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?
Respuesta
  • chmod 777 test
  • chmod a=rx test
  • chmod u=rx,a-rx test
  • chmod u+w,g+rx,o+rx test

Pregunta 33

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

Pregunta 34

Pregunta
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?
Respuesta
  • 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

Pregunta 35

Pregunta
What does the following line of the sudo configuration file mean? geeko ALL=/sbin/shutdown
Respuesta
  • 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.

Pregunta 36

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

Pregunta 37

Pregunta
Which statement about an incremental backup is correct?
Respuesta
  • 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.

Pregunta 38

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

Pregunta 39

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

Pregunta 40

Pregunta
Suppose you change from your current runlevel 5 to the new runlevel 3. Which statement is correct?
Respuesta
  • 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.

Pregunta 41

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

Pregunta 42

Pregunta
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.)
Respuesta
  • 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

Pregunta 43

Pregunta
Which are configuration files of syslog-ng? (Choose 3.)
Respuesta
  • /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

Pregunta 44

Pregunta
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?
Respuesta
  • /etc/profile
  • /etc/passwd
  • /etc/shadow
  • /etc/default/useradd

Pregunta 45

Pregunta
What does the following command do? tar -tzvf /tmp/backup.tgz etc/HOSTNAME
Respuesta
  • 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

Pregunta 46

Pregunta
As root, you entered the runlevel command. What does the following output indicate? N5
Respuesta
  • 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

Pregunta 47

Pregunta
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?
Respuesta
  • discover DocumentRoot /etc
  • grep -r DocumentRoot /etc/*
  • search -r DocumentRoot /etc/*
  • find /etc -content DocumentRoot

Pregunta 48

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

Pregunta 49

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

Pregunta 50

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

Pregunta 51

Pregunta
What is the result of the following command? (Choose 2.) dd if=/dev/zero of=/dev/hdd bs=512 count=1
Respuesta
  • 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

Pregunta 52

Pregunta
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?
Respuesta
  • 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

Pregunta 53

Pregunta
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.)
Respuesta
  • cd tmp
  • cd /tmp
  • cd ./tmp
  • cwd /tmp
  • cd ../tmp
  • cd ../../tmp

Pregunta 54

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

Pregunta 55

Pregunta
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?
Respuesta
  • cp /tmp/data /data-old
  • cp /tmp/data/. /data-old
  • cp /tmp/data/* /data-old
  • cp /tmp/data/? /data-old

Pregunta 56

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

Pregunta 57

Pregunta
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?
Respuesta
  • tail -20f /var/log/messages
  • end -20f /var/log/messages
  • less -20f /var/log/messages
  • follow -20 /var/log/messages

Pregunta 58

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

Pregunta 59

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

Pregunta 60

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

Pregunta 61

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

Pregunta 62

Pregunta
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?
Respuesta
  • df
  • du
  • fdisk
  • e2fsck
  • reiserfsck

Pregunta 63

Pregunta
Which statements about the LVM components are correct? (Choose 2.)
Respuesta
  • 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.

Pregunta 64

Pregunta
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
Respuesta
  • True
  • False
Mostrar resumen completo Ocultar resumen completo

Similar

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
Linux Essentials Tema 3
Jesus Reyes Real
SISTEMA OPERATIVO LINUX
bryantoledo1996