Which command enables you to view the current IRQ assignments? Configuration of udev devices is done by working with files in which directory? Which command is used to automatically load a module and its dependencies? During boot of a system with GRUB, which key can be pressed to display the GRUB menu? Which command can be used to view the kernel ring buffer in order to troubleshoot the boot process? Which statement best describes the following, displayed using the ls Which command is used with Which option to Which command and option can be used to determine whether a given service is currently loaded? When partitioning a disk for a mail server running postfix, which partition/mounted directory should be the largest in order to allow for mail storage? Which YUM option displays the dependencies for the package specified? Which options for an Which command will search for a package named Which Which of the following command lines would monitor a single process called nagios in a continuous manner? Which option to The SAN has crashed again, and one of the filesystems in a Linux server has become significantly corrupt as a result. Which command and option can be used to attempt to examine the contents of the drive without causing more damage? Which of the following commands helps you to determine information about a given window within an X session, including information on the window size and its position? Which file is used to indicate the local time zone on a Linux server? Within which directory will you find files related to the time zone for various regions? Within which directory should you place files in order for the files to be copied to a user’s home directory when the user is created? Which command displays a list of jobs currently scheduled with Which of the following encodings provides a multibyte representation of characters? On which port does LDAP over SSL operate? Which of the following commands will set an account to expire based on the number of days elapsed since January 1, 1970? Which option to SSH enables the use of a key for authentication? In a scripting scenario, you need to prevent Which runlevel is typically used for single user mode, as indicated in Which of the following commands provides an overview of the current memory usage along with swap space and its current utilization? Which of the following commands can be used to display the current disk utilization, including free space? Which of the following commands displays CPU-related performance information a total of 10 times gathered every two seconds? Which option to You are working with a legacy CentOS 5 system and need to re-create the initial RAM disk. Which of the following commands is used for this purpose? Which compression method is used for creation of a bzImage? Which options to the What is the name of the unit to which a Which command is used to format a swap partition? You see the word Which command is used to remove unused filesystem blocks from thinly provisioned storage? Which option to Which of the following commands creates a logical volume with LVM? Which of the following commands shows network sockets and their allocated memory? When troubleshooting a potential hardware problem, you need to determine which physical interface is being used for a certain address. One way to accomplish this is with the Which of the following Which option to the When creating MX records for a zone, which of the following is the highest-priority mail exchanger? On which protocol and port are zone transfer requests sent? Which type can be used with the Which of the following files is used to define the filesystems shared by NFS? Which option in You are troubleshooting an authentication issue for a user. You believe the system uses local files and LDAP for authentication. Which of the following lines in Which of the following commands can be used to generate a private and public key pair for authentication with SSH? Which file contains a list of keys that will be accepted for authentication for a given user? A newly added SATA disk is not showing up during the boot process. Where can you check to begin troubleshooting this issue? Which of the following commands will set the environment variable Which option in You are creating a bash script of user information. Which of the following commands prints the username and real name of all users in Which Which of the following commands is necessary for making a variable defined in your current shell available to child processes? You are watching another administrator perform some work on a server. As part of that work, the admin uses the following command:
Which of the following shows a valid bash function called Which option to Which command option can be used to remove all cron jobs for a given user using the Which command is used to parse log-file entries on a Which of the following syslog facilities captures messages from the Which port needs to be allowed through the firewall for standard LDAP traffic to be received by the server? Which of the following is the correct syntax to connect to Which option to the When working with a patch file, which option can be used to have the patching process ignore whitespace? When using the Which option to Which When performing an Which option to Which option to the A piece of software on client machines that listens for connections and executes commands on behalf of the server in an orchestration is commonly known as which of the following? Which escape characters represent a carriage return and newline in bash? Which file test within a bash script checks to see if the file exists? Which of the following will execute a bash script called When testing an exclude pattern for a Which of the following characters is used to redirect Which option to the Which option to the Which of the following commands shows the current default route without performing DNS lookups on the IP address(es) involved? Which tool can be used to measure the memory usage of individual processes in order to aid in capacity planning? When viewing statistics with What time intervals are represented by the three numbers in the load-average output obtained with the Which option to When using You are having difficulty with shared libraries on the system. Which of the following commands will print the current directories and libraries in the cache?
view /proc/irq
cat /proc/interrupts
cat /dev/irq
less /dev/irq
/udev/devices
/devices/
/udev/config
/etc/udev
modprobe
lsmod
insmod
rmmod
lsboot
boot-log
krblog
dmesg
-l
a command?lrwxrwxrwx. 1 root root 35 Jul 8 2014 .fetchmailrc -> .configs/fetchmail/.fetchmailrc
.fetchmailrc
that is linked using a symbolic link..configs/fetchmail/.fetchmailrc
that is owned by lrwxrwxrwx..fetchmailrc
that is owned by user Jul..configs/fetchmail/.fetchmailrc
.systemd
in order to list the available service units?
systemd list-units
systemctl list-units
systemd unit-list
systemctl show-units
lspci
is used to display both numeric codes and device names?
-numdev
-n
-nn
-devnum
systemctl --ls
telinit
systemctl status
sysctl -a
/etc
/usr/bin
/mail
/var
list
deplist
dependencies
listdeps
rpm
command will display verbose output for an installation along with progress of the installation?
-ivh
-wvh
--avh
--ins-verbose
zsh
on a Debian system?
apt-cache search zsh
apt-get search zsh
apt-cache locate zsh
apt-search zsh
rpm
option can be used to verify that no files have been altered since installation?
-V
-v
--verbose
--filesum
top -n 1
top -p 23
ps -nagios
top -p`pidof nagios`
xfs_metadump
displays a progress indicator?
-g
-p
-f
-v
fdisk -f
mke2fs -c
debugfs -c
ls -a
xkbinfo
xdspy
xwininfo
xver
/etc/timez
/etc/timezoneconfig
/etc/localtime
/etc/localtz
/etc/timezoneinfo
/etc/zoneinfo
/var/zoneinfo
/usr/share/zoneinfo
/etc/skel
/etc/homedir
/home/usertemplate
/etc/template
at
?
atlist
atq
atl
at --jobs
passwd -e
chage -E
usermod -l
chguser
-i
-k
-f
--key
sudo
from prompting for credentials or for any other reason. Which option to sudo
is used to indicate this?
-n
--noprompt
-i
-q
/etc/inittab
?
mem
free
pstat
swap
df
du
diskutil
diskuse
sar -u 2 10
sar -u 10 2
sar -u 2
uptime -t
iostat
causes the display to output in megabytes?
-k
-l
-m
-o m
mkinitrd
mkramdisk
mkdisk --init
mkfs.init
fsck
command will find and automatically assume that it should repair errors that it finds?
-ry
-vy
-my
-xy
systemd
system is booted in order to start other levels?
default.target
init.target
initial.target
load.target
mkfs -swap
mkswap
format -swap
mksw
defaults
within /etc/fstab
. Which options are encompassed within the defaults?
ro
, exec
, auto
rw
, suid
, dev
, exec
, auto
, nouser
, async
rw
, exec
, auto
, nouser
, async
rw
, exec
, nouser
, async
, noauto
, suid
thintrim
thtrim
fstrim
fsclean
mdadm
is used to create a new array?
--create
--start
--begin
--construct
lvc
lvcreate
lvlist
lvmake
ss -m
mpas
mem
free
ping
command in order to monitor the activity lights on the device. Which of the following options to ping
will flood the interface with ECHO_REQUEST
packets?
-e
-a
-c
-f
dd
commands reads and writes bytes one megabyte at a time?
dd bsl=1024M
dd size=1M
dd bs=1M
dd rw=1M
rsync
command examines only the file size as a means of determining whether the file should be synchronized?
--filesize
--size-only
--list-size
--file-size
dig
command to test a zone transfer?
xfr
transfer
zxfr
axfr
/etc/nfs.cfg
/etc/nfs.conf
/etc/export.nfs
/etc/exports
dhcpd.conf
specifies the maximum amount of time that a client is allowed to have a DHCP lease?
max-time
max-lease-time
lease-max
maximum-lease-duration
/etc/nsswitch.conf
shows those authentication mechanisms?
passwd: files ldap
passwd [files ldap]
auth: local ldap
auth: localfiles ldap
ssh-createkey
sshkey
ssh-key
ssh-keygen
~/ssh/keys
~/.ssh/pubkeys
~/.ssh/keyauth
~/.ssh/authorized_keys
debugfs
fdisk
utilityJAVA_PATH
equal to /home/user/java2
when using the bash shell?
invoke JAVA_PATH=/home/user/java2
export JAVA_PATH=/home/user/java2
envvar JAVA_PATH=/home/user/java2
echo JAVA_PATH=/home/user/java2
.bashrc
sets the number of commands to keep in the .bash_history
file?
HISTLIMIT
HISTORYFILE
HISTFILESIZE
HISTNUM
/etc/passwd
in a tab-separated format?
cut -d: -f 1,6 /etc/passwd
sed ’s/://’ /etc/passwd
awk -F: ’{print $1,$5}’ OFS=" " /etc/passwd
cat -o " " /etc/passwd
git clone
command will clone a repository called portalutils
into a directory called utils
?
git clone ssh://sourcehost/portalutils -d utils
git clone ssh://sourcehost:/portalutils utils
git clone ssh://sourcehost/:portalutils utils
git clone ssh://sourcehost::portalutils -d utils
export
source
let
def
. variables.sh
. variables.sh
?
let variables.sh
set variables.sh
source variables.sh
var variables.sh
sayHello
?
function sayHello() { echo "hello"; }
function sayHello{}
function sayHello() { echo Hello }
function sayHello() { echo Hello } ;
useradd
sets the number of days between password expiration and when the account is disabled?
-n
-f
-e
-g
crontab
command?
-d
-e
-r
-l
systemd
-based system?
logger
journalentry
jrnctl
journalctl
lp
printing facility?
auth
messages
lpr
root
host.example.com
using SSH on port 2200?
ssh -l 2200 host.example.com
ssh host;example.com
ssh host.example.com:2200
ssh host:2200 -d example.com
tar
command preserves permissions?
-x
-v
-z
-p
-w
-i
-e
-p
dm-crypt
command, which type of encryption is used by default?
journalctl
displays the output in reverse, with newest entries first?
-n
-r
-f
-b
systemd
target can be used as an alternative to rescue mode when recovery is not possible in rescue mode?
emerg
recover
control-recover
emergency
rsync
across devices, you receive errors that file ownership cannot be preserved, likely due to missing users or groups on the destination system. Which option should be removed from the rsync
options in order to not preserve user and group ownership?
-go
-o
-no-ownership
-remove-owners
ping
enables the bypass of the routing tables?
-q
-r
-b
-A
patch
command makes a backup of files?
-d
-b
-s
-c
enter
c
-f
-o
-l
-p
test.sh
even if the execute bit is not set?
./test.sh
test.sh --execute
bash test.sh
run test.sh
.gitignore
file, which git
command and option can be used to see the results of what will be ignored?
git ls-files -i --exclude-standard
git ls-files --ignored
git show-ignored
git -ls ignored
STDIN
, sending the contents of a file called file.txt
into a script called script.sh
?
script.sh < file.txt
script.sh | file.txt
file.txt | script.sh
./script.sh > file.txt
tune2fs
command sets the maximum mount count before the system will automatically run fsck
on the partition on boot?
-b
-c
-C
-a
mount
command can be used to simulate the mount process without actually mounting the filesystem?
-q
-v
-l
-f
netstat -rn
netstat -n
netstat -r
netstat -f
ps
iotop
iostat
ifconfig
vmstat
, which statistic represents the time that the CPU spent waiting for I/O?
sy
us
wa
io
uptime
command?
sysctl
displays all values and their current settings?
-a
-b
-d
-c
systemctl
to kill a process, what is the default signal sent to a process?
SIGKILL
SIGTERM
SIGINT
SIGCALL
ldconfig -C
ldd -f
ldconfig -p
ldd -b