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. To install both mod_ssl and squid packages
filesystem type is not ext2 or ext3
rpm -V
/etc/vsftpd
yum install mod_ssl squid
2. rpm ____ verifies all installed rpms against the rpm database
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
rpm -Va
ssh
5
3. Create the basic cache directories in /var/spool/squid with the following command:
ServerTokens
squid -z
/etc/vsftpd
rpm -V
4. 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
chcon -R -t httpd_sys_content_t /home/michael/public_html
LVM
(rpm -q)p file (for rpmfile name)
-i
5. 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
fdisk
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
NameVirtualHost
6. 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
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
-i
/boot
7. what port needs to be open to access ftp?
port 21
yum -y update
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
chcon -R -t httpd_sys_content_t /home/michael/public_html
8. Virtual Host Configuration: Names the URL for the virtual host.
iptables -F
ServerName
/etc/httpd/conf/
ServerAdmin
9. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
iptables -F
var/ftp/pub
/etc/init.d/httpd start
dd if=./diskboot.img of=/dev/sdc
10. How to install vsftpd?
/etc/init.d/httpd restart
yum install vsftpd
parted /dev/hda print
/etc/vsftpd
11. Where is the config dir for vsftpd?
/etc/vsftpd
dumpe2fs
/etc/init.d/httpd start
yum install mod_ssl squid
12. Tthe file that might contain: oldvg - rootvg - etc.
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
rpm -V
chkconfig httpd on
/etc/lvmtab
13. If in doubt about package names - you can find them in the ...
rpm -V zip
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)
lvextend -L4G /dev/rootvg/tmplv
Yes
14. 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
system-config-firewall
yum update kernel
ServerTokens
-l
15. rpm ____ [name of package] to verify the package - once you have manually imported the key
-K
system-config-firewall
iptables -F
-l
16. rpm ____ to install kernel updates
/etc/init.d/vsftpd start
showmount -e
-i (do not use -U or -F!)
Yes
17. 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
18. How to start apache service?
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
DocumentRoot
service vsftpd status
/etc/init.d/httpd start
19. 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:
/etc/squid/
htpasswd -c /etc/httpd/webpass e
select (followed by the device name such as /dev/hdb)
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
20. what utility can be used to open port 80?
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
showmount -a
port 21
system-config-firewall
21. Where is vsftpd.conf?
pirut
yum install httpd
/etc/vsftpd
dd if=./diskboot.img of=/dev/sdc
22. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
rpm -e zip
dd if=./diskboot.img of=/dev/sdc
chmod 705
chkconfig vsftpd on
23. Use parted to display disk geometry for /dev/hda and end up in shell
parted /dev/hda print
chmod 705
rpm -ivh --replacepkgs xxxx*
rpm -Va
24. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
select (followed by the device name such as /dev/hdb)
service vsftpd status
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
/var/ftp/pub
25. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
yum install httpd
fdisk
--import file
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
26. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
/boot
nfs
-i (do not use -U or -F!)
rpm -ivh --replacepkgs xxxx*
27. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
/var/ftp/pub
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
parted; mklabel k
system-config-firewall
28. 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)
e2fsadm
squid -z
parted /dev/hda print
var/ftp/pub
29. 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
dd if=./diskboot.img of=/dev/sdc
iptables
/etc/init.d/httpd start
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
30. What parts of rhel6 should be installed to separate volumes?
rpm -e zip
port 21
/ (root) - /boot and linux swap
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
31. pam ___ will tell me if any files in the pam package have changed since it was first installed
rpm -V
htpasswd -c /etc/httpd/webpass e
First boot process
/etc/vsftpd
32. 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.
yum update kernel
tune2fs
rpm -V
ls -Z
33. Where is the vsftp pub dir?
/var/ftp/pub
e2fsadm
var/ftp/pub
service vsftpd status
34. The main Squid configuration file is ____/squid.conf
chmod 705
/etc/squid/
/etc/init.d/vsftpd start
yum -y update
35. Run the ____ command to find the device associated with the USB key.
/boot
elinks
parted /dev/hda print
fdisk -l
36. rpm option to show me the package files
rpm -Va
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
CustomLog
-l
37. 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
telnetd : ALL EXCEPT 192.168.1.10
Yes
yum update kernel
38. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
mke2fs
rpm -e zip
resize2fs /dev/myvg/homevol
chmod 701
39. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
CustomLog
chkconfig vsftpd on
rpm -ivh --replacepkgs xxxx*
chkconfig --level 35 httpd on
40. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
yum -y update
showmount -a
(rpm -q)p file (for rpmfile name)
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)
41. Where to find the main apache config file?
ErrorLog
/etc/httpd/conf/
system-config-firewall
lvdisplay -D /dev/rootvg/tmplv
42. What service is allowed through the default firewall?
select (followed by the device name such as /dev/hdb)
/etc/lvmtab
-l
ssh
43. How to disable the firewall on the current system?
iptables -F
yum install httpd
chkconfig vsftpd on
telnetd : ALL EXCEPT 192.168.1.10
44. Perform a simple check of the file system. minor-num is x.
NameVirtualHost
parted; check x
/etc/init.d/httpd restart
squid -z
45. What command starts the same menu as the text-mode First Boot process?
system-config-firewall
yum install httpd
iptables -F
setup
46. _____ will change the size of /dev/rootvg/tmplv to 4 gig
yum install httpd
lvextend -L4G /dev/rootvg/tmplv
AllowOverride
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
47. To select a different device without having to restart parted - use the ____ command . Then - you can view its partition table or configure it.
lvextend -L4G /dev/rootvg/tmplv
-i (do not use -U or -F!)
NameVirtualHost
select (followed by the device name such as /dev/hdb)
48. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
chkconfig --list httpd
fdisk
showmount -a
49. Where is the main apache data directory?
5
var/www/html
ServerTokens
yum install vsftpd
50. ____ can expand and shrink ext2 and ext3 file systems
ServerName
rpm -Va
resize2fs
/etc/init.d/vsftpd start
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