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


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






3. ____ is used to modify file system parameters






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






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






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






7. What command starts the same menu as the text-mode First Boot process?






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






9. To install both mod_ssl and squid packages






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






11. Where is the config dir for vsftpd?






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






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






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






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






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






17. What is the first post installation step?






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






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






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






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






22. ____ prints superblock and block group information.






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






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






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. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain






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






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






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






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






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






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






33. To check status of ftp daemon






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






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






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






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






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






39. rpm option to show me the package files






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






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






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






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






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






45. Where is the vsftp pub dir?






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






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






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






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






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