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. Run the ____ command to find the device associated with the USB key.
squid -z
ServerTokens
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
fdisk -l
2. Use parted to display disk geometry for /dev/hda and end up in shell
ErrorLog
parted /dev/hda print
setsebool -P htttpd.enable.homedirs 1
iptables -F
3. To install both mod_ssl and squid packages
/etc/init.d/vsftpd start
yum install httpd
yum install mod_ssl squid
chkconfig --list httpd
4. rpm option to show me the package files
-l
ServerAdmin
ServerName
First boot process
5. 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.
rpm -V
nfs
chkconfig httpd on
rpm -ivh --replacepkgs xxxx*
6. Create a disk label for the partition table called k
/var/ftp/pub
parted; mklabel k
telnetd : ALL EXCEPT 192.168.1.10
nfs
7. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
/var/ftp/pub
chkconfig httpd on
fdisk
(rpm -q)p file (for rpmfile name)
8. 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 ____
/etc/httpd/conf/
ServerTokens
elinks
yum clean all
9. Perform a simple check of the file system. minor-num is x.
parted; check x
DocumentRoot
rpm -Va
e2fsadm
10. ____ can expand and shrink ext2 and ext3 file systems
parted; check x
/var/ftp/pub
resize2fs
-K
11. How to start the vsftp service automatically on boot?
chkconfig vsftpd on
tune2fs
iptables -F
lvdisplay -D /dev/rootvg/tmplv
12. httpd ___ shows me what config files were installed when the httpd package was installed
/media/repodata
yum install httpd
rpm -V
rpm -qc
13. what utility can be used to open port 80?
rpm -Va
system-config-firewall
select (followed by the device name such as /dev/hdb)
ServerName
14. ____ configuration is not available via text mode RHEL installation.
var/www/html
LVM
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
/etc/lvmtab
15. 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
(rpm -q)p file (for rpmfile name)
dd if=./diskboot.img of=/dev/sdc
pirut
AllowOverride
16. Where is the main apache data directory?
var/www/html
NameVirtualHost
rpm -V
telnetd : ALL EXCEPT 192.168.1.10
17. 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:
showmount -a
NameVirtualHost
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
fdisk
18. Where to find the main apache config file?
/etc/httpd/conf/
/etc/init.d/httpd restart
rpm -ivh --replacepkgs xxxx*
showmount -a
19. rpm ____ to install kernel updates
-i (do not use -U or -F!)
/etc/httpd/conf/
parted /dev/hda print
resize2fs /dev/myvg/homevol
20. What service is allowed through the default firewall?
tune2fs
ErrorLog
nfs
ssh
21. How do you restart the apache web server?
chmod 701
/etc/init.d/httpd restart
dd if=./diskboot.img of=/dev/sdc
setup
22. How to start apache service?
chkconfig httpd on
resize2fs /dev/myvg/homevol
/etc/init.d/httpd start
chcon -R -t httpd_sys_content_t /home/michael/public_html
23. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
rpm -Va
dd if=./diskboot.img of=/dev/sdc
fdisk -l
yum -y update
24. How to install vsftpd?
yum install mod_ssl squid
yum install vsftpd
ServerTokens
chmod 705
25. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
yum clean all
resize2fs
rpm -ivh --replacepkgs xxxx*
htpasswd -c /etc/httpd/webpass e
26. How to disable the firewall on the current system?
dumpe2fs
iptables -F
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
port 21
27. The main Squid configuration file is ____/squid.conf
ServerTokens
/etc/squid/
-i (do not use -U or -F!)
/etc/init.d/vsftpd start
28. Where is vsftpd.conf?
yum install vsftpd
/media/repodata
/etc/vsftpd
rpm -Va
29. 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
NameVirtualHost
htpasswd -c /etc/httpd/webpass e
/etc/init.d/vsftpd start
30. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
chmod 705
ErrorLog
tune2fs
chkconfig httpd on
31. 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
CustomLog
lvextend -L4G /dev/rootvg/tmplv
nfs
32. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain
lvextend -L4G /dev/rootvg/tmplv
ssh
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
tune2fs
33. Virtual Host Configuration: Sets a root directory for the virtual host.
chkconfig vsftpd on
DocumentRoot
chcon -R -t httpd_sys_content_t /home/michael/public_html
telnetd : ALL EXCEPT 192.168.1.10
34. 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
5
/etc/httpd/conf/
35. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
NameVirtualHost
chmod 701
parted /dev/hda print
parted; mklabel k
36. 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 ____
ErrorLog
rpm -e zip
var/ftp/pub
LVM
37. The simplest way to install Apache
yum install httpd
--import file
chmod 705
fdisk
38. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
dd if=./diskboot.img of=/dev/sdc
fdisk
lvdisplay -D /dev/rootvg/tmplv
ls -Z
39. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?
/media/repodata
fdisk -l
setup
/etc/httpd/conf/
40. 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)
port 21
/etc/squid/
e2fsadm
/boot
41. You can use the ____ tool after installation to add any package groups that you missed.
iptables -F
CustomLog
pirut
/etc/init.d/vsftpd start
42. rpm ____ [name of package] to verify the package - once you have manually imported the key
yum install mod_ssl squid
yum -y update
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
-K
43. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
iptables -F
resize2fs /dev/myvg/homevol
NameVirtualHost
nfs
44. What command starts the same menu as the text-mode First Boot process?
setup
chkconfig --level 35 httpd on
lvdisplay -D /dev/rootvg/tmplv
dumpe2fs
45. Apache supports security by specifying active ports through the Listen and ____ directives.
chmod 701
NameVirtualHost
chkconfig httpd on
resize2fs /dev/myvg/homevol
46. After you edit /etc/exports - run service ___ stop...
dumpe2fs
nfs
-i
yum clean all
47. 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
chcon -R -t httpd_sys_content_t /home/michael/public_html
mke2fs
yum update kernel
/etc/init.d/httpd start
48. 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
rpm -qc
setsebool -P squid_connect_any 1
showmount -e
/etc/squid/
49. Create the basic cache directories in /var/spool/squid with the following command:
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)
squid -z
AllowOverride
var/www/html
50. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
DocumentRoot
service vsftpd status
resize2fs /dev/myvg/homevol
chmod 705
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