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 port needs to be open to access ftp?






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






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






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






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






6. How to start the vsftp service?






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






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






9. ____ prints superblock and block group information.






10. For SELinux - you'll at least want to use the Security Level Configuration tool to activate the Allow Squid Daemon To Connect To The Network option - also known as the squid_connect_any boolean. Alternatively - you can activate this boolean with the






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






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






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






14. Where is vsftpd.conf?






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






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






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






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






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






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






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






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






24. Where is the config dir for vsftpd?






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






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






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






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






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






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






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






32. To check status of ftp daemon






33. rpm option to show me the package files






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






35. Where to find the main apache config file?






36. Use grep to count how many repositories have been configured in the file server1.repo

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


37. rpm ____ to install kernel updates






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






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






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






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






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






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






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






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






46. What is the first post installation step?






47. ____ is used to modify file system parameters






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. Create a disk label for the partition table called k






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