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. After you edit /etc/exports - run service ___ stop...






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






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






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






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






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






7. Where to find the main apache config file?






8. Where is the vsftp pub dir?






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






10. ____ prints superblock and block group information.






11. What is the standard directory for file sharing with vsFTP?






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






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


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






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






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






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






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






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






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






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






22. To check status of ftp daemon






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






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






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






26. How to start the vsftp service?






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






28. ____ is used to modify file system parameters






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






30. Where is the config dir for vsftpd?






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






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






33. To list under which run levels the web service will start






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






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






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






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






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






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






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






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






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






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






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






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






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






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






48. How to install vsftpd?






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






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