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

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. The most straightforward way to make sure Apache starts in bootlevels 3 and 5

4. ____ is used to modify file system parameters

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

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

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

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

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

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

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

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

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

14. What parts of rhel6 should be installed to separate volumes?

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

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

17. Where to find the main apache config file?

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

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

20. ____ prints superblock and block group information.

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

22. What service is allowed through the default firewall?

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

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

25. How do you restart the apache web server?

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

27. Where is the vsftp pub dir?

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

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

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

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

32. How to install vsftpd?

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

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

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

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

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

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

39. How to install apache?

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

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

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

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

44. rpm option to show me the package files

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

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

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

48. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.

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

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