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 to make sure apache starts automatically on next reboot?






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






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






4. To check status of ftp daemon






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






6. Where is the main apache data directory?






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






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






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






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






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






12. Where is the vsftp pub dir?






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






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






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






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






17. How to install vsftpd?






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






19. What is the first post installation step?






20. rpm option to show me the package files






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






23. The simplest way to install Apache






24. Where is the config dir for vsftpd?






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






26. To install both mod_ssl and squid packages






27. Where to find the main apache config file?






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






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






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






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






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






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. '____ /var/www' will tell you the ACL settings of /var/www






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






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






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






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






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






40. What service is allowed through the default firewall?






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






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






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






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






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






46. Where is vsftpd.conf?






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






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






49. ____ prints superblock and block group information.






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