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 rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?






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






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






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






5. rpm option to show me the package files






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






7. Where to find the main apache config file?






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






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






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


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. rpm ____ [name of package] to verify the package - once you have manually imported the key






13. How to start the vsftp service?






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






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






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






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






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






19. ____ prints superblock and block group information.






20. How to install apache?






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






22. Where is the config dir for vsftpd?






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






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






25. What is the first post installation step?






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






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






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






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






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






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






32. How to install vsftpd?






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






34. rpm ____ to install kernel updates






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






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






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






38. If you configure other directories for Web services - you'll need to change their ACL settings. For example - if you create and then use the /www directory - run the following commands:






39. ____ is used to modify file system parameters






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






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






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






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






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






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






46. The default Red Hat Enterprise Linux firewall blocks access to an NFS server. While inelegant - the following command 'flushes -' or turns off - the standard Linux firewall from the local computer.






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






48. To install both mod_ssl and squid packages






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






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