Certified Linux Administrator SUSE 11

Descrição

A-Level Linux Quiz sobre Certified Linux Administrator SUSE 11, criado por Giovanni Gonzalez Moreno em 22-11-2014.
Giovanni Gonzalez Moreno
Quiz por Giovanni Gonzalez Moreno, atualizado more than 1 year ago
Giovanni Gonzalez Moreno
Criado por Giovanni Gonzalez Moreno aproximadamente 10 anos atrás
78
0

Resumo de Recurso

Questão 1

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

Questão 2

Questão
Which statements about partitions are correct? (Choose 3)
Responda
  • 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

Questão 3

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

Questão 4

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

Questão 5

Questão
From command mode in vi, what do you have to do to enter text?
Responda
  • Press e
  • Press i
  • Press k
  • Press w

Questão 6

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

Questão 7

Questão
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?
Responda
  • 0
  • 1
  • 3
  • 100
  • 1000
  • Depends

Questão 8

Questão
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?
Responda
  • ~/.ssh/id_dsa.pub
  • ~/.ssh/id_rsa.pub
  • ~/.ssh/know_hosts
  • ~/.ssh/authorized_keys

Questão 9

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

Questão 10

Questão
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?
Responda
  • sos program
  • info program
  • help program
  • wiki program

Questão 11

Questão
Which statements about PAM are correct? (Choose 3)
Responda
  • 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

Questão 12

Questão
What is the difference between the /dev/st0 and /dev/nst0 devices?
Responda
  • /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.

Questão 13

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

Questão 14

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

Questão 15

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

Questão 16

Questão
In which file is the same resolution configured?
Responda
  • /etc/dns.conf
  • /etc/resolv.conf
  • /etc/HOSTNAME
  • /etc/nameservers
  • /etc/sysconfig/network/dns

Questão 17

Questão
Which command can you use to set up limits for failed logins?
Responda
  • w
  • who
  • last
  • failog
  • lastlog

Questão 18

Questão
Which file system type supports ACLs without a special mount option?
Responda
  • ext2
  • ext3
  • XFS
  • ReiserFS

Questão 19

Questão
Which statement about the /sbin/ldconfig command is correct?
Responda
  • 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.

Questão 20

Questão
Which command displays information about your hard drive and lets you manage certain hard drive parameters?
Responda
  • siga
  • sitar
  • fdisk
  • lspci
  • iostat
  • hwinfo
  • hdparm

Questão 21

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

Questão 22

Questão
What is the correct syntax for mounting the second partition of the firts SCSI hard disk?
Responda
  • 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

Questão 23

Questão
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?
Responda
  • rsync -a /home /backup
  • rsync -a /home/ /backup
  • rsync -a /home/* /backup
  • rsync -a /home/? /backup

Questão 24

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

Questão 25

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

Questão 26

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

Questão 27

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

Questão 28

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

Questão 29

Questão
What does the following command do? tar -czvf /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 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

Questão 30

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

Questão 31

Questão
Which statement regarding symbolic links is true? (Choose 2)
Responda
  • 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.

Questão 32

Questão
Which statement about the sudo command is correct?
Responda
  • 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

Questão 33

Questão
What is the same of the file containing the initramfs?
Responda
  • /
  • /boot/initrd
  • /boot/ramfs
  • /sbin/vmram
  • /boot/vmram
  • /sbin/linuxramfs

Questão 34

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

Questão 35

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

Questão 36

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

Questão 37

Questão
Which statements about the Linux boot process are correct? (Choose 3)
Responda
  • 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

Questão 38

Questão
Which group name is stored in /etc/passwd?
Responda
  • Primary group
  • Effective group
  • Secondary group
  • No group name is stored there

Questão 39

Questão
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)
Responda
  • title
  • color
  • initrd
  • kernel
  • timeout
  • gfxmenu
  • message

Questão 40

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

Questão 41

Questão
Which command can you use to generate an MDS-encrypted password for GRUB?
Responda
  • genkey --md5
  • grubpass -md5
  • grub-md5-crypt
  • passwd -c --md5

Questão 42

Questão
The /backup/snapshot was changed to the /backup/backup_monday.tgz archive. Which command will now write new or modified below /home?
Responda
  • 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

Questão 43

Questão
Which protocol is used to send messages by the ping command?
Responda
  • NTP
  • FTP
  • TCP
  • ICMP
  • HTTP
  • LDAP

Questão 44

Questão
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)
Responda
  • Alerts
  • Users
  • Filters
  • Sources
  • Log Paths
  • Destinations
  • Date and Time

Questão 45

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

Questão 46

Questão
Which statement about the primary (default) group of a user is correct?
Responda
  • 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

Questão 47

Questão
In the terminal window, which command shows you the groups you are a member of?
Responda
  • id
  • gid
  • who
  • whoami

Questão 48

Questão
How large is an inode?
Responda
  • 256 bits
  • 64 Kbytes
  • 128 bytes
  • 1 Mbyte

Questão 49

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

Questão 50

Questão
In a terminal window, which command displays the name of the directory you are currently in?
Responda
  • dir
  • pwd
  • where
  • current-dir

Questão 51

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

Questão 52

Questão
Where can you set global shell enviroment variables for all users independent of their shell?
Responda
  • /etc/profile
  • /etc/profile.all
  • /etc/bash.local
  • /etc/bash.bashrc

Questão 53

Questão
You have set the following permissions on a test directory: rwxrwxrwx. Which statement about files in the test directory is correct?
Responda
  • 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.

Questão 54

Questão
Which key combination can you use to stop a process that runs in the foreground?
Responda
  • Ctrl +X
  • Ctrl +Z
  • Ctrl + Alt +X
  • Ctrl + Backspace

Questão 55

Questão
You want to redirect both output and error messages of the find command to the find-output file. Which command accomplishes this task?
Responda
  • 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

Questão 56

Questão
Which are benefits of using LVM? (Choose 4)
Responda
  • 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.

Questão 57

Questão
Within less, how do you search for a string downwards from where the cursor is positioned?
Responda
  • \string
  • ?string
  • /string
  • =string

Questão 58

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

Questão 59

Questão
Which are journaling file systems? (Choose 3)
Responda
  • XFS
  • ext2
  • ext3
  • VFAT
  • minix
  • VFAT32
  • ReiserFS

Questão 60

Questão
What is the type command used for?
Responda
  • 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)

Questão 61

Questão
What is the correct order of steps to change the partition table using fdisk?
Responda
  • 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.

Questão 62

Questão
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?
Responda
  • ls > ls-output
  • ls : ls-output
  • ls >> ls-output
  • ls && ls-output

Questão 63

Questão
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?
Responda
  • rm /tmp/data
  • rm -r /tmp/data
  • rmdir /tmp/data
  • deldir /tmp/data

Questão 64

Questão
Which statement about a CUPS Using Broadcasting configuration is correct?
Responda
  • 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

Questão 65

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

Questão 66

Questão
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?
Responda
  • lpr -P laser 1234
  • lprm -P laser 1234
  • lpremove -P laser 1234
  • lpadmin -d laser -r 1234

Questão 67

Questão
Which command is suitable for displaying the CPU load as a percentage?
Responda
  • w
  • top
  • nice
  • uptime

Questão 68

Questão
What action does the jobs command perform?
Responda
  • 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

Questão 69

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

Questão 70

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

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