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. ____ configuration is not available via text mode RHEL installation.






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






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






4. ____ prints superblock and block group information.






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






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






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






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






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






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






11. ____ is used to modify file system parameters






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






13. To check status of ftp daemon






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






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






16. How to start the vsftp service?






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






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






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






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






21. How to start apache service?






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






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






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






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






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






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






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






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






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






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






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






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






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






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






36. Where is vsftpd.conf?






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






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






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






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






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






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






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






44. rpm ____ to install kernel updates






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






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






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






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






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






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