Red Hat Certified Systems Administrator
(EX200) - RHEL7 (Comprehensive)
After initiating the creation of a new partition, what are the partition types and
corresponding keys to enter in order to create them? - ANS-p - primary
l - logical
e - extended
As the root user, what command would you execute to display the home directory for
the "sphincter2000" user? - ANS-echo ~sphincter2000
How much memory does RHEL7 support on a single host? - ANS-3TB
In what directory can example DNS configuration files be found? -
ANS-/usr/share/doc/bind-*/sample/etc
In what directory is the database that commands such as whatis and apropos utilize for
man page information? - ANS-/var/cache/man
In what order are bash initialization files loaded? - ANS-/etc/profile, ∼/.bash_profile,
∼/.bashrc, and /etc/bashrc.
The subdirectory that contains journal logs is named after the hosts 128-bit machine ID,
which is stored in what file? - ANS-/etc/machine-id
True or false, hard symbolic links can traverse across different filesystems? - ANS-
False, only symbolic links can cross different filesystems
True or false, one must uncompress a g'zipped file before viewing it with the "less"
utility? - ANS-False. Less is able to directly view a g'zipped file.
True or false, you can shrink an XFS filesystem - ANS-False, you cannot shrink an XFS
filesystem
True or false, you must specify the "acl" mount option when you desire to use ACL's on
an XFS filesystem? - ANS-False, XFS supports ACL's by default
wget placeholder - ANS-
What actions would you perform in order to reset the root password on a RHEL7
system? - ANS-- Append "rd.break" to the respective kernel entry in GRUB2
- Boot system
- mount -o remount,rw /sysroot
- chroot /sysroot
,- passwd
- touch /.autorelabel
- reboot
What are isolated switches? - ANS-Isolated switches allow guests to communicate with
one another and with the host, but not to external networks, and uses NAT and
forwarding
What are routed switches? - ANS-Routed switches connect directly to the physical
host's network, allow guests to communicate directly to external hosts.
What are the binary files located that journald utilizes? - ANS-/run/log/journal/
What are the different codes and their description that can be output from an RPM
verification regarding the type of file? - ANS-c - Configuration file
d - Documentation file
g - Ghost file
l - License file
r - Readme file
What are the different codes and their descriptions that can be output from an RPM
verification regarding any variances detected? - ANS-S - File size is different
M - Permissions or file type is altered
5 - MD5 checksum doesn't match
D - If the file is a device file and the major or minor number has changed
L - If the file is a symbolic link and the referenced path has changed
U - User ownership has changed
G - Group ownership has changed
T - Timestamp has changed
P - Capabilities have changed
. - If not changed have been detected
What are the eleven permissions that can be applied to a principal via NFSv4 ACL's? -
ANS-r - Read file or list directory
w - Write to a file or create a new file in a directory
a - Append data to a file or create a subdirectory
x - Execute a script or change a directory
d - Delete the file or directory
t - Read the attributes of the file or directory
T - Write the attributes of the file or directory
c - Read the ACLs of the file or directory
C - Write the ACLs of the file or directory
y - Synchronize the file or directory
What are the facilities supported by Rsyslog? - ANS-auth, authpriv, cron, daemon, kern,
lpr, mail, news, syslog, user, uucp, and local0 through local7
,What are the five basic process states? - ANS-running, sleeping, waiting, stopped, and
zombie
What are the four SELinux attributes that are displayed from executing "ls -lZ"? - ANS-
user, role, type, MLS level
What are the pre-defined targets included in Systemd? - ANS-halt
poweroff (runlevel0)
shutdown
rescue (runlevel1)
multi-user (runlevel{2,3,4})
graphical (runlevel5)
reboot (runlevel6)
default
emergency
hibernate
suspend
hybrid-sleep
What are the priorities supported by Rsyslog? - ANS-emerg, alert, crit, error, warning,
notice, info, debug, and none.
What are the seven packages needed for a functional KVM installation? - ANS-libvirt,
libvirt-client, qemu-kvm, python-virtinst, virt-manager, virt-top, virt-viewer
What are the three modes available for SELinux - ANS-Permissive, enforcing, and
disabled
What are the three other "prinicpals" that can be referenced in an NFSv4 ACL, aside
from a directly specified user or group? - ANS-OWNER, GROUP, EVERYONE
What are the three types of contexts that SELinux manages? - ANS-objects, subjects,
and actions
What are the twelve unit types included in Systemd and their respective descriptions? -
ANS-service - Manages service daemons and their respective processes
socket - Manages IPC or network socket or a file system FIFO controlled and
supervised by systemd, for socket-based activation
device - Manages kernel device units as exposed in the sysfs/udev(7) device tree
mount - Manages file system mount points
automount - Manages file system automount points
, swap - Manages swap devices or files for memory paging
target - Manages target units of systemd, which are used for grouping units and as well-
known synchronization points during start-up
path - Manages paths monitored by systemd, for path-based activation
timer - Manages timers controlled and supervised by systemd, for timer-based
activation
snapshot - Snapshot units are not configured via unit configuration files, rather they
store the current state of all units and can be restored at a later date.
slice - Can be used to group units and hierarchially manages resources of a group of
processes
scope - Scope units are not configured via unit configuration files, rather are created
programmatically using the bus interfaces of systemd, and manage a group of system
processes
What are two types of virtual network switch configuations that are supported by libvirt?
- ANS-isolated and routed
What AutoFS configuration files provide auto-mounting and auto-unmounting of CIFS
filesystems? - ANS-/etc/auto.smb
What AutoFS configuration files provide auto-mounting and auto-unmounting of
removable filesystems? - ANS-/etc/auto.misc
What AutoFS script is executed to obtain a list of NFS servers and shares available
from them? - ANS-/etc/auto.net
What command would you enter within less in order to search forward for the string
"Nacho Momma" - ANS-/Nacho Momma
What command would you enter within less in order to search in reverse for the string
"Back that thang up" - ANS-?Back that thang up
What command would you execute to "freshen" the package /home/whizkid/gnome-
session-3.8.4-11.el7.x86_64.rpm? - ANS-rpm -F /home/whizkid/gnome-session-3.8.4-
11.el7.x86_64.rpm
What command would you execute to "scanalyze" the /var/log/audit/audit.log file and
automatically provide human-friendly details and suggested fixes for any SELinux-
related rejections / denials? - ANS-sealert -a /var/log/audit/audit.log