(EX200) - RHEL7 UPDATED ACTUAL
Questions and CORRECT Answers
What command would you execute to view the default systemd target / runlevel? - CORRECT
ANSWER - systemctl get-default
What command would you execute to set the default systemd target to the functional equivalent
of runlevel 3? - CORRECT ANSWER - systemctl set-default multi-user
What command would you execute to set the default systemd target to the functional equivalent
of runlevel 5? - CORRECT ANSWER - systemctl set-default graphical.target
When using the "systemctl" utility, what is the default systemd type if omitted? - CORRECT
ANSWER - service
What actions would you perform in order to reset the root password on a RHEL7 system? -
CORRECT 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? - CORRECT ANSWER - 3TB
What log file records the configuration entered during install? - CORRECT ANSWER -
/root/anaconda-ks.cfg
,What file lists the packages being installed during installation? - CORRECT ANSWER -
/root/install.log
What log file stores general messages generated during the installation? - CORRECT
ANSWER - /root/install.log.syslog
What log file captures messages related to network interfaces? - CORRECT ANSWER -
/var/log/anaconda.ifcfg.log
What log file contains informational, debug, and other general messages? - CORRECT
ANSWER - /var/log/anaconda.log
What log file records messages related to the kernel? - CORRECT ANSWER -
/var/log/anaconda.log
What log file stores X window information? - CORRECT ANSWER -
/var/log/anaconda.xlog
What log file records messages generated by the yum and rpm commands during software
installation? - CORRECT ANSWER - /var/log/anaconda.packaging.log
What log file captures messages generated by external programs? - CORRECT
ANSWER - /var/log/anaconda.program.log
What log file records messages generated by storage modules? - CORRECT ANSWER -
/var/log/anaconda.storage.log
What log file contains messages related to yum packages? - CORRECT ANSWER -
/var/log/anaconda.yum.log
,Where are log files generated during installation, and where are they moved to when installation
is complete? - CORRECT ANSWER - /tmp; /var/log
What command would you execute to install graphical support? - CORRECT 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? -
CORRECT ANSWER - tty
What is the name of the standard virtualization toolset available with RHEL7? - CORRECT
ANSWER - libvirt
What command would you execute to verify that your system supports virtualization in general?
- CORRECT ANSWER - lscpu | grep Virtualization
What command would you execute to verify that your system with an Intel processor will
support virtualization? - CORRECT ANSWER - grep vmx /proc/cpuinfo
What command would you execute to verify that your system with an Intel processor will
support virtualization? - CORRECT ANSWER - grep svm /proc/cpuinfo
What command would you execute to install all of the pertinent KVM virtualization packages? -
CORRECT 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? -
CORRECT ANSWER - virbr0
What IP address will automatically be assigned to the default switch, virbr0? - CORRECT
ANSWER - 192.168.122.1
, What are two types of virtual network switch configuations that are supported by libvirt? -
CORRECT ANSWER - isolated and routed
What are isolated switches? - CORRECT 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? - CORRECT ANSWER - Routed switches connect directly to
the physical host's network, allow guests to communicate directly to external hosts.
What is a storage pool? - CORRECT 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? -
CORRECT ANSWER - virt-install
What command would you execute to launch the graphical utility for management of virtual
machines? - CORRECT ANSWER - virt-manager
What is the default location for storing virtual machine images? - CORRECT ANSWER -
/var/lib/libvirt/images
What command would you execute to display a list of present virtual networks? - CORRECT
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