Certified Linux Administrator SUSE 11

Descripción

A-Level Linux Test sobre Certified Linux Administrator SUSE 11, creado por Giovanni Gonzalez Moreno el 22/11/2014.
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 alrededor de 10 años
78
0

Resumen del Recurso

Pregunta 1

Pregunta
Which user authentication methods can be used with SLES 10? (Choose 4)
Respuesta
  • NIS
  • WEP
  • SSH
  • PAM
  • LDAP
  • Handshake
  • Windows Domain
  • Local (/etc/passwd)

Pregunta 2

Pregunta
Which statements about partitions are correct? (Choose 3)
Respuesta
  • Extended partitions can be subdivided into logical partitions.
  • A primary partition consists of a continuous range of cylinders
  • Logical partitions do not require entries in the main partition table
  • If you use only primary partitions, you are limited to eight partitions per disk
  • SUSE Linux Enterprise Server 10 can only be installed on a primary partition.
  • To install more than one operating system on a partition, the partition has to include the entire cylinder range

Pregunta 3

Pregunta
You want to copy the master boot record, the partitoin table, and the 2 magic bytes at the beginning of /dev/had to a file so you can restore it later. Which command accomplishes this?
Respuesta
  • dd if=/dev/hda of=mbr bs=512 count=1
  • dd if=mbr of=/dev/hda bs=512 count=1
  • dd of=/dev/zero if=/dev/hda bs=512 count=1
  • dd if=/dev/urandom of=/dev/hda bs=512 count=1

Pregunta 4

Pregunta
The /etc/sysconfig/network/ifcfg-eth-id-macaddress configuration file contains a BOOTPRO option. Which are possible values of BOOTPRO?
Respuesta
  • Static or dhcp
  • Master or slave
  • Onboot, ifpluged, or manual
  • ethernet, wireless, or manual

Pregunta 5

Pregunta
From command mode in vi, what do you have to do to enter text?
Respuesta
  • Press e
  • Press i
  • Press k
  • Press w

Pregunta 6

Pregunta
Which statement about symmetric encryption is correct?
Respuesta
  • The same key is used for encryption and decryption
  • Symmetric keys are generally longer than asymmetric keys
  • Asymmetric encryption is generally faster than symmetric encryption.
  • A public key and a private key are needed for symmetric encryption/decryption.

Pregunta 7

Pregunta
After the partittions are checked and the root file system is mounted, the /sbin/init command is executed. Which process ID is assigned to /sbin/init?
Respuesta
  • 0
  • 1
  • 3
  • 100
  • 1000
  • Depends

Pregunta 8

Pregunta
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?
Respuesta
  • ~/.ssh/id_dsa.pub
  • ~/.ssh/id_rsa.pub
  • ~/.ssh/know_hosts
  • ~/.ssh/authorized_keys

Pregunta 9

Pregunta
You want to install the xyz-software-1.2.3-5.i586.rpm package, but only if a previous versoin is already installed. Which command will do this?
Respuesta
  • rpm -ivh xyz-software-1.2.3-5.i586.rpm
  • rpm -evh xyz-software-1.2.3-5.i586.rpm
  • rpm -Fvh xyz-software-1.2.3-5.i586.rpm
  • rpm -Uvh xyz-software-1.2.3-5.i586.rpm

Pregunta 10

Pregunta
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?
Respuesta
  • sos program
  • info program
  • help program
  • wiki program

Pregunta 11

Pregunta
Which statements about PAM are correct? (Choose 3)
Respuesta
  • To enable authentication whit PAM, you need a smart cart reader
  • Each line a PAM configuration file contains 6 columns plus optional arguments
  • Configuration files of PAM modules can be found in /etc/pam.d/ and /etc/security/.
  • After the PAM configuration has been adjusted for an application, this application can be used by SSH
  • The /etc/pam.d/other file contains a default configuration if no application-specific file is found in /etc/pam.d/
  • PAM creates a software level with defined interfaces between applications and the current authentication mechanism

Pregunta 12

Pregunta
What is the difference between the /dev/st0 and /dev/nst0 devices?
Respuesta
  • /dev/st0 is the firts SCSI CD burner; /dev/nst0 refers to the CDROM drive
  • /dev/st0 is the firts tape drive; /dev/nst0 refers to the same tape drive in non-rewinding mode
  • /dev/st0 is the firts serial console; /dev/nst0 refers to the same serial console as a block device
  • /dev/st0 is the firts SCSI hard drive; /dev/nst0 refers to the same SCSI hard drive in read-only mode.

Pregunta 13

Pregunta
How do you create a file called destination containing the same ACLs currently set for the file called source?
Respuesta
  • getfacl source > destination
  • getfacl -c source destination
  • getfacl source | cp destination
  • getfacl -x source > destination

Pregunta 14

Pregunta
From the command line, which command would you use to print the document.ps file on the laser printer?
Respuesta
  • lp -d laser document.ps
  • lpr -p laser document.ps
  • lpq -p laser document.ps
  • print -p laser document.ps

Pregunta 15

Pregunta
You want to find out it file from the wget package were altered since they were installed. Which command will give you this information?
Respuesta
  • rpm -V wget
  • rpm -v wget
  • rpm -F wget
  • rpm -qf wget

Pregunta 16

Pregunta
In which file is the same resolution configured?
Respuesta
  • /etc/dns.conf
  • /etc/resolv.conf
  • /etc/HOSTNAME
  • /etc/nameservers
  • /etc/sysconfig/network/dns

Pregunta 17

Pregunta
Which command can you use to set up limits for failed logins?
Respuesta
  • w
  • who
  • last
  • failog
  • lastlog

Pregunta 18

Pregunta
Which file system type supports ACLs without a special mount option?
Respuesta
  • ext2
  • ext3
  • XFS
  • ReiserFS

Pregunta 19

Pregunta
Which statement about the /sbin/ldconfig command is correct?
Respuesta
  • The ldconfig command is used to the link directories.
  • The ldconfig command is used to configure an LDAP connection
  • The ldconfig command is used to update the software library cache
  • The ldconfig command is used to show dynamic libraries needed by a program.

Pregunta 20

Pregunta
Which command displays information about your hard drive and lets you manage certain hard drive parameters?
Respuesta
  • siga
  • sitar
  • fdisk
  • lspci
  • iostat
  • hwinfo
  • hdparm

Pregunta 21

Pregunta
Which file can be used to send a message to users logging in on a text console?
Respuesta
  • /etc/net
  • /etc/motd
  • /etc/messages
  • /var/log/messages

Pregunta 22

Pregunta
What is the correct syntax for mounting the second partition of the firts SCSI hard disk?
Respuesta
  • mount /mnt /dev/hda2
  • mount /dev/hda2 /mnt
  • mount /dev/sdb1 /mnt
  • mount /mnt /dev/sdb1 /mnt
  • mount /dev/sda2 /mnt
  • mount /mnt /dev/sda2

Pregunta 23

Pregunta
Using the rsync command, you want to mirror the directories, including any hidden files and directories within /home (not the /home directory itself) to the /backup directory. Which command accomplishes this?
Respuesta
  • rsync -a /home /backup
  • rsync -a /home/ /backup
  • rsync -a /home/* /backup
  • rsync -a /home/? /backup

Pregunta 24

Pregunta
How do you start a YaST module (for instance, the sw_single module used to install software) directly from the command line? (Choose 2.)
Respuesta
  • yast sw_single
  • yast2 sw_single
  • yast2 -m sw_single
  • yast --start sw_single
  • yast2 --module sw_single

Pregunta 25

Pregunta
You want to add user tux to the southpole group without changing his primary group membership. Which command do you user for this purpose?
Respuesta
  • useradd -g southpole tux
  • usermod -g southpole tux
  • groupadd -A tux southpole
  • groupmod -A tux southpole

Pregunta 26

Pregunta
Which file contains information about which user was last logged in, where the user logged in, and how long the user was logged in?
Respuesta
  • /var/log/login
  • /var/log/lastlog
  • /var/log/access
  • /var/log/messages
  • There is no log file containing this information

Pregunta 27

Pregunta
You entered your quota information in /etc/fstab. What do you have to do next?
Respuesta
  • Generate a quota report
  • Initialize the quota system
  • Configure limits for users and groups
  • Remount the file system for the quotas to be defined.

Pregunta 28

Pregunta
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?
Respuesta
  • In the output of dmesg
  • In the /var/log/boot.msg file
  • In the /var/log/messages file
  • In the /var/log/cups/error_log file

Pregunta 29

Pregunta
What does the following command do? tar -czvf /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 newly created /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 30

Pregunta
You have a text file that contains empty lines. Using grep and regular expressions, which command displays the file without the empty lines?
Respuesta
  • grep ^$ file
  • grep [\] file
  • grep -v ^$ file
  • grep -v #$ file

Pregunta 31

Pregunta
Which statement regarding symbolic links is true? (Choose 2)
Respuesta
  • A symbolic link can point to a file on a different file system
  • A symbolic link and the file it points to share the same inode
  • If you delete the symbolic link, the original file is deleted as well
  • If you delete the original file, the symbolic link points to a non-existing file
  • With a symbolic link, you cannot see directly that is a link.

Pregunta 32

Pregunta
Which statement about the sudo command is correct?
Respuesta
  • You can edit the sudo configuration file /etc/sudo.conf directly with vi.
  • You can edit the su configuration file /etc/su.conf with the sudo command.
  • You can edit the sudo configuration file /etc/sudoers with the visudo command.
  • You can edit the sudo configuration file /etc/visudo with the sudoers command

Pregunta 33

Pregunta
What is the same of the file containing the initramfs?
Respuesta
  • /
  • /boot/initrd
  • /boot/ramfs
  • /sbin/vmram
  • /boot/vmram
  • /sbin/linuxramfs

Pregunta 34

Pregunta
You would like to run command2 only if command1 did not complete successfully. Which command accomplishes this task?
Respuesta
  • command1 ;; command2
  • command1 || command2
  • command1 >> command2
  • command1 && command2

Pregunta 35

Pregunta
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 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?
Respuesta
  • ssh -L 11110:ssh.digitalairlines.com:110 geeko@pop3.digitalairlines.com
  • ssh -L 110:ssh.digitalairlines.com:11110 geeko@pop3.digitalairlines.com
  • ssh -L 11110:pop3.digitalairlines.com:110 geeko@ssh.digitalairlines.com
  • ssh -L 110:op3.digitalairlines.com:11110 geeko@ssh.digitalairlines.com

Pregunta 36

Pregunta
Which command is used to enter or change the quota for user tux?
Respuesta
  • quotacheck
  • repquota tux
  • edquota -u tux
  • edquota -g tux
  • /sbin/quotaon tux

Pregunta 37

Pregunta
Which statements about the Linux boot process are correct? (Choose 3)
Respuesta
  • The BIOS starts the kernel
  • The initrd decompresses itself
  • The kernel looks for and mounts the initrd
  • The boot manager starts the init process.
  • linuxrc loads the modules to mount the root file system.
  • The boot manager loads the kernel and initrd into the memory

Pregunta 38

Pregunta
Which group name is stored in /etc/passwd?
Respuesta
  • Primary group
  • Effective group
  • Secondary group
  • No group name is stored there

Pregunta 39

Pregunta
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)
Respuesta
  • title
  • color
  • initrd
  • kernel
  • timeout
  • gfxmenu
  • message

Pregunta 40

Pregunta
You want to use the ip command to set a new address for you network device eth0. It is a standard class C network. The broadcast address and network route should be set accordingly. Which command is correct?
Respuesta
  • ip address set 192.168.0.10/24 dev eth0
  • ip address add 192.168.0.10/24 dev eth0
  • ip addr add 192.168.0.10/24 dev eth0 brd +
  • ip addr add eth0 192.168.0.10/24 eth0 broadcast 192.168.255.255

Pregunta 41

Pregunta
Which command can you use to generate an MDS-encrypted password for GRUB?
Respuesta
  • genkey --md5
  • grubpass -md5
  • grub-md5-crypt
  • passwd -c --md5

Pregunta 42

Pregunta
The /backup/snapshot was changed to the /backup/backup_monday.tgz archive. Which command will now write new or modified below /home?
Respuesta
  • tar -czf -g /backup/snapshot /backup/backup_monday.tgz /home
  • tar -tz -g /backup/snapshot -f /backup/backup_monday.tgz /home
  • tar -cz -g /backup/snapshot -f /backup/backup_monday.tgz /home
  • tar -cz -newer /backup/snapshot -f /backup/backup_monday.tgz /home

Pregunta 43

Pregunta
Which protocol is used to send messages by the ping command?
Respuesta
  • NTP
  • FTP
  • TCP
  • ICMP
  • HTTP
  • LDAP

Pregunta 44

Pregunta
Which parts can be combined in the syslog-ng configuration file (/etc/syslog-ng/syslog-ng.conf) to specify what information is logged? (Choose 3)
Respuesta
  • Alerts
  • Users
  • Filters
  • Sources
  • Log Paths
  • Destinations
  • Date and Time

Pregunta 45

Pregunta
What is the output of the echo '$HOME' command when user geeko (home directory /home/geeko) enters it at the bash shell prompt?
Respuesta
  • geeko
  • $HOME
  • /home/geeko
  • $HOME: No such file or directory

Pregunta 46

Pregunta
Which statement about the primary (default) group of a user is correct?
Respuesta
  • The primary group membership of a user is defined in the /etc/group file
  • The primary group membership of a user is defined in the /etc/shadow file
  • The primary group membership of a user is defined in the /etc/passwd file
  • The primary group membership of a user is defined in the /etc/gpasswd file

Pregunta 47

Pregunta
In the terminal window, which command shows you the groups you are a member of?
Respuesta
  • id
  • gid
  • who
  • whoami

Pregunta 48

Pregunta
How large is an inode?
Respuesta
  • 256 bits
  • 64 Kbytes
  • 128 bytes
  • 1 Mbyte

Pregunta 49

Pregunta
You want to create the new user account tux with the password penguin (password hash: TvqBFhQWgeSho) and a default home directory. Which command can be used to create the account with the above parameters?
Respuesta
  • useradd -m -p "penguin" tux
  • echo penguin | useradd -m -p -tux
  • useradd -m -p "TvqBFhQWgeSho" tux
  • echo -e "peguin\npeguin" | passwd tux ; useradd -m tux

Pregunta 50

Pregunta
In a terminal window, which command displays the name of the directory you are currently in?
Respuesta
  • dir
  • pwd
  • where
  • current-dir

Pregunta 51

Pregunta
Which range of User IDs is used for normal (unprivileged) users on SUSE Linux Enterprise Server 10?
Respuesta
  • 0-100
  • 101-499
  • 500-999
  • 1000 and above

Pregunta 52

Pregunta
Where can you set global shell enviroment variables for all users independent of their shell?
Respuesta
  • /etc/profile
  • /etc/profile.all
  • /etc/bash.local
  • /etc/bash.bashrc

Pregunta 53

Pregunta
You have set the following permissions on a test directory: rwxrwxrwx. Which statement about files in the test directory is correct?
Respuesta
  • Only root can delete files in the test directory
  • Only root or the owner of a file can delete files in the test directory.
  • A file created in that directory has the same owner as the owner of the test directory.
  • A file created in that directory has the same owning group as the owning group of the test directory.

Pregunta 54

Pregunta
Which key combination can you use to stop a process that runs in the foreground?
Respuesta
  • Ctrl +X
  • Ctrl +Z
  • Ctrl + Alt +X
  • Ctrl + Backspace

Pregunta 55

Pregunta
You want to redirect both output and error messages of the find command to the find-output file. Which command accomplishes this task?
Respuesta
  • find /etc -name "*conf" 2>&find-output
  • find /etc -name "*conf" 2<&1 > find-output
  • find /etc -name "*conf" > find-output 2>&1
  • find /etc -name "*conf" > find-output 2>find-output

Pregunta 56

Pregunta
Which are benefits of using LVM? (Choose 4)
Respuesta
  • You can increase data security
  • You can create extremely large logical volumes
  • You can add logical volumes in a running system.
  • You can add hard disks to a volume group in a running system.
  • You can reduce the size of a logical volume without unmounting it
  • The snapshot feature allows consistent backup in a running system.

Pregunta 57

Pregunta
Within less, how do you search for a string downwards from where the cursor is positioned?
Respuesta
  • \string
  • ?string
  • /string
  • =string

Pregunta 58

Pregunta
In the bash shell, which command can be used to create a MY_NAME variable containing the value Joe?
Respuesta
  • MY_NAME=Joe
  • MY_NAME = Joe
  • echo Joe > MY_NAME
  • export MY_NAME = Joe

Pregunta 59

Pregunta
Which are journaling file systems? (Choose 3)
Respuesta
  • XFS
  • ext2
  • ext3
  • VFAT
  • minix
  • VFAT32
  • ReiserFS

Pregunta 60

Pregunta
What is the type command used for?
Respuesta
  • type is used to print text to a teletypewriter.
  • type displays the type of terminal (tty1, tty2) you are logged in to
  • type determines the type of a command (shell builtin, alias, file on hard disk)
  • type is used to determine the type of processor used (32-bit, 64-bit, Power)

Pregunta 61

Pregunta
What is the correct order of steps to change the partition table using fdisk?
Respuesta
  • You can't use fdisk to change the partition table.
  • Start fdisk > Change the partition table > Write the partitoin table to hard disk > Exit fdisk > Reboot
  • Start fdisk > Change the partition table > Write the partitoin table to hard disk > Exit fdisk > Load the partition table from the boot prompt.
  • 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.

Pregunta 62

Pregunta
You want to redirect the output of the ls command to the ls-output file which already exists. The output should be appended to he file; it should not overwrite the existing content. Which command accomplishes this task?
Respuesta
  • ls > ls-output
  • ls : ls-output
  • ls >> ls-output
  • ls && ls-output

Pregunta 63

Pregunta
You have a /tmp/data directory containing the files .file, file1, and file2. You want to delete the directory and its content. In a terminal window, which command accomplishes this?
Respuesta
  • rm /tmp/data
  • rm -r /tmp/data
  • rmdir /tmp/data
  • deldir /tmp/data

Pregunta 64

Pregunta
Which statement about a CUPS Using Broadcasting configuration is correct?
Respuesta
  • Only local printing is possible
  • You cant print to both local and network printers
  • Only one queue on one print server can be used for printing
  • All queues on only one CUPS server are available for printing

Pregunta 65

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

Pregunta 66

Pregunta
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?
Respuesta
  • lpr -P laser 1234
  • lprm -P laser 1234
  • lpremove -P laser 1234
  • lpadmin -d laser -r 1234

Pregunta 67

Pregunta
Which command is suitable for displaying the CPU load as a percentage?
Respuesta
  • w
  • top
  • nice
  • uptime

Pregunta 68

Pregunta
What action does the jobs command perform?
Respuesta
  • 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

Pregunta 69

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

Pregunta 70

Pregunta
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?
Respuesta
  • bash_history
  • .bash_history
  • ?bash_history
  • $bash_history
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
SISTEMA OPERATIVO LINUX
bryantoledo1996
Linux Essentials Tema 3
Jesus Reyes Real