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. Virtual Host Configuration: Creates an custom log; the location is based on the DocumentRoot. (from http://www.books24x7.com/book/id_18196/viewer.asp?bookid=18196&chunkid=218985502)






2. Where to find the main apache config file?






3. How to install vsftpd?






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






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






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






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






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






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






10. Where is vsftpd.conf?






11. To check status of ftp daemon






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






13. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain






14. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.






15. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.






16. To install both mod_ssl and squid packages






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






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






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






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






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






22. The simplest way to install Apache






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






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






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






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






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






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






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






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






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






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






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






34. For linux ext2 there is an easier way than using resize2fs. LVM 1 ships with a utility called __________ which does the lvextend and resize2fs for you (it can also do file system shrinking)






35. How to install apache?






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






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






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






39. How to start the vsftp service?






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






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






42. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again






43. rpm option to show me the package files






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






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






46. How do you restart the apache web server?






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






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






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






50. ____ is used to modify file system parameters