Frage 1
Frage
Operations on the directory stack manipulate the top item in the stack only
Frage 2
Frage
graphical.target is equivalent to the old runlevel 3
Frage 3
Frage
Which of the following items can appear in the user_list element on a configuration line in the /etc/sudoers file?
Frage 4
Frage
The Pluggable Authentication Module (PAM) is a facility that supports using multiple authentication methods while providing a common interface to common applications or services seeking to authenticate a user.
Frage 5
Frage
Before executing any command, the bash shell pre-processes the command line to make sure it is syntactically correct and all necessary expansions have been done.
Frage 6
Frage
In what directory are most system configuration files stored?
Frage 7
Frage
The /etc/sudoers configuration file should only be edited using the visudo or sudo -e commands to avoid syntax errors in the file.
Frage 8
Frage
The /tmp directory is a working directory for temporary files that is accessible to any user on a Linux system.
Frage 9
Frage
Which of the following is NOT part of a system administrator's duties?
Antworten
-
Backup the system on a regular basis
-
Enter customer orders into the sales database system
-
Secure the system against deliberate and accidental breaches
-
Keep the system running well enough to support business/user needs
Frage 10
Frage
Which of the following is NOT a valid variable name in a shell script?
Frage 11
Frage
The chsh command temporarily changes the current user's shell
Frage 12
Frage
Where is PAM configuration stored on a Fedora or RedHat system?
Antworten
-
/etc/PAM.conf
-
/etc/pam.conf
-
/etc/pam.d file
-
/etc/pam.d/ directory
Frage 13
Frage
In the following line of output from the ls -l command, what does the b at the beginning of the line mean?
brw-rw----, 1 root disk 8, 1 Dec 31 17:02 sda1
Frage 14
Frage
Assuming that the following alias command is included in a user's ~/.barshc file,
alias t="tar -v"
and the user types the following at the shell prompt,
t -zcf /tmp/test.tar test.txt
What would the actual command executed be?
Antworten
-
t -zcf /tmp/test/tar test.txt
-
tar -zcf /tmp/test/tar test.txt
-
tar -v -zcf /tmp/test/tar test.txt
-
○ t -v /tmp/test/tar test.txt
Frage 15
Frage
In which of the following startup files or directories should user-specific configuration settings be put?
Antworten
-
~/.bashrc
-
/etc/profile.d/
-
~.bash_profile
-
/etc/profile
-
/etc/bashrc
Frage 16
Frage
What is the command to start X windows when a Linux system is running at the multi-user.target level?
Frage 17
Frage
When using the Logical Volume Manager facility, all disk space can be placed under the control of that facility.
Frage 18
Frage
What is the default target on Fedora Linux systems?
Antworten
-
graphical.target
-
multi-user.target
-
basic.target
-
getty.target
Frage 19
Frage
What is the purpose of the HISTSIZE environment variable?
Antworten
-
Sets the number of commands stored in the history memory cache and the history file
-
Sets the number of commands stored in the history file
-
Sets the history file name
-
Sets the number of commands stored in the history memory cache
Frage 20
Frage
One of the reasons that the systemd deamon replaced the old System V init daemon in order to support newer hardware technologies.
Frage 21
Frage
When typing a command at the shell prompt it is possible to type part of a command name and then use the TAB key to complete the command, if the part of the command entered is unique.
Frage 22
Frage
The ext3, ext4 and xfs file systems all support journaling but are not commonly used.
Frage 23
Frage
Which of the following commands, when used with the appropriate options, displays a list the process ID numbers for all processes running a certain command
Frage 24
Frage
The $0 parameter of a shell script always contains the name of the script.
Frage 25
Frage
Which of the following methods of gaining root privilege is the least advisable?
Antworten
-
setuid
-
sudo
-
su
-
Log in as root
Frage 26
Frage
Which of the following shells is currently used to prevent a non-privileged user from logging in interactively?
Antworten
-
/bin/nologon
-
/bin/bash
-
/bin/false
-
/bin/tsh
Frage 27
Frage
fschk can check and repair a mounted file system.
Frage 28
Frage
Which of the following commands displays recent system messages?
Antworten
-
logger
-
mesg
-
dmesg
-
logprint
Frage 29
Frage
The ~/.inputrc file is used to configure which of the following history manipulation methods?
Antworten
-
history
-
readline history
-
!
-
fc
Frage 30
Frage
A package manager is a software tool designed to assist system administrators with the management of software on a Linux system.
Frage 31
Frage
The ldd command is used to funnily configure a chroot environment.
Frage 32
Frage
What is the output of the command:
df -h
Antworten
-
A list of the mounted file systems with all size information shown in human readable form
-
A list of the mounted file systems with all size information shown in blocks
-
The fragmentation state of each disk on the system
Frage 33
Frage
Gaining root privilege on a system with multiple administrators is a bad method because it involves sharing the password between several people.
Frage 34
Frage
When multiple interactive bash shells are opened by a user, the history for all of the shells will be saved to disk as each is closed.
Frage 35
Frage
Administrative (root) privilege on a Linux system should be granted to anyone who asks for it.
Frage 36
Frage
Which of the following is NOT an advantage of using sudo?
Antworten
-
Customized privilege settings can be created on a group-by-group basis
-
Customized privilege settings can be created on a user-by-user basis
-
No one needs to know the root password
-
The root password is shared amongst system administrators
Frage 37
Frage
Which of the following commands lists the contents of a package?
Antworten
-
rpm -q <package>
-
rpm -qa <package>
-
rpm -ql <package>
-
rpm -qf <package>
Frage 38
Frage
Which of the following commands will report weather the sshd daemon is set to automatically start at some target level?
Frage 39
Frage
What does the 2>&1 mean in the following command?
find * >/tmp/find_out.txt 2>&1
Antworten
-
Standard error is sent to the user's terminal screen
-
Standard output is sent to the same file or device as standard error
-
Standard error is sent to the same file or device as standard output
-
Standard error is sent to the bit bucket
Frage 40
Frage
What is the output of the following command?
du -s
Antworten
-
A single line of output giving the size and contents of the current directory and all its subdirectories in blocks
-
A single line of output giving the size of contents of the current directory and all its subdirectories in human readable form
-
A summary of the sizes of all files and directories in the current directory in blocks
-
A summary of the sizes of all files and directories in the current directory in human readable form
Frage 41
Frage
Which process in the following jobs command output will be affected by issuing the fg command without parameters?
user@f1 ~]$ jobs
[1] Running sleep 300 &
[2]- Running sleep 400 &
[3]+ Running sleep 500 &
Frage 42
Frage
The growfs command can be used to increase the size of a filesystem.
Frage 43
Frage
TCPWrappers is a daemon based security facility that limits access to the daemon based on IP address.
Frage 44
Frage
What program is running in the process associated with a physical or virtual terminal prior to a user logging on?
Frage 45
Frage
The nnswitch facility provides a means to define diverse sources of information (e.g. hostnames, user information) for use by a Linux system. It can decide where to find information and what order to search the various sources.
Frage 46
Frage
Security Enhanced Linux implements a discretionary access control tool.
Frage 47
Frage
The default installation of SELinux uses which of the following mode and policy configurations?
Frage 48
Frage
Functions are a technique that can be used to add custom operations to a Linux system on a global or user-by-user basis. All custom operations should be added using functions no matter what the complexity or size of the new operations.
Frage 49
Frage
Which of the following commands sets the X windows pointing device (mouse) for right-handed use?
Antworten
-
xmodmap -e 'pointer = 3 2 1 4 5'
-
xmodmap -e 'pointer = 3 1 2 4 5'
-
xmodmap -e 'pointer = 1 2 3 4 5'
-
xmodmap -e 'pointer = 1 3 2 4 5'
Frage 50
Frage
What is the default desktop environment used by Fedora and RedHat systems?
Antworten
-
GNOME
-
multi-user.target
-
graphical.target
-
KDE
Frage 51
Frage
Given the initial directory stack containing the following entries:
~/testdir/dir2/dir2-1 ~/testdir/dir1/dir1-1 ~/testdir/ ~
what would the stack contain if the pushd command was issued with no parameters?
Antworten
-
~/testdir/ ~ ~/testdir/dir2/dir2-1 ~/testdir/dir1/dir1-1
-
~/testdir/dir1/dir1-1 ~/testdir/dir2/dir2-1 ~/testdir/ ~
-
~/testdir/dir2/dir2-1 ~/testdir/dir1/dir1-1 ~/testdir/ ~
-
~/testdir/ ~/testdir/dir2/dir2-1 ~/testdir/dir1/dir1-1 ~
Frage 52
Frage
Which of the following commands clears the screen on a Linux terminal?
Frage 53
Frage
Some organizations lock the root account. Others use a very long complex root password that is not known to the system administrators. Both of these approaches are valid when sudo is used for system administration.
Frage 54
Frage
What does the parameter $@ contain?
Antworten
-
This parameter contains all of the parameters of the current shell script including the name of the script
-
This parameter contains all of the parameters of the current shell script except the name of the script
-
The last parameter of the current script
-
The first parameter of the current script
Frage 55
Frage
Which of the following commands includes a processes' PID in their output?
Frage 56
Frage
When an external command is invoked from a bash shell it always runs as a separate process from the shell's process.
Frage 57
Frage
The source builtin command is used to load/reload startup files.
Frage 58
Frage
If the su command is issued without specifying a user, which user is assumed?
Frage 59
Frage
Which of the following are characteristics of the xfs file system?
Antworten
-
Very large file system sizes
-
Journaling
-
Live file system expansion and defragmentation
-
Poor backup functionality when compared to ext4
Frage 60
Frage
What is the result of issuing the following bash builtin command?
history 20
Antworten
-
Lists the 20 most recently used commands
-
Lists 20 randomly chosen commands from history
-
Lists the 20 least recently used commands
Frage 61
Frage
What is the effect of placing the line
ALL: ALL
into the /etc/hosts.deny files while leaving /etc/hosts.allow empty?
Antworten
-
Allow connections to all daemons from any IP address
-
Disallow connections to all daemons from any IP address except 127.0.0.1
-
Disallow connections to all daemons from any IP address
Frage 62
Frage
What is the purpose of the dirs command?
Antworten
-
Display the contents of the directory stack
-
Swap entries in the directory stack
-
Remove entries from the directory stack
-
Add entries to the directory stack
Frage 63
Frage
What does the following command do?
yum group install Robotics
Antworten
-
Install all packages whose names contain with Robotics
-
Install all packages whose names begin with Robotics
-
Install all packages whose names end with Robotics
-
Installs of the packages contained within the group named Robotics
Frage 64
Frage
What is the change command used for?
Antworten
-
Change the expiry date on a user's account
-
calculate a user's age based on the information in that user's account
-
Change the date of birth information stored in a user's account
-
change password ageing parameters associated with a user's account
Frage 65
Frage
The CUPS printer server offers which of the following facilities?
Antworten
-
Printer hardware configuration
-
Printer class (group) management
-
printer queue configuration and management
-
Print job queueing and management
Frage 66
Frage
Which of the following commands lists all of the devices (printers) configured on the local system?
Frage 67
Frage
User and group ID numbers must be unique on Linux systems.
Frage 68
Frage
Which of the job scheduling facilities available on a Linux system execute jobs repeatedly at the specified time, provided that the system is available at the specified time?
Frage 69
Frage
CUPS supports printing to: locally connected printers, networked printers, and printers shared by other computers.
Frage 70
Frage
How can CUPS be configured?
Frage 71
Frage
Which of the following is the language that almost every printer will accept?
Frage 72
Frage
Where is local user account information stored on a Linux system?
Antworten
-
/etc/passwd and /etc/shadow
-
/etc/group and /etc/shadow
-
/etc/passwd and /etc/group
Frage 73
Frage
Which of the following is not one of the things that should be available when building and installing a new kernel?
Antworten
-
Remove all previous kernels from the system
-
Backup the filesystem
-
Have the OS installation media available
-
Do not remove the last known working kernel from the system
Frage 74
Frage
It is possible to lock a user account. This is achieved by which of the following?
Antworten
-
Changing the password to a single %
-
Changing the password to a single !
-
Placing a % at the beginning of the password
-
Placing a ! at the beginning of the password
Frage 75
Frage
Print servers can be built into a printer or run as a daemon on a computr system.
Frage 76
Frage
You have just downloaded some software in a file named mailer.tar.gz. Which of the following commands would you use to install the software into the current directory assuming that mailer.tar.gz is also in the current directory?
Antworten
-
tar -zxf mailer.tar.gz
-
gunzip mailer.tar.gz
-
unzip mailer.tar.gz
-
uncompress mailer.tar.gz
Frage 77
Frage
CUPS provides which of the following print job operations?
Antworten
-
Accepts and queues print jobs
-
Dispatches queued print jobs to active printers
-
Notifies the requesting user when a print job is complete
-
Cancels print jobs at the user's request
Frage 78
Frage
What is the purpose of the command:
yum check
Antworten
-
Check for available package updates
-
Check the status of the local yum database
-
Check the status of the local RPM database
Frage 79
Frage
Which of the following commands will display a list of all available packages with 'httpd' anywhere in their names?
Frage 80
Frage
Given the following line from a user cron settings
* * * * * /usr/bin/uptime
how often will the uptime command be run?
Antworten
-
once a minute
-
once a year
-
once a day
-
once an hour
-
once a month
Frage 81
Frage
Which of the following is not a reason to change the characteristics of a Linux kernel?
Antworten
-
Install a web server daemon
-
Create a specialized kernel for an embedded system
-
Use a non-default kernel configuration
-
Install a new hardware driver
Frage 82
Frage
Which of the following command pairs will allow users to submit print jobs to queue prt1 without the jobs being immediately printed?
Antworten
-
cupsreject prt1
cupsdisable prt1
-
cupsreject prt1
cupsenable prt1
-
cupsaccept prt1
cupsdisable prt1
-
cupsaccept prt1
cupsenable prt1
Frage 83
Frage
System-wide password rules can be set using which of the following commands?
Frage 84
Frage
The rpmdev-setuptree command creates a directory structure for building packages from the course in the home directory of the user that executed the command.
Frage 85
Frage
When an rpm file is downloaded from a website rather than from a repository, which utility or utilities can be used to install it?
Antworten
-
both rpm and yum
-
yum
-
Neither rpm nor yum
-
rpm
Frage 86
Frage
The kernel option names used in the /etc/sysctl.conf file and with the sysctl command are the same.
Frage 87
Frage
The option in the kernel.spec file
%define buildid .test1
causes the new kernel and all its associated package and configuration files to contain the string '.test1' to identify it as a custom kernel. Each time a kernel is built this option must be modified to uniquely identify the build.
Frage 88
Frage
The web interface for CUPS may have different printer definitions listed than the GUI program.
Frage 89
Frage
You have downloaded the source code for a program that is not part of your Linux distribution. In what order would you execute the following commands to set it up on your system? (1-4 selection)
Antworten
-
./configure (1)
-
Make (2)
-
make test (3)
-
make install (4)
Frage 90
Frage
On a Fedora Linux system, which of the following repositories are enabled by default?
Antworten
-
fedora
-
fedora-source
-
updates
-
updates-source
Frage 91
Frage
Which of the following commands is the best one for downloading kernel source code from a repository?
Antworten
-
yum install kernel.source
-
yumdownloader kernel.source
-
yum install source.kernel
-
yumdownloader --source kernel
Frage 92
Frage
The sysstat package contains a number of system statistic gathering and reporting tools. Which of the following are some tools in this package?
Antworten
-
nfsstat
-
sar
-
iostat
-
netstat
Frage 93
Frage
Which of the following files, related to GRUB configurations, should never be edited directly?
Antworten
-
/etc/grub.d/*
-
/boot/grub2/grub.cfg
-
/etc/default/grub
Frage 94
Frage
Which of the following packages are recommended prerequisites for building a new kernel?
Antworten
-
gcc
-
rpmdevtools
-
yum-utils
-
python
-
ncurses-devel
-
libglade2-devel
Frage 95
Frage
The only way to modify kernel characteristics is to build a new, custom kernel.
Frage 96
Frage
The command
yum install ntp bind
will download and install which of the following items?
Antworten
-
the bind package
-
all of the dependencies of the ntp package that are not already installed
-
all of the dependencies of the bind package that are not already installed
-
all updates that have not been installed for any package on the system
-
the ntp package
Frage 97
Frage
What is the purpose of the command
yum-builddep kernel-3.14.27-100.fc19.src.rpm
Antworten
-
Install all of the packages upon which the specified source package depends when the source within the package is built
-
Download, install and build all of the source code related to the specified package
-
Installs all of the build tools needed to build and install the sources within the specified package
Frage 98
Frage
The batch command forces scheduled jobs to run at the specified time no matter what the system load.
Frage 99
Frage
Package repositories are online storage sites for distribution packages, distribution update packages, but are never used for 3rd party packages.
Frage 100
Frage
Which of the following commands deletes the definition of printer prt1?
Antworten
-
lpadmin -p prt1 -x
-
lpstat -x prt1
-
lpadmin -p prt1 -d
-
lpstat -d prt1
Frage 101
Frage
CUPS page count quotas work only with PostScript print files
Frage 102
Frage
Given the commanduseradd -s /bin/bash/bash -d /home/joan -G wheel -g staff -c "Joan Smith" joan
what will Joan's primary group be?
Frage 103
Frage
CUPS can accept print jobs from: local users and processes, and remote system.
Frage 104
Frage
What does the following command produce as output:
yum list *kern*
Antworten
-
A list of all available package with the string 'kern' anywhere in its name
-
A list of all installed package with the string 'kern' anywhere in its name
-
A list of all known package without the string 'kern' anywhere in its name
-
A list of all known package with the string 'kern' anywhere in its name
Frage 105
Frage
Where are user cron job definitions stored?
Antworten
-
/var/spool/cron/*
-
/var/cron/*
-
/ext/crontab
-
/etc/cron.*
Frage 106
Frage
By default, CUPS accepts print jobs from both local users and processes, and remote system.
Frage 107
Frage
Which of the following commands will display the current value of the vm.drop_caches kernel parameter?
Frage 108
Frage
Which of the following commands can be used to create a new kernel configuration from scratch?
Antworten
-
make config
-
make menuconfig
-
make gconfig
-
make oldconfig
Frage 109
Frage
The command
sysctl -p /etc/sysctl.conf can be used to change the running kernel configuration without a reboot after editing the /etc/sysctl.conf file.
Frage 110
Frage
When the /etc/cups/cupsd.conf file contains the following configuration section, only network print requests from 127.0.0.1 (localhost) will be accepted.
<Location />
Order Allow Deny
Allow @LOCAL
</location>
Frage 111
Frage
A good approach to backing up a Linux system is to perform periodic full backups with incremental backups in between them.
Frage 112
Frage
For CUPS to be able to accept print jobs form remote systems using the IPP protocol, the local system's firewall must allow incoming traffic on which of the following ports?
Antworten
-
389 udp and tcp
-
53 tcp and udp
-
631 tcp and udp
-
81 tcp and udp
Frage 113
Frage
Which of the following commands can be used to backup a Linux system?
Frage 114
Frage
What does the $(arch) of the following command do?
rpmbuild -bp --target $(arch) kernel.spec
Frage 115
Frage
Which of the following is not a function of host-based print servers?
Antworten
-
Manage print queues
-
Assign an IP address to a network printer
-
Monitor print and queue status
-
Create a print queue and associate it with a printer
Frage 116
Frage
Which of the following commands can be used to create groups on a Linux system?
Antworten
-
useradd
-
system-config-users
-
groupmod
-
groupadd
Frage 117
Frage
Every user on a Linux system has a user ID number. Which of the following describes the way user ID numbers are assigned on modern Fedora/RHEL systems?
Antworten
-
0 - 999 system users
1000 - 65535 regular users
-
0 - 499 system users
500 - 32767 system users
-
0 - 499 system users
500 - 65535 regular users
-
0 - 999 system users
1000 - 35767 regular users
Frage 118
Frage
The yum and rpm utilities can be used to install, update and remove software packages that are distributed as source code within tar archive files without any intermediate steps
Frage 119
Frage
Which of the following are methods for permanently changing the configuration of a Linux kernel?
Antworten
-
editing the file /etc/sysctl.conf and rebooting the system
-
editing the files in, or adding new files to /etc/sysctl.d and rebooting the system
-
setting options using the sysctl command
-
building and installing a new kernel and then rebooting the system
Frage 120
Frage
Which of the following is not a protocol that CUPS supports for communicating with printers?
Frage 121
Frage
The yum utility should be used to install, update and remove software on a Linux system whenever possible.
Frage 122
Frage
Which of the following is not one of the factors that is used to determine if a kernel component is compiled into the kernel or made available as a loadable kernel module?
Antworten
-
Size
-
Frequency of use
-
Time to load
-
Execution complexity