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. 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)
--import file
rpm -e zip
iptables
CustomLog
2. Run the ____ command to find the device associated with the USB key.
parted /dev/hda print
rpm -V
fdisk -l
rpm -qc
3. Are SELinux and iptables-based firewalls are enabled by default?
grep '[.*]' server1.repo
iptables
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
Yes
4. Apache supports security by specifying active ports through the Listen and ____ directives.
rpm -V
NameVirtualHost
dd if=./diskboot.img of=/dev/sdc
/etc/squid/
5. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
parted /dev/hda print
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
fdisk -l
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
6. How to start the vsftp service?
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)
/etc/init.d/vsftpd start
rpm -V
filesystem type is not ext2 or ext3
7. rpm ____ [name of package] to verify the package - once you have manually imported the key
/etc/httpd/conf/
tune2fs
wget (http://devmon.dev.schwab.com/index.html)
-K
8. what utility can be used to open port 80?
iptables -F
/etc/init.d/httpd start
system-config-firewall
chkconfig httpd on
9. How to disable the firewall on the current system?
rpm -e zip
iptables -F
chmod 701
showmount -e
10. 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:
lvdisplay -D /dev/rootvg/tmplv
htpasswd -c /etc/httpd/webpass e
yum install vsftpd
AllowOverride
11. ____ is used for creating ext2 and ext3 file systems
chkconfig vsftpd on
var/www/html
nfs
mke2fs
12. How to make sure apache starts automatically on next reboot?
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
yum install httpd
chkconfig httpd on
chmod 701
13. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
setsebool -P htttpd.enable.homedirs 1
rpm -ivh --replacepkgs xxxx*
NameVirtualHost
CustomLog
14. 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
ls -Z
fdisk -l
rpm -Va
15. For linux ext2 there is an easier way than using resize2fs. LVM 1 ships with a utility called __________ which does the lvextend and resize2fs for you (it can also do file system shrinking)
yum install vsftpd
e2fsadm
grep '[.*]' server1.repo
chcon -R -t httpd_sys_content_t /home/michael/public_html
16. What service is allowed through the default firewall?
NameVirtualHost
ssh
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
dd if=./diskboot.img of=/dev/sdc
17. Where to find the main apache config file?
NameVirtualHost
parted; check x
/etc/httpd/conf/
e2fsadm
18. To install both mod_ssl and squid packages
yum install mod_ssl squid
rpm -V
nfs
/boot
19. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
dumpe2fs
NameVirtualHost
rpm -qc
fdisk -l
20. How do you restart the apache web server?
resize2fs
rpm -V zip
rpm -e zip
/etc/init.d/httpd restart
21. 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.
/etc/vsftpd
First boot process
rpm -V
service vsftpd status
22. What command starts the same menu as the text-mode First Boot process?
setup
lvextend -L4G /dev/rootvg/tmplv
chkconfig vsftpd on
--import file
23. What is the standard directory for file sharing with vsFTP?
/etc/httpd/conf/
ServerName
var/ftp/pub
setsebool -P squid_connect_any 1
24. 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 ____
chkconfig httpd on
ServerName
setsebool -P squid_connect_any 1
elinks
25. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
yum install httpd
resize2fs /dev/myvg/homevol
chkconfig httpd on
tune2fs
26. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
var/ftp/pub
ServerAdmin
/etc/squid/
lvdisplay -D /dev/rootvg/tmplv
27. Virtual Host Configuration: Sets a root directory for the virtual host.
DocumentRoot
/etc/init.d/vsftpd start
chkconfig httpd on
chmod 701
28. Where is the config dir for vsftpd?
/etc/vsftpd
rpm -Va
wget (http://devmon.dev.schwab.com/index.html)
yum clean all
29. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?
/media/repodata
chcon -R -t httpd_sys_content_t /home/michael/public_html
rpm -qc
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
30. Use parted to display disk geometry for /dev/hda and end up in shell
parted /dev/hda print
chkconfig --level 35 httpd on
parted; mklabel k
-K
31. The simplest way to install Apache
yum install httpd
lvdisplay -D /dev/rootvg/tmplv
/etc/init.d/httpd start
htpasswd -c /etc/httpd/webpass e
32. httpd ___ to update the httpd package - automatically answering yes to all the questions
NameVirtualHost
yum -y update
parted /dev/hda print
resize2fs /dev/myvg/homevol
33. _____ will change the size of /dev/rootvg/tmplv to 4 gig
lvextend -L4G /dev/rootvg/tmplv
parted; check x
setup
rpm -V
34. 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
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
showmount -e
/media/repodata
chcon -R -t httpd_sys_content_t /home/michael/public_html
35. The rpm ____ option installs the package - if it isn't already installed.
lvextend -L4G /dev/rootvg/tmplv
-i
rpm -Va
rpm -V
36. How to install apache?
/etc/init.d/vsftpd start
rpm -qc
rpm -Va
yum install httpd
37. ____ can expand and shrink ext2 and ext3 file systems
DocumentRoot
resize2fs
-i
-K
38. To select a different device without having to restart parted - use the ____ command . Then - you can view its partition table or configure it.
select (followed by the device name such as /dev/hdb)
parted /dev/hda print
fdisk
rpm -qc
39. rpm ____ to install kernel updates
rpm -V zip
elinks
setsebool -P htttpd.enable.homedirs 1
-i (do not use -U or -F!)
40. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
yum install mod_ssl squid
yum clean all
pirut
dd if=./diskboot.img of=/dev/sdc
41. 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
nfs
port 21
rpm -V
setsebool -P squid_connect_any 1
42. ____ is used to modify file system parameters
/var/ftp/pub
DocumentRoot
rpm -Va
tune2fs
43. To list under which run levels the web service will start
iptables -F
chkconfig --list httpd
rpm -V
chmod 705
44. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
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)
showmount -a
lvdisplay -D /dev/rootvg/tmplv
yum install mod_ssl squid
45. To check status of ftp daemon
service vsftpd status
rpm -V zip
-l
resize2fs
46. 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.
resize2fs
iptables -F
rpm -e zip
dumpe2fs
47. Virtual Host Configuration: Names the URL for the virtual host.
5
resize2fs
rpm -V
ServerName
48. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
yum install vsftpd
yum install httpd
(rpm -q)p file (for rpmfile name)
fdisk
49. How to start the vsftp service automatically on boot?
tune2fs
chkconfig vsftpd on
ServerAdmin
port 21
50. rpm ____ verifies all installed rpms against the rpm database
rpm -Va
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
-i (do not use -U or -F!)
/etc/httpd/conf/
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