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 to obvious but it re-enforces your understanding as you take the test each time.
1. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory

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

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

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

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. Create a disk label for the partition table called k

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

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

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

10. What is the first post installation step?

11. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again

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

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

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

15. How to install apache?

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

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

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

19. Where to find the main apache config file?

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

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

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

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

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

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

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

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

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

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

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

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

32. How do you restart the apache web server?

33. How to start the vsftp service?

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

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

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

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

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

39. ____ is used to modify file system parameters

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

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

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

43. rpm option to show me the package files

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

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

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

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

48. What service is allowed through the default firewall?

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

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