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. Where to find the main apache config file?






2. httpd ___ to update the httpd package - automatically answering yes to all the questions






3. rpm ____ [name of package] to verify the package - once you have manually imported the key






4. Some computers built before 1998 may have a BIOS that limits access to hard disks beyond the 1024th cylinder. Some older BIOSs report only 1024 cylinders on a hard drive no matter how many actual cylinders are present. Computers that are subject to t






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






6. ____ is used to modify file system parameters






7. Virtual Host Configuration: Names the URL for the virtual host.






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






9. What parts of rhel6 should be installed to separate volumes?






10. How to make sure apache starts automatically on next reboot?






11. If you configure other directories for Web services - you'll need to change their ACL settings. For example - if you create and then use the /www directory - run the following commands:






12. 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






13. 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






14. Create a disk label for the partition table called k






15. 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.






16. What command starts the same menu as the text-mode First Boot process?






17. Apache supports security by specifying active ports through the Listen and ____ directives.






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






19. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.






20. This line placed in /etc/hosts.deny sends a customized error message for Telnet users on the crack.org domain saying sorry [insert client info] - access denied






21. How to start the vsftp service automatically on boot?






22. To list under which run levels the web service will start






23. The simplest way to install Apache






24. How to install vsftpd?






25. The main Squid configuration file is ____/squid.conf






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






27. 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:






28. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv






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






30. 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






31. What is the standard directory for file sharing with vsFTP?






32. How to start the vsftp service?






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






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






35. How do you restart the apache web server?






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






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






38. How to start apache service?






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






40. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____






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






42. To check status of ftp daemon






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






44. ____ can expand and shrink ext2 and ext3 file systems






45. If in doubt about package names - you can find them in the ...






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






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






48. For SELinux - you'll at least want to use the Security Level Configuration tool to activate the Allow Squid Daemon To Connect To The Network option - also known as the squid_connect_any boolean. Alternatively - you can activate this boolean with the






49. 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






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