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






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






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






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






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






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






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






8. Where is the main apache data directory?






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






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


11. Where to find the main apache config file?






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






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






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






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






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






17. How to start apache service?






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






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






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






21. rpm option to show me the package files






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






23. The simplest way to install Apache






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






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






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






27. ____ is used to modify file system parameters






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






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






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






31. To install both mod_ssl and squid packages






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






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






34. After you edit /etc/exports - run service ___ stop...






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






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






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






38. How to install vsftpd?






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






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






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






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






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






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






45. How to install apache?






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






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






48. What is the first post installation step?






49. What service is allowed through the default firewall?






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