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. What parts of rhel6 should be installed to separate volumes?






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






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






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






5. How to start the vsftp service?






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






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






8. The simplest way to install Apache






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






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






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






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






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






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






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






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






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






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






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






20. To install both mod_ssl and squid packages






21. What is the first post installation step?






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






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






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






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






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






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






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






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






30. You need to configure firewalls and allow SELinux access in appropriate ways. Firewalls must allow access to the standard HTTP port - 80. SELinux must be configured to 'Allow HTTPD To Read Home Directories'. Finally - the ACL must be revised accordin






31. Where is vsftpd.conf?






32. Where is the vsftp pub dir?






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






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






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






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






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






38. rpm ____ to install kernel updates






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






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






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






42. How do you restart the apache web server?






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






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






45. How to install apache?






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






47. Where is the main apache data directory?






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






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






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