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






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






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






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






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






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






7. What service is allowed through the default firewall?






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






9. How to start the vsftp service?






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






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






12. What is the first post installation step?






13. To install both mod_ssl and squid packages






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






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






16. ____ prints superblock and block group information.






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






18. How do you restart the apache web server?






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






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






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






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






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






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






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






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






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






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






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






30. _____ will change the size of /dev/rootvg/tmplv to 4 gig






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






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






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






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






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






36. I just ran rpm -ivh zip-2.3-8.i386.rpm .. whooops - now I don't want this on my system so to get it off via rpm I type ____






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






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






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






40. Where is the config dir for vsftpd?






41. Where to find the main apache config file?






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






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






44. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory






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






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






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






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






49. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.






50. ____ is used to modify file system parameters