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. What service is allowed through the default firewall?
LVM
parted; check x
ssh
fdisk
2. _____ will change the size of /dev/rootvg/tmplv to 4 gig
lvextend -L4G /dev/rootvg/tmplv
rpm -ivh --replacepkgs xxxx*
resize2fs /dev/myvg/homevol
-K
3. 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
var/www/html
ServerAdmin
rpm -V zip
4. How to install vsftpd?
rpm -qc
yum -y update
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
yum install vsftpd
5. 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 update kernel
fdisk
chkconfig httpd on
-K
6. ____ can expand and shrink ext2 and ext3 file systems
First boot process
fdisk -l
ls -Z
resize2fs
7. rpm ____ [name of package] to verify the package - once you have manually imported the key
CustomLog
fdisk -l
-K
chmod 705
8. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
lvextend -L4G /dev/rootvg/tmplv
dd if=./diskboot.img of=/dev/sdc
dumpe2fs
chkconfig --level 35 httpd on
9. Use parted to display disk geometry for /dev/hda and end up in shell
parted /dev/hda print
ServerAdmin
filesystem type is not ext2 or ext3
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
10. To install both mod_ssl and squid packages
iptables -F
fdisk
parted; mklabel k
yum install mod_ssl squid
11. rpm option to show me the package files
--import file
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
-l
chkconfig vsftpd on
12. ____ is used for creating ext2 and ext3 file systems
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
-i (do not use -U or -F!)
mke2fs
filesystem type is not ext2 or ext3
13. Where is the main apache data directory?
5
var/www/html
showmount -a
ServerName
14. ____ configuration is not available via text mode RHEL installation.
-i (do not use -U or -F!)
LVM
ServerName
fdisk -l
15. You can use the ____ tool after installation to add any package groups that you missed.
pirut
lvdisplay -D /dev/rootvg/tmplv
/etc/init.d/httpd start
/etc/vsftpd
16. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
lvdisplay -D /dev/rootvg/tmplv
yum install mod_ssl squid
chkconfig --level 35 httpd on
yum clean all
17. Where is the vsftp pub dir?
LVM
rpm -ivh --replacepkgs xxxx*
/media/repodata
/var/ftp/pub
18. The rpm ____ option installs the package - if it isn't already installed.
system-config-firewall
-i
chkconfig vsftpd on
/etc/init.d/httpd restart
19. To check status of ftp daemon
service vsftpd status
yum clean all
/etc/init.d/httpd restart
pirut
20. 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)
ServerAdmin
lvdisplay -D /dev/rootvg/tmplv
e2fsadm
/etc/vsftpd
21. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
ErrorLog
lvdisplay -D /dev/rootvg/tmplv
resize2fs /dev/myvg/homevol
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
22. rpm ____ verifies all installed rpms against the rpm database
wget (http://devmon.dev.schwab.com/index.html)
iptables
rpm -Va
/etc/squid/
23. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
system-config-firewall
parted /dev/hda print
chkconfig vsftpd on
rpm -ivh --replacepkgs xxxx*
24. How to start apache service?
ls -Z
yum install httpd
/etc/init.d/httpd start
rpm -V
25. httpd ___ shows me what config files were installed when the httpd package was installed
select (followed by the device name such as /dev/hdb)
showmount -e
rpm -qc
yum install vsftpd
26. Where is vsftpd.conf?
/etc/init.d/vsftpd start
parted /dev/hda print
/etc/vsftpd
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)
27. 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
dumpe2fs
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
rpm -V zip
28. 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
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
/etc/squid/
resize2fs
29. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
tune2fs
setsebool -P htttpd.enable.homedirs 1
chcon -R -t httpd_sys_content_t /home/michael/public_html
parted /dev/hda print
30. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?
ssh
yum install httpd
/media/repodata
setup
31. The simplest way to install Apache
filesystem type is not ext2 or ext3
5
showmount -a
yum install httpd
32. Virtual Host Configuration: Names the URL for the virtual host.
fdisk -l
ServerName
NameVirtualHost
service vsftpd status
33. Virtual Host Configuration: Sets a root directory for the virtual host.
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
DocumentRoot
port 21
rpm -V
34. rpm ____ to import the rpm key for integrity checking
fdisk -l
parted; mklabel k
--import file
filesystem type is not ext2 or ext3
35. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
NameVirtualHost
-i (do not use -U or -F!)
/etc/init.d/httpd restart
port 21
36. 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
yum -y update
-i
ls -Z
iptables
37. What command starts the same menu as the text-mode First Boot process?
fdisk -l
parted /dev/hda print
NameVirtualHost
setup
38. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
ssh
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
yum install mod_ssl squid
/media/repodata
39. Are SELinux and iptables-based firewalls are enabled by default?
var/ftp/pub
chkconfig --list httpd
parted; mklabel k
Yes
40. How to start the vsftp service automatically on boot?
chkconfig --level 35 httpd on
/etc/init.d/httpd restart
chkconfig vsftpd on
ssh
41. what utility can be used to open port 80?
iptables
system-config-firewall
iptables -F
5
42. What parts of rhel6 should be installed to separate volumes?
chmod 705
/ (root) - /boot and linux swap
yum install mod_ssl squid
parted; check x
43. How do you restart the apache web server?
/etc/init.d/httpd restart
var/ftp/pub
/ (root) - /boot and linux swap
rpm -e zip
44. rpm ____ to install kernel updates
telnetd : ALL EXCEPT 192.168.1.10
-i (do not use -U or -F!)
rpm -qc
-l
45. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
-i
chmod 701
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
tune2fs
46. 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:
showmount -e
rpm -V
telnetd : ALL EXCEPT 192.168.1.10
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)
47. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
fdisk -l
yum install mod_ssl squid
nfs
ServerAdmin
48. 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 ____
tune2fs
rpm -e zip
service vsftpd status
e2fsadm
49. Logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
telnetd : ALL EXCEPT 192.168.1.10
5
tune2fs
chcon -R -t httpd_sys_content_t /home/michael/public_html
50. 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:
elinks
/etc/httpd/conf/
parted /dev/hda print
htpasswd -c /etc/httpd/webpass e
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