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. How to start apache service?






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






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






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






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






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






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






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






9. To check status of ftp daemon






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. What command starts the same menu as the text-mode First Boot process?






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






13. Where is the vsftp pub dir?






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






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






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






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






18. What is the first post installation step?






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






20. How to install apache?






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






22. How to install vsftpd?






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






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






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






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






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






28. The simplest way to install Apache






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






30. ____ is used to modify file system parameters






31. To install both mod_ssl and squid packages






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






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






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






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






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






37. Where to find the main apache config file?






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






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






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






41. rpm ____ to install kernel updates






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






43. Where is the main apache data directory?






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






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






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






47. ____ is used for creating ext2 and ext3 file systems






48. rpm option to show me the package files






49. ____ prints superblock and block group information.






50. After you edit /etc/exports - run service ___ stop...