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






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






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






4. To check status of ftp daemon






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






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






7. How to make sure apache starts automatically on next reboot?






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






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






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






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






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






13. What is the first post installation step?






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






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






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






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






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






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






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






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






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. How do you restart the apache web server?






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






25. How to install apache?






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






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






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


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






30. ____ is used to modify file system parameters






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






32. How to start the vsftp service?






33. Where is the vsftp pub dir?






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






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






36. Where is vsftpd.conf?






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






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






39. rpm ____ to install kernel updates






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






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






42. ____ prints superblock and block group information.






43. Where is the main apache data directory?






44. Some computers built before 1998 may have a BIOS that limits access to hard disks beyond the 1024th cylinder. Some older BIOSs report only 1024 cylinders on a hard drive no matter how many actual cylinders are present. Computers that are subject to t






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






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






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






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






49. Where is the config dir for vsftpd?






50. rpm option to show me the package files