Certified Linux Administrator 11 v2

Descrição

Examen de certificaciòn SLES 11 Administrator
Giovanni Gonzalez Moreno
Quiz por Giovanni Gonzalez Moreno, atualizado more than 1 year ago
Giovanni Gonzalez Moreno
Criado por Giovanni Gonzalez Moreno mais de 9 anos atrás
55
0

Resumo de Recurso

Questão 1

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

Questão 2

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

Questão 3

Questão
Which is the main configuration file for logrotate?
Responda
  • /etc/logrotate
  • /etc/logr.conf
  • /etc/cron/logrotate
  • /etc/logrotate.conf

Questão 4

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

Questão 5

Questão
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?
Responda
  • ssh mytext da20.digitalairlines.com:/tmp
  • scp da20.digitalairlines.com:/tmp mytext
  • scp mytext da20.digitalairlines.com:/tmp
  • sftp mytext da20.digitalairlines.com:/tmp

Questão 6

Questão
Which statement about a differential backup is correct?
Responda
  • 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.

Questão 7

Questão
Which statement about the Set User ID bit on executable files is correct?
Responda
  • 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

Questão 8

Questão
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)
Responda
  • man a crontab
  • whatis crontab
  • man -k crontab
  • man --next crontab
  • man --showall crontab

Questão 9

Questão
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?
Responda
  • 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

Questão 10

Questão
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?
Responda
  • 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

Questão 11

Questão
While in insert mode, how do you save a file and close vi?
Responda
  • Press Esc and :q
  • Press Esc and :w
  • Press Esc and :wq
  • Press Esc and :zz

Questão 12

Questão
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?
Responda
  • rpm -i ethereal
  • yast -i ethereal
  • yast -l ethereal
  • rpm -U ethereal

Questão 13

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

Questão 14

Questão
Which lists of wireless networks are kept by NetworkManager?
Responda
  • Preferred list and avoid list
  • User list and encryption list
  • Trusted list and preferred list
  • Trusted list and untrusted list

Questão 15

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

Questão 16

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

Questão 17

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

Questão 18

Questão
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?
Responda
  • lpstat -t
  • lp -P laser
  • lpq -P laser
  • lpadmin -P laser

Questão 19

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

Questão 20

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

Questão 21

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

Questão 22

Questão
Which command displays the value stored in the $MYVAR variable?
Responda
  • less MYVAR
  • cat $MYVAR
  • echo MYVAR
  • echo $MYVAR

Questão 23

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

Questão 24

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

Questão 25

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

Questão 26

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

Questão 27

Questão
What is the minimum number of partitions required by a SLES 10 system?
Responda
  • None
  • 1
  • 2
  • 4

Questão 28

Questão
What is the purpose of the ssh-agent command?
Responda
  • 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.

Questão 29

Questão
Using the nice command, what is the highest priority a normal user can assing to a process?
Responda
  • -20
  • -19
  • 0
  • 19
  • 20
  • 99

Questão 30

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

Questão 31

Questão
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?
Responda
  • passwd cupsadmin
  • lppasswd cupsadmin
  • passwd --cups cupsadmin
  • lppasswd -a cupsadmin -g sys

Questão 32

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

Questão 33

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

Questão 34

Questão
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?
Responda
  • 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

Questão 35

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

Questão 36

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

Questão 37

Questão
Which statement about an incremental backup is correct?
Responda
  • 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.

Questão 38

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

Questão 39

Questão
Which command shows you the default shell of a user?
Responda
  • w user
  • id user
  • who user
  • finger user

Questão 40

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

Questão 41

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

Questão 42

Questão
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.)
Responda
  • 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

Questão 43

Questão
Which are configuration files of syslog-ng? (Choose 3.)
Responda
  • /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

Questão 44

Questão
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?
Responda
  • /etc/profile
  • /etc/passwd
  • /etc/shadow
  • /etc/default/useradd

Questão 45

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

Questão 46

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

Questão 47

Questão
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?
Responda
  • discover DocumentRoot /etc
  • grep -r DocumentRoot /etc/*
  • search -r DocumentRoot /etc/*
  • find /etc -content DocumentRoot

Questão 48

Questão
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.)
Responda
  • /etc/cron.d/
  • /etc/crontabs/
  • /etc/cron.daily/
  • /var/spool/cron/tabs

Questão 49

Questão
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.
Responda
  • ~/.bashrc
  • ~/.lpoptions
  • /etc/cups/lpoptions
  • /etc/sysconfig/cups

Questão 50

Questão
Which command displays cpu and input/output statics for device and partitions?
Responda
  • siga
  • sitar
  • fdisk
  • lspci
  • iostat
  • hwinfo
  • hdparm

Questão 51

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

Questão 52

Questão
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?
Responda
  • 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

Questão 53

Questão
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.)
Responda
  • cd tmp
  • cd /tmp
  • cd ./tmp
  • cwd /tmp
  • cd ../tmp
  • cd ../../tmp

Questão 54

Questão
Why are the noauto and users options used with /etc/fstab?
Responda
  • 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.

Questão 55

Questão
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?
Responda
  • cp /tmp/data /data-old
  • cp /tmp/data/. /data-old
  • cp /tmp/data/* /data-old
  • cp /tmp/data/? /data-old

Questão 56

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

Questão 57

Questão
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?
Responda
  • tail -20f /var/log/messages
  • end -20f /var/log/messages
  • less -20f /var/log/messages
  • follow -20 /var/log/messages

Questão 58

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

Questão 59

Questão
To which process does the process ID 1 always belong?
Responda
  • init
  • boot
  • cron
  • X server
  • kernel (vmlinuz)

Questão 60

Questão
Which command would you use to star the xeyes program in the background?
Responda
  • xeyes &
  • xeyes &&
  • bg | xeyes
  • xeyes -bg
  • xeyes | bg
  • xeyes > bg

Questão 61

Questão
Which command creates the .depend.boot, .depend.start, and .dependn.stop files in /etc/init.d/?
Responda
  • init
  • insserv
  • mkinitrd
  • mkreiserfs

Questão 62

Questão
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?
Responda
  • df
  • du
  • fdisk
  • e2fsck
  • reiserfsck

Questão 63

Questão
Which statements about the LVM components are correct? (Choose 2.)
Responda
  • 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.

Questão 64

Questão
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
Responda
  • True
  • False

Semelhante

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