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






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






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






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






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






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






7. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release






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






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






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






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






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






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






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






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






16. How to start apache service?






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






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






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






20. Where is vsftpd.conf?






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






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






23. Where is the vsftp pub dir?






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






25. rpm option to show me the package files






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






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






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






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






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






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






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






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






34. ____ is used to modify file system parameters






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






36. Where is the config dir for vsftpd?






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






38. rpm ____ to install kernel updates






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






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






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






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






43. To check status of ftp daemon






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






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






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. What is the first post installation step?






48. Where to find the main apache config file?






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






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