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. Logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
var/www/html
rpm -V
5
pirut
2. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
ServerAdmin
/etc/init.d/httpd restart
NameVirtualHost
-i
3. rpm ____ to install kernel updates
NameVirtualHost
yum install httpd
-i (do not use -U or -F!)
DocumentRoot
4. To check status of ftp daemon
yum -y update
service vsftpd status
rpm -V
ServerName
5. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
service vsftpd status
DocumentRoot
First boot process
NameVirtualHost
6. 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
/media/repodata
/etc/init.d/vsftpd start
chmod 705
telnetd : ALL EXCEPT 192.168.1.10
7. rpm ____ to import the rpm key for integrity checking
showmount -a
/media/repodata
-i (do not use -U or -F!)
--import file
8. 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:
Yes
showmount -e
-i
filesystem type is not ext2 or ext3
9. 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
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)
rpm -V
system-config-firewall
iptables
10. How to start the vsftp service automatically on boot?
chkconfig vsftpd on
elinks
rpm -Va
--import file
11. Run the ____ command to find the device associated with the USB key.
DocumentRoot
fdisk -l
AllowOverride
iptables -F
12. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
port 21
filesystem type is not ext2 or ext3
/etc/vsftpd
13. 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
14. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
/etc/init.d/httpd restart
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
wget (http://devmon.dev.schwab.com/index.html)
system-config-firewall
15. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
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)
rpm -ivh --replacepkgs xxxx*
parted /dev/hda print
16. How to install apache?
var/ftp/pub
yum install httpd
/etc/init.d/vsftpd start
port 21
17. How to make sure apache starts automatically on next reboot?
chkconfig httpd on
rpm -e zip
-K
ServerTokens
18. Create a disk label for the partition table called k
parted; mklabel k
/etc/squid/
--import file
chmod 701
19. 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)
chkconfig httpd on
squid -z
chkconfig --list httpd
20. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
resize2fs /dev/myvg/homevol
nfs
rpm -Va
grep '[.*]' server1.repo
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 ____
yum install vsftpd
parted /dev/hda print
rpm -e zip
yum install httpd
22. httpd ___ shows me what config files were installed when the httpd package was installed
rpm -qc
wget (http://devmon.dev.schwab.com/index.html)
AllowOverride
First boot process
23. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
NameVirtualHost
showmount -a
mke2fs
/etc/vsftpd
24. What parts of rhel6 should be installed to separate volumes?
yum install httpd
/etc/vsftpd
/ (root) - /boot and linux swap
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)
25. Virtual Host Configuration: Names the URL for the virtual host.
rpm -Va
ServerName
NameVirtualHost
tune2fs
26. Apache supports security by specifying active ports through the Listen and ____ directives.
rpm -qc
NameVirtualHost
5
ServerAdmin
27. How to start apache service?
/etc/init.d/httpd start
setup
yum -y update
squid -z
28. what utility can be used to open port 80?
system-config-firewall
nfs
AllowOverride
rpm -V
29. How to install vsftpd?
yum install vsftpd
chmod 705
wget (http://devmon.dev.schwab.com/index.html)
/etc/init.d/vsftpd start
30. Where is the vsftp pub dir?
setup
/var/ftp/pub
port 21
elinks
31. 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
rpm -ivh --replacepkgs xxxx*
ServerTokens
htpasswd -c /etc/httpd/webpass e
Yes
32. httpd ___ to update the httpd package - automatically answering yes to all the questions
yum -y update
telnetd : ALL EXCEPT 192.168.1.10
chcon -R -t httpd_sys_content_t /home/michael/public_html
ssh
33. 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
ServerName
-i
lvdisplay -D /dev/rootvg/tmplv
34. rpm ____ verifies the installed zip rpm against the rpm database
rpm -V zip
/etc/httpd/conf/
/media/repodata
rpm -V
35. 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
/ (root) - /boot and linux swap
elinks
showmount -a
chcon -R -t httpd_sys_content_t /home/michael/public_html
36. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
fdisk -l
-i
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
resize2fs /dev/myvg/homevol
37. How do you restart the apache web server?
/etc/init.d/httpd restart
-i
-K
iptables -F
38. rpm ____ verifies all installed rpms against the rpm database
parted; check x
chkconfig httpd on
rpm -Va
iptables -F
39. 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:
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)
rpm -Va
htpasswd -c /etc/httpd/webpass e
40. ____ is used to modify file system parameters
tune2fs
rpm -qc
ErrorLog
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
41. If in doubt about package names - you can find them in the ...
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)
-l
fdisk
chkconfig vsftpd on
42. To install both mod_ssl and squid packages
resize2fs
yum install mod_ssl squid
setup
setsebool -P htttpd.enable.homedirs 1
43. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
lvdisplay -D /dev/rootvg/tmplv
var/www/html
var/ftp/pub
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
44. Where is the main apache data directory?
showmount -a
parted; mklabel k
/media/repodata
var/www/html
45. Create the basic cache directories in /var/spool/squid with the following command:
htpasswd -c /etc/httpd/webpass e
rpm -e zip
squid -z
Yes
46. 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:
First boot process
NameVirtualHost
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
47. 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.
setup
rpm -V
iptables
dd if=./diskboot.img of=/dev/sdc
48. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
grep '[.*]' server1.repo
chkconfig --level 35 httpd on
setsebool -P squid_connect_any 1
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
49. 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
/boot
chcon -R -t httpd_sys_content_t /home/michael/public_html
fdisk
DocumentRoot
50. Where is vsftpd.conf?
/etc/vsftpd
chkconfig vsftpd on
/boot
iptables -F
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