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. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible






2. How to install vsftpd?






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






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






5. ____ prints superblock and block group information.






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






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






8. How to disable the firewall on the current system?






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






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






11. 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)






12. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible






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






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






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






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






17. What service is allowed through the default firewall?






18. How to start apache service?






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






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






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






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






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






24. Where is vsftpd.conf?






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






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






27. To install both mod_ssl and squid packages






28. When you configure Squid on your system - you need to allow access through appropriate ports and SELinux settings. The simplest approach with respect to Squid configuration assumes that all clients use the default Squid port 3128 - using TCP - where






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






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






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






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






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






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






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






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






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






38. How do you restart the apache web server?






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






40. How to start the vsftp service?






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






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






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






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






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






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






47. Where is the main apache data directory?






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






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






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