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. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.






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






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






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






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






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






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






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






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






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






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






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






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






14. ____ is used to modify file system parameters






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






16. rpm ____ to import the rpm key for integrity checking






17. How do you restart the apache web server?






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






19. Where is the vsftp pub dir?






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






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






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






23. Where is the config dir for vsftpd?






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






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






26. To check status of ftp daemon






27. How to start the vsftp service?






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






29. rpm ____ to install kernel updates






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






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






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






33. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.






34. The main Squid configuration file is ____/squid.conf






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






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






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






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






39. Where is vsftpd.conf?






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






41. What service is allowed through the default firewall?






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






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






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






45. Where is the main apache data directory?






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






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






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






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






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