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. Perform a simple check of the file system. minor-num is x.






2. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?






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






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






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






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






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






9. rpm option to show me the package files






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






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






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






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






14. ____ prints superblock and block group information.






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






16. To check status of ftp daemon






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






18. Where is the config dir for vsftpd?






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






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






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


22. How do you restart the apache web server?






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






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






25. How to install apache?






26. The simplest way to install Apache






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






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






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






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






31. Where to find the main apache config file?






32. What is the first post installation step?






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






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






35. rpm ____ to install kernel updates






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






37. Where is the vsftp pub dir?






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






39. pam ___ will tell me if any files in the pam package have changed since it was first installed






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






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






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






43. How to start the vsftp service?






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






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






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






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






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






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






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