Certified Linux Administrator SUSE 11

Beschreibung

A-Level Linux Quiz am Certified Linux Administrator SUSE 11, erstellt von Giovanni Gonzalez Moreno am 22/11/2014.
Giovanni Gonzalez Moreno
Quiz von Giovanni Gonzalez Moreno, aktualisiert more than 1 year ago
Giovanni Gonzalez Moreno
Erstellt von Giovanni Gonzalez Moreno vor mehr als 9 Jahre
78
0

Zusammenfassung der Ressource

Frage 1

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

Frage 2

Frage
Which statements about partitions are correct? (Choose 3)
Antworten
  • 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

Frage 3

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

Frage 4

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

Frage 5

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

Frage 6

Frage
Which statement about symmetric encryption is correct?
Antworten
  • 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.

Frage 7

Frage
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?
Antworten
  • 0
  • 1
  • 3
  • 100
  • 1000
  • Depends

Frage 8

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

Frage 9

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

Frage 10

Frage
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?
Antworten
  • sos program
  • info program
  • help program
  • wiki program

Frage 11

Frage
Which statements about PAM are correct? (Choose 3)
Antworten
  • 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

Frage 12

Frage
What is the difference between the /dev/st0 and /dev/nst0 devices?
Antworten
  • /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.

Frage 13

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

Frage 14

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

Frage 15

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

Frage 16

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

Frage 17

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

Frage 18

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

Frage 19

Frage
Which statement about the /sbin/ldconfig command is correct?
Antworten
  • 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.

Frage 20

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

Frage 21

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

Frage 22

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

Frage 23

Frage
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?
Antworten
  • rsync -a /home /backup
  • rsync -a /home/ /backup
  • rsync -a /home/* /backup
  • rsync -a /home/? /backup

Frage 24

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

Frage 25

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

Frage 26

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

Frage 27

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

Frage 28

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

Frage 29

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

Frage 30

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

Frage 31

Frage
Which statement regarding symbolic links is true? (Choose 2)
Antworten
  • 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.

Frage 32

Frage
Which statement about the sudo command is correct?
Antworten
  • 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

Frage 33

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

Frage 34

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

Frage 35

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

Frage 36

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

Frage 37

Frage
Which statements about the Linux boot process are correct? (Choose 3)
Antworten
  • 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

Frage 38

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

Frage 39

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

Frage 40

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

Frage 41

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

Frage 42

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

Frage 43

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

Frage 44

Frage
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)
Antworten
  • Alerts
  • Users
  • Filters
  • Sources
  • Log Paths
  • Destinations
  • Date and Time

Frage 45

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

Frage 46

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

Frage 47

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

Frage 48

Frage
How large is an inode?
Antworten
  • 256 bits
  • 64 Kbytes
  • 128 bytes
  • 1 Mbyte

Frage 49

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

Frage 50

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

Frage 51

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

Frage 52

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

Frage 53

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

Frage 54

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

Frage 55

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

Frage 56

Frage
Which are benefits of using LVM? (Choose 4)
Antworten
  • 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.

Frage 57

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

Frage 58

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

Frage 59

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

Frage 60

Frage
What is the type command used for?
Antworten
  • 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)

Frage 61

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

Frage 62

Frage
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?
Antworten
  • ls > ls-output
  • ls : ls-output
  • ls >> ls-output
  • ls && ls-output

Frage 63

Frage
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?
Antworten
  • rm /tmp/data
  • rm -r /tmp/data
  • rmdir /tmp/data
  • deldir /tmp/data

Frage 64

Frage
Which statement about a CUPS Using Broadcasting configuration is correct?
Antworten
  • 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

Frage 65

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

Frage 66

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

Frage 67

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

Frage 68

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

Frage 69

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

Frage 70

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