Red Hat Certified Systems Administrator
(EX200) - RHEL7 Exam Questions And
Answers 100% Verified And Updated.
What command would you execute to view the default systemd target / runlevel? -
Answer✔systemctl get-default
What command would you execute to set the default systemd target to the functional equivalent
of runlevel 3? - Answer✔systemctl set-default multi-user
What command would you execute to set the default systemd target to the functional equivalent
of runlevel 5? - Answer✔systemctl set-default graphical.target
When using the "systemctl" utility, what is the default systemd type if omitted? -
Answer✔service
What actions would you perform in order to reset the root password on a RHEL7 system? -
Answer✔- Append "rd.break" to the respective kernel entry in GRUB2
- Boot system
- mount -o remount,rw /sysroot
- chroot /sysroot
- passwd
- touch /.autorelabel
- reboot
How much memory does RHEL7 support on a single host? - Answer✔3TB
What log file records the configuration entered during install? - Answer✔/root/anaconda-ks.cfg
What file lists the packages being installed during installation? - Answer✔/root/install.log
What log file stores general messages generated during the installation? -
Answer✔/root/install.log.syslog
What log file captures messages related to network interfaces? -
Answer✔/var/log/anaconda.ifcfg.log
1|Page
, ©FYNDLAY 2024/2025 ALL RIGHTS RESERVED.
What log file contains informational, debug, and other general messages? -
Answer✔/var/log/anaconda.log
What log file records messages related to the kernel? - Answer✔/var/log/anaconda.log
What log file stores X window information? - Answer✔/var/log/anaconda.xlog
What log file records messages generated by the yum and rpm commands during software
installation? - Answer✔/var/log/anaconda.packaging.log
What log file captures messages generated by external programs? -
Answer✔/var/log/anaconda.program.log
What log file records messages generated by storage modules? -
Answer✔/var/log/anaconda.storage.log
What log file contains messages related to yum packages? - Answer✔/var/log/anaconda.yum.log
Where are log files generated during installation, and where are they moved to when installation
is complete? - Answer✔/tmp; /var/log
What command would you execute to install graphical support? - Answer✔yum group install -y
'GNOME' 'X Window System'
What command would you execute to display the terminal name we are currently logged on to? -
Answer✔tty
What is the name of the standard virtualization toolset available with RHEL7? - Answer✔libvirt
What command would you execute to verify that your system supports virtualization in general?
- Answer✔lscpu | grep Virtualization
What command would you execute to verify that your system with an Intel processor will
support virtualization? - Answer✔grep vmx /proc/cpuinfo
What command would you execute to verify that your system with an Intel processor will
support virtualization? - Answer✔grep svm /proc/cpuinfo
What command would you execute to install all of the pertinent KVM virtualization packages? -
Answer✔yum group install "virtualization tools" "virtualization hypervisor" "virtualization
client" "virtualization platform" -y
What is the name of the first virtual switch that is created by default when libvirtd is started? -
Answer✔virbr0
What IP address will automatically be assigned to the default switch, virbr0? -
Answer✔192.168.122.1
What are two types of virtual network switch configuations that are supported by libvirt? -
Answer✔isolated and routed
2|Page
, ©FYNDLAY 2024/2025 ALL RIGHTS RESERVED.
What are isolated switches? - Answer✔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? - Answer✔Routed switches connect directly to the physical host's
network, allow guests to communicate directly to external hosts.
What is a storage pool? - Answer✔A storage pool is a storage area that is used for the provision
of storage to virtual machines
What command would you execute to create virtual machines and install RHEL in them? -
Answer✔virt-install
What command would you execute to launch the graphical utility for management of virtual
machines? - Answer✔virt-manager
What is the default location for storing virtual machine images? - Answer✔/var/lib/libvirt/images
What command would you execute to display a list of present virtual networks? - Answer✔virsh
net-list
What would you enter into an XML file to address the following objectives when creating a new
virtual network with the virsh utility?
1) Create a persistent NAT virtual network rhcsa7_xml?
2) Assign it subnet 192.168.3.0/24
3) Assign a gateway of 192.168.3.1
4) Assign a DHCP range of 192.168.3.2 to 192.168.3.254
5) Assign a port range of 1024 to 65535 - Answer✔<network>
<name>rhcsa7_xml</name>
<bridge name='virbr2' stp='on' delay='0' />
<forward mode='nat'>
<nat>
<port start='1024' end='65535'/>
</nat>
</forward>
<ip address='192.168.3.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.3.2' end='192.168.3.254' />
3|Page
, ©FYNDLAY 2024/2025 ALL RIGHTS RESERVED.
</dhcp>
</ip>
</network>
What command would you execute to create a new virtual network from a definition contained
within the file /home/stanky/rhcsa7.xml? - Answer✔virsh net-define /home/stanky/rhcsa7.xml
What command would you execute to set automatic start-up of the virtual network named
rhcsa7_xml? - Answer✔virsh net-autostart rhcsa7_xml
What command would you execute to start the virtual network named rhcsa7_xml? -
Answer✔virsh net-start rhcsa7_xml
What command would you execute to display details for the rhcsa7_xml network? -
Answer✔virsh net-info rhcsa7_xml
What command would you execute to define a new storage pool as type "dir" with a source path
of "- - - -" and a target path of the /var/lib/libvrirt/rhcsa7_pool directory? - Answer✔virsh pool-
define-as rhcsa7_pool dir - - - - /var/lib/libvirt/rhcsa7_pool
What command would you execute to set automatic start-up of the storage pool named
rhcsa7_pool? - Answer✔virsh pool-autostart rhcsa7_pool
What command would you execute to start the storage pool named rhcsa7_pool? -
Answer✔virsh pool-start rhcsa7_pool
What command would you execute to display all existent storage pools? - Answer✔virsh pool-
list
What command would you execute to display details for the rhcsa7_pool storage pool? -
Answer✔virsh pool-info rhcsa7_pool
What command would you execute to create a volume named rhcsa7_vol with a size of 25G
within a storage pool named rhcsa7_pool? - Answer✔virsh vol-create-as rhcsa7_pool rhcsa7_vol
25G
What command would you execute to install FTP server software? - Answer✔yum install -y
vsftpd
What command would you execute to add a permanent rule to the firewall to allow FTP traffic to
pass through? - Answer✔firewall-cmd --permanent --add-service=ftp && firewall-cmd --reload
What command would you execute to validate the syntax of a Kickstart file located at
/var/kick_me.ks? - Answer✔ksvalidator /var/kick_me.ks
What package would you install to provide the ksvalidator utility? - Answer✔pykickstart
wget placeholder - Answer✔
4|Page