Test your basic knowledge |

RHCE: Red Hat Certified Engineer

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

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

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

4. Where to find the main apache config file?

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

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

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

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

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

10. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____

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

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

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

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

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

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

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

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

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

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

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

22. Where is the vsftp pub dir?

23. ____ prints superblock and block group information.

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

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

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

27. How to start apache service?

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

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

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

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

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

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

34. Where is the config dir for vsftpd?

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

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

37. rpm option to show me the package files

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

39. What is the first post installation step?

40. This line placed in /etc/hosts.deny will mean that only computer allowed to access our Telnet server has an IP address of

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

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

43. The simplest way to install Apache

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

45. To check status of ftp daemon

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

47. What service is allowed through the default firewall?

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

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

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