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. _____ will change the size of /dev/rootvg/tmplv to 4 gig






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






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






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






5. What is the first post installation step?






6. rpm ____ to install kernel updates






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






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






9. The simplest way to install Apache






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






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






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






13. Use parted to display disk geometry for /dev/hda and end up in shell






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






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






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






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






18. To install both mod_ssl and squid packages






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






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






35. The most straightforward way to make sure Apache starts in bootlevels 3 and 5






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






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






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






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






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






41. Where to find the main apache config file?






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






43. Where is vsftpd.conf?






44. How to install apache?






45. rpm option to show me the package files






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






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






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






49. If you want to create a database file named webpass in the /etc/httpd directory - for user 'e' - you'd start with the following command:






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