RHSA Quiz2 Results congrats give a try again #1. Which file contains the RHEL system's hostname configuration? /etc/network /etc/network /etc/hosts /etc/hosts /etc/sysconfig/hostname /etc/sysconfig/hostname /etc/hostname /etc/hostname #2. In RHEL, which command is used to temporarily switch to another user account without logging out? runas runas switchuser switchuser su su userlogin userlogin #3. Which RHEL command is used to compress and decompress files and directories? tar tar compress compress unzip unzip gzip gzip #4. What is the primary configuration file for the RHEL DNS resolver? /etc/resolv.conf /etc/resolv.conf /etc/hosts /etc/hosts /etc/named.conf /etc/named.conf /etc/dnsmasq.conf /etc/dnsmasq.conf #5. Which RHEL utility is used for managing software repositories and updating software packages? rpm rpm dnf dnf yum yum apt-get apt-get #6. Which package management tool is used in RHEL 8 and later versions instead of “yum”? rpm rpm pkg pkg dnf dnf apt-get apt-get #7. In RHEL, what is the default directory for Apache web server configuration files? /etc/web /etc/web /etc/httpd /etc/httpd /etc/www /etc/www /etc/apache /etc/apache #8. Which RHEL command is used to display detailed information about the system's hardware? hardware hardware lshw lshw systeminfo systeminfo hwinfo hwinfo #9. What is the purpose of the “chmod” command in RHEL? To change file permissions To change file permissions To format a disk To format a disk To change file ownership To change file ownership To list processes To list processes #10. Which service is responsible for managing printing in RHEL? lpd lpd printd printd cups cups prnsvc prnsvc Next