SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
RHCE: Red Hat Certified Engineer
Start Test
Study First
Subjects
:
certifications
,
it-skills
,
rhce
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. 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
setsebool -P htttpd.enable.homedirs 1
/boot
ls -Z
setsebool -P squid_connect_any 1
2. How to install apache?
fdisk
/etc/init.d/httpd start
yum clean all
yum install httpd
3. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
rpm -V zip
lvdisplay -D /dev/rootvg/tmplv
chmod 705
pirut
4. What command starts the same menu as the text-mode First Boot process?
rpm -V zip
setup
fdisk
-i
5. Create a disk label for the partition table called k
NameVirtualHost
setup
parted; mklabel k
yum update kernel
6. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
wget (http://devmon.dev.schwab.com/index.html)
select (followed by the device name such as /dev/hdb)
fdisk -l
grep '[.*]' server1.repo
7. 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)
elinks
CustomLog
fdisk -l
/etc/vsftpd
8. 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
iptables
chkconfig httpd on
fdisk -l
chcon -R -t httpd_sys_content_t /home/michael/public_html
9. ____ is used to modify file system parameters
DocumentRoot
iptables -F
tune2fs
/ (root) - /boot and linux swap
10. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
var/ftp/pub
yum clean all
CustomLog
parted; mklabel k
11. What parts of rhel6 should be installed to separate volumes?
-K
/media/repodata
/ (root) - /boot and linux swap
/etc/vsftpd
12. 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
13. Create the basic cache directories in /var/spool/squid with the following command:
yum install vsftpd
ssh
squid -z
filesystem type is not ext2 or ext3
14. 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
-K
dd if=./diskboot.img of=/dev/sdc
chkconfig --level 35 httpd on
ServerTokens
15. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
parted /dev/hda print
showmount -a
resize2fs
ServerAdmin
16. After you edit /etc/exports - run service ___ stop...
nfs
parted; mklabel k
-l
fdisk
17. ____ configuration is not available via text mode RHEL installation.
chcon -R -t httpd_sys_content_t /home/michael/public_html
nfs
rpm -qc
LVM
18. How to start the vsftp service automatically on boot?
chkconfig vsftpd on
chkconfig --level 35 httpd on
/etc/squid/
yum clean all
19. 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 ____
-i
rpm -e zip
rpm -ivh --replacepkgs xxxx*
service vsftpd status
20. pam ___ will tell me if any files in the pam package have changed since it was first installed
rpm -V
-K
ls -Z
/etc/init.d/httpd restart
21. How to make sure apache starts automatically on next reboot?
chkconfig vsftpd on
chkconfig httpd on
yum install httpd
fdisk
22. 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
parted /dev/hda print
NameVirtualHost
/boot
yum install vsftpd
23. 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 ____
chmod 701
/etc/vsftpd
filesystem type is not ext2 or ext3
elinks
24. 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
yum clean all
yum update kernel
lvextend -L4G /dev/rootvg/tmplv
resize2fs /dev/myvg/homevol
25. '____ /var/www' will tell you the ACL settings of /var/www
LVM
ls -Z
ServerAdmin
var/www/html
26. Where is the config dir for vsftpd?
var/www/html
/etc/vsftpd
ssh
setsebool -P squid_connect_any 1
27. The rpm ____ option installs the package - if it isn't already installed.
-i
First boot process
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
/etc/vsftpd
28. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
setsebool -P htttpd.enable.homedirs 1
ErrorLog
-i
lvextend -L4G /dev/rootvg/tmplv
29. what utility can be used to open port 80?
system-config-firewall
chcon -R -t httpd_sys_content_t /home/michael/public_html
/media/repodata
/boot
30. httpd ___ shows me what config files were installed when the httpd package was installed
yum -y update
CustomLog
rpm -Va
rpm -qc
31. what port needs to be open to access ftp?
var/ftp/pub
/ (root) - /boot and linux swap
port 21
filesystem type is not ext2 or ext3
32. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
/etc/httpd/conf/
showmount -a
parted /dev/hda print
NameVirtualHost
33. Apache supports security by specifying active ports through the Listen and ____ directives.
system-config-firewall
yum install httpd
NameVirtualHost
/etc/vsftpd
34. rpm ____ to install kernel updates
-i (do not use -U or -F!)
/etc/init.d/httpd restart
elinks
rpm -qc
35. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
5
ErrorLog
/ (root) - /boot and linux swap
elinks
36. 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
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
yum install httpd
/etc/init.d/vsftpd start
37. The main Squid configuration file is ____/squid.conf
/etc/vsftpd
/etc/squid/
CustomLog
/ (root) - /boot and linux swap
38. If in doubt about package names - you can find them in the ...
chkconfig httpd on
ServerTokens
/etc/squid/
comps.xml (comps.xml file in the /usr/share/comps/i386 directory - -- or Web Server package group - as documented on the first installation CD in the Server/repodatata/comps-rhel5-server-core.xml file)
39. 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.
rpm -V
/etc/squid/
parted /dev/hda print
/etc/httpd/conf/
40. 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:
grep '[.*]' server1.repo
-i (do not use -U or -F!)
htpasswd -c /etc/httpd/webpass e
iptables
41. 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
chkconfig vsftpd on
iptables
iptables -F
ServerTokens
42. To install both mod_ssl and squid packages
NameVirtualHost
yum install mod_ssl squid
ServerTokens
squid -z
43. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
yum install httpd
/ (root) - /boot and linux swap
dd if=./diskboot.img of=/dev/sdc
-K
44. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?
ls -Z
rpm -V
/media/repodata
--import file
45. Perform a simple check of the file system. minor-num is x.
var/ftp/pub
parted; check x
chkconfig httpd on
rpm -V
46. ____ is used for creating ext2 and ext3 file systems
/etc/lvmtab
Yes
mke2fs
dd if=./diskboot.img of=/dev/sdc
47. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
parted /dev/hda print
rpm -ivh --replacepkgs xxxx*
setsebool -P htttpd.enable.homedirs 1
rpm -V
48. Where is the vsftp pub dir?
/var/ftp/pub
ls -Z
pirut
resize2fs
49. Logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
5
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
/etc/squid/
/var/ftp/pub
50. rpm ____ [name of package] to verify the package - once you have manually imported the key
-K
comps.xml (comps.xml file in the /usr/share/comps/i386 directory - -- or Web Server package group - as documented on the first installation CD in the Server/repodatata/comps-rhel5-server-core.xml file)
chmod 701
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests