Test your basic knowledge |

RHCE: Red Hat Certified Engineer

Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Use grep to count how many repositories have been configured in the file server1.repo

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


2. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____






3. To select a different device without having to restart parted - use the ____ command . Then - you can view its partition table or configure it.






4. What is the first post installation step?






5. How to install vsftpd?






6. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release






7. Use parted to display disk geometry for /dev/hda and end up in shell






8. After you edit /etc/exports - run service ___ stop...






9. Where is the vsftp pub dir?






10. what utility can be used to open port 80?






11. How to start apache service?






12. Are SELinux and iptables-based firewalls are enabled by default?






13. Create the basic cache directories in /var/spool/squid with the following command:






14. Where is the config dir for vsftpd?






15. The rpm ____ option installs the package - if it isn't already installed.






16. The RPM database also maintains an MD5 checksum of each file. With the checksum - you can use the ____ package command to determine whether any file from that RPM package has changed.






17. You need to configure firewalls and allow SELinux access in appropriate ways. Firewalls must allow access to the standard HTTP port - 80. SELinux must be configured to 'Allow HTTPD To Read Home Directories'. Finally - the ACL must be revised accordin






18. You can use the ____ tool after installation to add any package groups that you missed.






19. To update a kernel - 1) ____ 2) boot new kernel to test 3) revert to old kernel if problems 4) yum remove kernel-oldversion if no problems






20. rpm ____ verifies the installed zip rpm against the rpm database






21. Run the ____ command to find the device associated with the USB key.






22. As you may not have access to the GUI during the Red Hat exams - you need to know how to use text-based browsers. The standard is ____






23. In httpd.conf - '____ None' disables any .htaccess files. Otherwise - .htaccess can allow others to administer your server - starting from the DocumentRoot directory. If .htaccess is in a subdirectory - such as /var/www/html/data/ - the additional di






24. Where is the main apache data directory?






25. Perform a simple check of the file system. minor-num is x.






26. OS from http.conf - this line looks deceptively simple; it limits what readers see about your Web server when you browse to a nonexistent page. If you don't use this command - outsiders can see whether you've loaded modules such as Perl - Python - an






27. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive






28. Tthe file that might contain: oldvg - rootvg - etc.






29. The default Red Hat Enterprise Linux firewall blocks access to an NFS server. While inelegant - the following command 'flushes -' or turns off - the standard Linux firewall from the local computer.






30. _____ will change the size of /dev/rootvg/tmplv to 4 gig






31. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)






32. httpd ___ shows me what config files were installed when the httpd package was installed






33. rpm ____ to import the rpm key for integrity checking






34. '____ /var/www' will tell you the ACL settings of /var/www






35. If you want to create a database file named webpass in the /etc/httpd directory - for user 'e' - you'd start with the following command:






36. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:






37. This line placed in /etc/hosts.deny will mean that only computer allowed to access our Telnet server has an IP address of 192.168.1.10






38. What service is allowed through the default firewall?






39. You can check the status of your share. If it's working - you should see the contents of the /etc/exports directory when you run the following command:






40. Virtual Host Configuration: Sets a root directory for the virtual host.






41. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.






42. pam ___ will tell me if any files in the pam package have changed since it was first installed






43. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.






44. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon






45. To check status of ftp daemon






46. ____ configuration is not available via text mode RHEL installation.






47. Where is vsftpd.conf?






48. what port needs to be open to access ftp?






49. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?






50. rpm ____ to install kernel updates