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. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
-K
resize2fs /dev/myvg/homevol
(rpm -q)p file (for rpmfile name)
rpm -V
2. Where is the main apache data directory?
tune2fs
var/www/html
rpm -V
chkconfig --list httpd
3. If in doubt about package names - you can find them in the ...
rpm -qc
lvextend -L4G /dev/rootvg/tmplv
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)
--import file
4. 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
telnetd : ALL EXCEPT 192.168.1.10
elinks
parted; mklabel k
rpm -V zip
5. Where is the vsftp pub dir?
/etc/init.d/httpd restart
/boot
rpm -qc
/var/ftp/pub
6. What parts of rhel6 should be installed to separate volumes?
yum -y update
/ (root) - /boot and linux swap
yum clean all
chmod 705
7. ___ 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)
iptables -F
/etc/squid/
yum install mod_ssl squid
8. To check status of ftp daemon
service vsftpd status
/etc/init.d/vsftpd start
setsebool -P squid_connect_any 1
rpm -V zip
9. rpm ____ verifies the installed zip rpm against the rpm database
filesystem type is not ext2 or ext3
chkconfig --level 35 httpd on
rpm -V zip
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
10. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
ServerAdmin
LVM
iptables -F
yum update kernel
11. 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)
dd if=./diskboot.img of=/dev/sdc
e2fsadm
grep '[.*]' server1.repo
-K
12. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
pirut
yum clean all
NameVirtualHost
var/www/html
13. How to install apache?
filesystem type is not ext2 or ext3
yum install httpd
fdisk
/etc/init.d/vsftpd start
14. The rpm ____ option installs the package - if it isn't already installed.
wget (http://devmon.dev.schwab.com/index.html)
DocumentRoot
-i
/etc/httpd/conf/
15. 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)
/var/ftp/pub
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
port 21
16. Where is vsftpd.conf?
/etc/vsftpd
system-config-firewall
/ (root) - /boot and linux swap
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
17. 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
-i (do not use -U or -F!)
fdisk
setup
18. httpd ___ to update the httpd package - automatically answering yes to all the questions
yum -y update
-i
-i (do not use -U or -F!)
/etc/lvmtab
19. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
wget (http://devmon.dev.schwab.com/index.html)
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
yum install mod_ssl squid
ErrorLog
20. 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 ____
select (followed by the device name such as /dev/hdb)
chkconfig --list httpd
rpm -e zip
yum -y update
21. 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
/etc/vsftpd
parted /dev/hda print
resize2fs /dev/myvg/homevol
22. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
5
rpm -e zip
dd if=./diskboot.img of=/dev/sdc
setsebool -P htttpd.enable.homedirs 1
23. To install both mod_ssl and squid packages
NameVirtualHost
yum install mod_ssl squid
wget (http://devmon.dev.schwab.com/index.html)
select (followed by the device name such as /dev/hdb)
24. 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:
/media/repodata
htpasswd -c /etc/httpd/webpass e
nfs
Yes
25. Create a disk label for the partition table called k
LVM
showmount -e
rpm -V
parted; mklabel k
26. How to start apache service?
5
/etc/init.d/httpd start
mke2fs
lvextend -L4G /dev/rootvg/tmplv
27. Where to find the main apache config file?
/etc/httpd/conf/
/etc/init.d/httpd start
chkconfig httpd on
/etc/squid/
28. 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
(rpm -q)p file (for rpmfile name)
yum update kernel
/var/ftp/pub
port 21
29. ____ prints superblock and block group information.
dumpe2fs
ServerAdmin
DocumentRoot
/etc/init.d/httpd restart
30. How to make sure apache starts automatically on next reboot?
lvextend -L4G /dev/rootvg/tmplv
grep '[.*]' server1.repo
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
chkconfig httpd on
31. The simplest way to install Apache
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
/etc/init.d/vsftpd start
-K
yum install httpd
32. 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.
First boot process
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
yum update kernel
iptables -F
33. Virtual Host Configuration: Names the URL for the virtual host.
ServerName
lvdisplay -D /dev/rootvg/tmplv
parted; check x
pirut
34. Logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
rpm -qc
5
showmount -e
resize2fs /dev/myvg/homevol
35. rpm ____ verifies all installed rpms against the rpm database
-K
rpm -Va
setsebool -P htttpd.enable.homedirs 1
setup
36. rpm option to show me the package files
dd if=./diskboot.img of=/dev/sdc
rpm -ivh --replacepkgs xxxx*
-l
lvextend -L4G /dev/rootvg/tmplv
37. After you edit /etc/exports - run service ___ stop...
LVM
nfs
filesystem type is not ext2 or ext3
yum update kernel
38. 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
dd if=./diskboot.img of=/dev/sdc
ssh
lvdisplay -D /dev/rootvg/tmplv
setsebool -P squid_connect_any 1
39. 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)
ls -Z
grep '[.*]' server1.repo
CustomLog
dd if=./diskboot.img of=/dev/sdc
40. To select a different device without having to restart parted - use the ____ command . Then - you can view its partition table or configure it.
/etc/lvmtab
nfs
select (followed by the device name such as /dev/hdb)
ErrorLog
41. 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 -q)p file (for rpmfile name)
ServerAdmin
chmod 705
rpm -ivh --replacepkgs xxxx*
42. How do you restart the apache web server?
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
NameVirtualHost
/etc/init.d/httpd restart
parted; check x
43. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
filesystem type is not ext2 or ext3
rpm -ivh --replacepkgs xxxx*
ls -Z
iptables -F
44. Create the basic cache directories in /var/spool/squid with the following command:
squid -z
/etc/lvmtab
DocumentRoot
var/ftp/pub
45. Apache supports security by specifying active ports through the Listen and ____ directives.
/etc/squid/
rpm -V
NameVirtualHost
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
46. Use parted to display disk geometry for /dev/hda and end up in shell
-K
chmod 705
nfs
parted /dev/hda print
47. 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
48. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
AllowOverride
ErrorLog
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
rpm -V
49. '____ /var/www' will tell you the ACL settings of /var/www
First boot process
/etc/vsftpd
fdisk
ls -Z
50. 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
Yes
iptables
ErrorLog
chkconfig vsftpd on
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