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. The rpm ____ option installs the package - if it isn't already installed.






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






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






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






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






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






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






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






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






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






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






12. How do you restart the apache web server?






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






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






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






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






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






18. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____






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






20. Where is vsftpd.conf?






21. Logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.






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






23. ____ prints superblock and block group information.






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






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






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






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






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






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






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






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






32. Where to find the main apache config file?






33. Where is the main apache data directory?






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






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






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






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






38. rpm option to show me the package files






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






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






41. ____ is used to modify file system parameters






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






43. How to start the vsftp service?






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






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






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






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






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






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






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