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. If in doubt about package names - you can find them in the ...
parted; check x
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
tune2fs
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)
2. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
parted; mklabel k
e2fsadm
iptables
3. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
filesystem type is not ext2 or ext3
chmod 701
First boot process
(rpm -q)p file (for rpmfile name)
4. ___ 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)
-K
chcon -R -t httpd_sys_content_t /home/michael/public_html
htpasswd -c /etc/httpd/webpass e
5. 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 update kernel
iptables -F
ServerTokens
iptables -F
6. 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
e2fsadm
iptables
/etc/vsftpd
ServerAdmin
7. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
ServerAdmin
rpm -Va
rpm -V
dumpe2fs
8. 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:
htpasswd -c /etc/httpd/webpass e
lvextend -L4G /dev/rootvg/tmplv
setup
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
9. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
htpasswd -c /etc/httpd/webpass e
yum clean all
CustomLog
grep '[.*]' server1.repo
10. Create the basic cache directories in /var/spool/squid with the following command:
fdisk -l
squid -z
/boot
/etc/init.d/vsftpd start
11. Create a disk label for the partition table called k
iptables -F
yum install mod_ssl squid
/media/repodata
parted; mklabel k
12. ____ is used for creating ext2 and ext3 file systems
NameVirtualHost
yum update kernel
mke2fs
parted; check x
13. 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:
ls -Z
squid -z
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
--import file
14. Where to find the main apache config file?
DocumentRoot
/etc/httpd/conf/
rpm -V
5
15. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
NameVirtualHost
-K
parted; mklabel k
-l
16. How to start the vsftp service?
/etc/init.d/vsftpd start
showmount -e
First boot process
NameVirtualHost
17. The rpm ____ option installs the package - if it isn't already installed.
var/ftp/pub
ServerName
yum clean all
-i
18. To list under which run levels the web service will start
chkconfig --list httpd
wget (http://devmon.dev.schwab.com/index.html)
rpm -Va
parted; check x
19. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
ServerTokens
telnetd : ALL EXCEPT 192.168.1.10
ErrorLog
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
20. rpm ____ [name of package] to verify the package - once you have manually imported the key
pirut
rpm -V
-K
wget (http://devmon.dev.schwab.com/index.html)
21. 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 ____
DocumentRoot
rpm -e zip
dd if=./diskboot.img of=/dev/sdc
-i
22. 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
showmount -e
chcon -R -t httpd_sys_content_t /home/michael/public_html
var/www/html
/boot
23. rpm ____ to install kernel updates
setsebool -P squid_connect_any 1
/etc/lvmtab
nfs
-i (do not use -U or -F!)
24. ____ configuration is not available via text mode RHEL installation.
LVM
Yes
squid -z
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
25. Perform a simple check of the file system. minor-num is x.
showmount -a
grep '[.*]' server1.repo
parted; check x
-l
26. What command starts the same menu as the text-mode First Boot process?
parted; mklabel k
/etc/vsftpd
yum install httpd
setup
27. What parts of rhel6 should be installed to separate volumes?
iptables
/etc/lvmtab
/ (root) - /boot and linux swap
chkconfig --list httpd
28. rpm ____ verifies the installed zip rpm against the rpm database
rpm -V zip
NameVirtualHost
Yes
setup
29. 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:
showmount -e
yum install httpd
telnetd : ALL EXCEPT 192.168.1.10
select (followed by the device name such as /dev/hdb)
30. How to disable the firewall on the current system?
dd if=./diskboot.img of=/dev/sdc
-l
iptables -F
/etc/init.d/vsftpd start
31. What is the standard directory for file sharing with vsFTP?
var/ftp/pub
parted; mklabel k
var/www/html
select (followed by the device name such as /dev/hdb)
32. ____ is used to modify file system parameters
AllowOverride
port 21
setup
tune2fs
33. The simplest way to install Apache
setup
AllowOverride
squid -z
yum install httpd
34. ____ prints superblock and block group information.
dumpe2fs
e2fsadm
ErrorLog
/etc/lvmtab
35. Apache supports security by specifying active ports through the Listen and ____ directives.
chmod 701
lvdisplay -D /dev/rootvg/tmplv
/etc/lvmtab
NameVirtualHost
36. After you edit /etc/exports - run service ___ stop...
nfs
chmod 701
/etc/vsftpd
wget (http://devmon.dev.schwab.com/index.html)
37. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
fdisk -l
e2fsadm
AllowOverride
showmount -e
38. To check status of ftp daemon
iptables -F
service vsftpd status
yum install mod_ssl squid
ServerTokens
39. 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
DocumentRoot
ServerTokens
yum install vsftpd
CustomLog
40. 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)
squid -z
rpm -ivh --replacepkgs xxxx*
-l
41. What service is allowed through the default firewall?
rpm -qc
ssh
iptables
chkconfig --level 35 httpd on
42. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
yum install vsftpd
/etc/httpd/conf/
chmod 705
setsebool -P htttpd.enable.homedirs 1
43. Where is vsftpd.conf?
iptables -F
/etc/vsftpd
rpm -e zip
rpm -V zip
44. 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.
setup
LVM
iptables -F
rpm -Va
45. Where is the vsftp pub dir?
NameVirtualHost
/var/ftp/pub
fdisk -l
squid -z
46. The main Squid configuration file is ____/squid.conf
filesystem type is not ext2 or ext3
/etc/squid/
telnetd : ALL EXCEPT 192.168.1.10
ErrorLog
47. 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
chmod 701
-i
/boot
wget (http://devmon.dev.schwab.com/index.html)
48. How to start apache service?
chkconfig vsftpd on
chkconfig --list httpd
/etc/init.d/httpd start
/var/ftp/pub
49. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
showmount -a
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
service vsftpd status
rpm -Va
50. How to start the vsftp service automatically on boot?
chmod 705
ServerAdmin
chkconfig vsftpd on
rpm -qc
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