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. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain






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






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






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






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






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






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






8. What is the first post installation step?






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






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






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






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






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






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






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






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






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






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






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






20. rpm ____ to install kernel updates






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






22. How to start apache service?






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






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






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






26. The most straightforward way to make sure Apache starts in bootlevels 3 and 5






27. rpm ____ verifies all installed rpms against the rpm database






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






29. Logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.






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






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






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






33. I ran 'e2label /dev/sda' and got 'bad magic number' Why?






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






35. What service is allowed through the default firewall?






36. Where is vsftpd.conf?






37. Where to find the main apache config file?






38. rpm option to show me the package files






39. How to start the vsftp service?






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






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






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






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






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






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






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






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






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






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






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