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. How to disable the firewall on the current system?
iptables -F
/etc/init.d/vsftpd start
select (followed by the device name such as /dev/hdb)
-K
2. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain
htpasswd -c /etc/httpd/webpass e
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
chcon -R -t httpd_sys_content_t /home/michael/public_html
rpm -qc
3. To check status of ftp daemon
service vsftpd status
-l
chkconfig --level 35 httpd on
dd if=./diskboot.img of=/dev/sdc
4. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
yum install httpd
var/www/html
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
setup
5. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
iptables -F
fdisk -l
-i (do not use -U or -F!)
yum clean all
6. Virtual Host Configuration: Names the URL for the virtual host.
ServerName
/etc/httpd/conf/
-i (do not use -U or -F!)
AllowOverride
7. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
iptables -F
yum clean all
dd if=./diskboot.img of=/dev/sdc
rpm -ivh --replacepkgs xxxx*
8. ____ is used for creating ext2 and ext3 file systems
rpm -Va
mke2fs
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
select (followed by the device name such as /dev/hdb)
9. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
service vsftpd status
setup
resize2fs /dev/myvg/homevol
tune2fs
10. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
port 21
yum -y update
parted /dev/hda print
ServerAdmin
11. What command starts the same menu as the text-mode First Boot process?
mke2fs
-K
setup
filesystem type is not ext2 or ext3
12. The simplest way to install Apache
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
LVM
yum install httpd
iptables -F
13. To install both mod_ssl and squid packages
/var/ftp/pub
fdisk -l
ServerAdmin
yum install mod_ssl squid
14. httpd ___ to update the httpd package - automatically answering yes to all the questions
iptables -F
setsebool -P squid_connect_any 1
yum -y update
/etc/lvmtab
15. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
chkconfig --level 35 httpd on
/etc/lvmtab
var/ftp/pub
showmount -a
16. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
-l
LVM
chcon -R -t httpd_sys_content_t /home/michael/public_html
chmod 701
17. How to start the vsftp service automatically on boot?
ServerTokens
chmod 705
chkconfig vsftpd on
/etc/lvmtab
18. How to install vsftpd?
yum install vsftpd
/media/repodata
rpm -V
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
19. rpm ____ [name of package] to verify the package - once you have manually imported the key
lvdisplay -D /dev/rootvg/tmplv
yum install vsftpd
-K
iptables -F
20. 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.
system-config-firewall
ServerTokens
e2fsadm
rpm -V
21. rpm ____ to import the rpm key for integrity checking
--import file
rpm -V zip
-i
resize2fs
22. '____ /var/www' will tell you the ACL settings of /var/www
/etc/httpd/conf/
ls -Z
elinks
ServerAdmin
23. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
ssh
NameVirtualHost
mke2fs
yum -y update
24. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
ServerAdmin
grep '[.*]' server1.repo
htpasswd -c /etc/httpd/webpass e
chmod 705
25. If in doubt about package names - you can find them in the ...
iptables -F
wget (http://devmon.dev.schwab.com/index.html)
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)
select (followed by the device name such as /dev/hdb)
26. Where is vsftpd.conf?
/etc/vsftpd
ErrorLog
service vsftpd status
setup
27. ____ is used to modify file system parameters
tune2fs
/etc/httpd/conf/
yum install vsftpd
yum install httpd
28. rpm ____ to install kernel updates
wget (http://devmon.dev.schwab.com/index.html)
rpm -qc
-i (do not use -U or -F!)
rpm -ivh --replacepkgs xxxx*
29. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
rpm -ivh --replacepkgs xxxx*
/etc/squid/
ls -Z
/etc/lvmtab
30. 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
/media/repodata
yum update kernel
ServerTokens
31. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
resize2fs /dev/myvg/homevol
ErrorLog
NameVirtualHost
ServerName
32. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
filesystem type is not ext2 or ext3
var/www/html
setsebool -P squid_connect_any 1
setsebool -P htttpd.enable.homedirs 1
33. Run the ____ command to find the device associated with the USB key.
ServerTokens
fdisk -l
parted /dev/hda print
/etc/init.d/vsftpd start
34. What service is allowed through the default firewall?
ServerAdmin
select (followed by the device name such as /dev/hdb)
mke2fs
ssh
35. Perform a simple check of the file system. minor-num is x.
telnetd : ALL EXCEPT 192.168.1.10
/var/ftp/pub
parted; check x
tune2fs
36. 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
/etc/squid/
iptables -F
telnetd : ALL EXCEPT 192.168.1.10
setsebool -P squid_connect_any 1
37. Where is the main apache data directory?
select (followed by the device name such as /dev/hdb)
var/www/html
pirut
rpm -e zip
38. what port needs to be open to access ftp?
port 21
First boot process
ssh
NameVirtualHost
39. Where to find the main apache config file?
yum clean all
/etc/httpd/conf/
-i
First boot process
40. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
yum install mod_ssl squid
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
-i
yum install vsftpd
41. Tthe file that might contain: oldvg - rootvg - etc.
select (followed by the device name such as /dev/hdb)
tune2fs
rpm -e zip
/etc/lvmtab
42. How do you restart the apache web server?
setup
/etc/init.d/httpd restart
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
43. 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:
fdisk
/etc/squid/
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
setsebool -P htttpd.enable.homedirs 1
44. Are SELinux and iptables-based firewalls are enabled by default?
Yes
dd if=./diskboot.img of=/dev/sdc
htpasswd -c /etc/httpd/webpass e
fdisk -l
45. 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
ServerTokens
yum install httpd
fdisk -l
/etc/init.d/httpd start
46. The rpm ____ option installs the package - if it isn't already installed.
showmount -e
rpm -V zip
-i
ServerAdmin
47. 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)
CustomLog
ServerName
service vsftpd status
filesystem type is not ext2 or ext3
48. 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
chkconfig --list httpd
NameVirtualHost
port 21
49. The main Squid configuration file is ____/squid.conf
chkconfig --level 35 httpd on
showmount -a
-K
/etc/squid/
50. What is the standard directory for file sharing with vsFTP?
/boot
5
yum install mod_ssl squid
var/ftp/pub
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