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. pam ___ will tell me if any files in the pam package have changed since it was first installed






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






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






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






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






6. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?






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






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






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






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






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






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






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






14. ____ is used to modify file system parameters






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






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






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






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






19. Where is vsftpd.conf?






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






21. How to start the vsftp service?






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






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






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






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






26. Where is the config dir for vsftpd?






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






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






29. How to install apache?






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






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






32. How to start apache service?






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






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






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






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






37. Where is the vsftp pub dir?






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






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






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






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






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






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






44. Where is the main apache data directory?






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






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






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






50. ____ prints superblock and block group information.