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. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
squid -z
parted; mklabel k
/var/ftp/pub
chkconfig --level 35 httpd on
2. '____ /var/www' will tell you the ACL settings of /var/www
AllowOverride
ls -Z
First boot process
yum install mod_ssl squid
3. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
/boot
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
chkconfig --level 35 httpd on
pirut
4. The rpm ____ option installs the package - if it isn't already installed.
lvdisplay -D /dev/rootvg/tmplv
NameVirtualHost
-i
parted /dev/hda print
5. Perform a simple check of the file system. minor-num is x.
system-config-firewall
/etc/vsftpd
parted; check x
rpm -ivh --replacepkgs xxxx*
6. 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 squid_connect_any 1
(rpm -q)p file (for rpmfile name)
ServerAdmin
/boot
7. 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:
chmod 705
showmount -e
lvextend -L4G /dev/rootvg/tmplv
/etc/init.d/httpd restart
8. 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
select (followed by the device name such as /dev/hdb)
lvextend -L4G /dev/rootvg/tmplv
setsebool -P squid_connect_any 1
9. ____ is used for creating ext2 and ext3 file systems
mke2fs
-i (do not use -U or -F!)
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
iptables
10. _____ will change the size of /dev/rootvg/tmplv to 4 gig
service vsftpd status
lvextend -L4G /dev/rootvg/tmplv
var/ftp/pub
ssh
11. Are SELinux and iptables-based firewalls are enabled by default?
iptables -F
yum -y update
Yes
--import file
12. 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:
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
yum install httpd
parted; mklabel k
service vsftpd status
13. How to start the vsftp service automatically on boot?
chkconfig vsftpd on
parted /dev/hda print
select (followed by the device name such as /dev/hdb)
/etc/httpd/conf/
14. What service is allowed through the default firewall?
ssh
-i (do not use -U or -F!)
ServerName
telnetd : ALL EXCEPT 192.168.1.10
15. Run the ____ command to find the device associated with the USB key.
showmount -e
NameVirtualHost
fdisk -l
/ (root) - /boot and linux swap
16. ____ can expand and shrink ext2 and ext3 file systems
telnetd : ALL EXCEPT 192.168.1.10
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
resize2fs
17. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
yum clean all
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
/boot
filesystem type is not ext2 or ext3
18. 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
chkconfig --list httpd
ServerTokens
iptables -F
(rpm -q)p file (for rpmfile name)
19. rpm ____ [name of package] to verify the package - once you have manually imported the key
/media/repodata
fdisk
yum clean all
-K
20. httpd ___ to update the httpd package - automatically answering yes to all the questions
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
ServerAdmin
yum -y update
elinks
21. Virtual Host Configuration: Names the URL for the virtual host.
fdisk
mke2fs
iptables
ServerName
22. 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
23. 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)
parted; check x
--import file
CustomLog
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
24. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
chkconfig vsftpd on
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
ErrorLog
/media/repodata
25. rpm ____ to import the rpm key for integrity checking
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
rpm -V
ServerAdmin
--import file
26. How to install vsftpd?
tune2fs
yum install vsftpd
-i (do not use -U or -F!)
/etc/squid/
27. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
(rpm -q)p file (for rpmfile name)
dd if=./diskboot.img of=/dev/sdc
chkconfig --level 35 httpd on
yum clean all
28. The simplest way to install Apache
rpm -qc
tune2fs
/media/repodata
yum install httpd
29. 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 ____
/ (root) - /boot and linux swap
NameVirtualHost
elinks
yum install mod_ssl squid
30. Where to find the main apache config file?
service vsftpd status
ServerAdmin
rpm -Va
/etc/httpd/conf/
31. 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
AllowOverride
service vsftpd status
dumpe2fs
elinks
32. what port needs to be open to access ftp?
mke2fs
ssh
chkconfig --level 35 httpd on
port 21
33. Where is the config dir for vsftpd?
port 21
parted; check x
/etc/init.d/httpd start
/etc/vsftpd
34. 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
iptables
var/www/html
port 21
chkconfig vsftpd on
35. Create a disk label for the partition table called k
resize2fs /dev/myvg/homevol
nfs
wget (http://devmon.dev.schwab.com/index.html)
parted; mklabel k
36. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
LVM
select (followed by the device name such as /dev/hdb)
rpm -ivh --replacepkgs xxxx*
ServerTokens
37. If in doubt about package names - you can find them in the ...
/etc/init.d/httpd restart
5
fdisk -l
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)
38. To check status of ftp daemon
yum -y update
rpm -e zip
chcon -R -t httpd_sys_content_t /home/michael/public_html
service vsftpd status
39. How to disable the firewall on the current system?
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
iptables -F
chmod 705
grep '[.*]' server1.repo
40. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
(rpm -q)p file (for rpmfile name)
service vsftpd status
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
ServerAdmin
41. 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 ____
ssh
squid -z
rpm -V
rpm -e zip
42. what utility can be used to open port 80?
system-config-firewall
setsebool -P htttpd.enable.homedirs 1
telnetd : ALL EXCEPT 192.168.1.10
rpm -V
43. To select a different device without having to restart parted - use the ____ command . Then - you can view its partition table or configure it.
resize2fs
ServerTokens
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
select (followed by the device name such as /dev/hdb)
44. How to start the vsftp service?
squid -z
rpm -V
/etc/init.d/vsftpd start
yum clean all
45. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
var/www/html
chmod 701
chmod 705
e2fsadm
46. To install both mod_ssl and squid packages
chkconfig --level 35 httpd on
yum clean all
parted; mklabel k
yum install mod_ssl squid
47. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
/var/ftp/pub
showmount -a
fdisk
e2fsadm
48. ____ prints superblock and block group information.
dumpe2fs
wget (http://devmon.dev.schwab.com/index.html)
lvdisplay -D /dev/rootvg/tmplv
/etc/init.d/httpd restart
49. After you edit /etc/exports - run service ___ stop...
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
nfs
dumpe2fs
ServerAdmin
50. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
ls -Z
fdisk -l
wget (http://devmon.dev.schwab.com/index.html)
NameVirtualHost
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