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. Perform a simple check of the file system. minor-num is x.






3. To check status of ftp daemon






4. Where is vsftpd.conf?






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






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






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






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






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






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






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






12. How to start the vsftp service?






13. How do you restart the apache web server?






14. ____ is used to modify file system parameters






15. How to install apache?






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






17. rpm ____ to install kernel updates






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






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






20. The simplest way to install Apache






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






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






23. What service is allowed through the default firewall?






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






25. Where to find the main apache config file?






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






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






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






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






30. When you configure Squid on your system - you need to allow access through appropriate ports and SELinux settings. The simplest approach with respect to Squid configuration assumes that all clients use the default Squid port 3128 - using TCP - where






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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


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






47. You can use the ____ tool after installation to add any package groups that you missed.






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






49. Where is the vsftp pub dir?






50. To install both mod_ssl and squid packages