Red Hat Certified Systems Administrator (EX200) - RHEL7
Exam All Questions And Correct Answers 100% Accurate
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
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
, 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>
Exam All Questions And Correct Answers 100% Accurate
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
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
, 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>