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: Sets a root directory for the virtual host.






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






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






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






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






6. rpm option to show me the package files






7. How to install vsftpd?






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






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






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






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






12. What service is allowed through the default firewall?






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






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






15. Where is the config dir for vsftpd?






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






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






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






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






20. How to start the vsftp service?






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






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






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






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






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






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






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






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






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






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






31. ____ is used to modify file system parameters






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






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






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






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






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






37. Where is the vsftp pub dir?






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






39. How do you restart the apache web server?






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






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






42. ____ prints superblock and block group information.






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






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






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






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






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






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






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






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