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. 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
fdisk
setsebool -P squid_connect_any 1
yum install httpd
chkconfig --level 35 httpd on
2. How to start the vsftp service?
chkconfig vsftpd on
/etc/init.d/vsftpd start
var/www/html
fdisk
3. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
NameVirtualHost
ServerName
chmod 701
showmount -a
4. Use parted to display disk geometry for /dev/hda and end up in shell
parted /dev/hda print
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
/etc/init.d/vsftpd start
iptables
5. How to disable the firewall on the current system?
fdisk -l
iptables -F
First boot process
LVM
6. httpd ___ to update the httpd package - automatically answering yes to all the questions
e2fsadm
rpm -V zip
yum -y update
fdisk -l
7. 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
LVM
setsebool -P htttpd.enable.homedirs 1
ServerTokens
/var/ftp/pub
8. pam ___ will tell me if any files in the pam package have changed since it was first installed
rpm -e zip
rpm -V
lvdisplay -D /dev/rootvg/tmplv
/etc/lvmtab
9. The rpm ____ option installs the package - if it isn't already installed.
-K
rpm -V
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
-i
10. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
rpm -Va
(rpm -q)p file (for rpmfile name)
NameVirtualHost
CustomLog
11. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
chmod 701
yum install vsftpd
nfs
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
12. ____ prints superblock and block group information.
dumpe2fs
(rpm -q)p file (for rpmfile name)
chkconfig --list httpd
ServerName
13. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
lvextend -L4G /dev/rootvg/tmplv
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
fdisk -l
/etc/vsftpd
14. Virtual Host Configuration: Names the URL for the virtual host.
squid -z
rpm -V zip
ServerName
htpasswd -c /etc/httpd/webpass e
15. 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
pirut
rpm -Va
telnetd : ALL EXCEPT 192.168.1.10
iptables
16. Virtual Host Configuration: Sets a root directory for the virtual host.
(rpm -q)p file (for rpmfile name)
lvdisplay -D /dev/rootvg/tmplv
DocumentRoot
nfs
17. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
setup
ErrorLog
var/www/html
-l
18. Logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
/var/ftp/pub
5
AllowOverride
setup
19. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
elinks
chkconfig --level 35 httpd on
resize2fs /dev/myvg/homevol
chmod 705
20. 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
21. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
DocumentRoot
filesystem type is not ext2 or ext3
fdisk
/etc/vsftpd
22. 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
chkconfig --list httpd
LVM
NameVirtualHost
23. Perform a simple check of the file system. minor-num is x.
grep '[.*]' server1.repo
parted; check x
service vsftpd status
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
24. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
rpm -Va
ServerAdmin
/boot
CustomLog
25. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
yum -y update
5
yum clean all
parted /dev/hda print
26. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
/etc/init.d/httpd restart
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
setsebool -P htttpd.enable.homedirs 1
iptables -F
27. 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)
AllowOverride
e2fsadm
ErrorLog
fdisk
28. Are SELinux and iptables-based firewalls are enabled by default?
-l
parted; check x
telnetd : ALL EXCEPT 192.168.1.10
Yes
29. 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:
resize2fs
htpasswd -c /etc/httpd/webpass e
dd if=./diskboot.img of=/dev/sdc
-l
30. The main Squid configuration file is ____/squid.conf
ErrorLog
/etc/squid/
fdisk -l
ServerTokens
31. What command starts the same menu as the text-mode First Boot process?
nfs
ErrorLog
setup
--import file
32. rpm option to show me the package files
-l
-i (do not use -U or -F!)
/etc/init.d/httpd start
resize2fs
33. 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
grep '[.*]' server1.repo
(rpm -q)p file (for rpmfile name)
/var/ftp/pub
chcon -R -t httpd_sys_content_t /home/michael/public_html
34. 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 ____
rpm -e zip
e2fsadm
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
setsebool -P htttpd.enable.homedirs 1
35. Tthe file that might contain: oldvg - rootvg - etc.
/etc/lvmtab
iptables -F
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)
var/ftp/pub
36. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
fdisk -l
chmod 701
-l
First boot process
37. To select a different device without having to restart parted - use the ____ command . Then - you can view its partition table or configure it.
select (followed by the device name such as /dev/hdb)
htpasswd -c /etc/httpd/webpass e
--import file
filesystem type is not ext2 or ext3
38. _____ will change the size of /dev/rootvg/tmplv to 4 gig
iptables -F
lvextend -L4G /dev/rootvg/tmplv
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
ServerAdmin
39. rpm ____ to install kernel updates
rpm -Va
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)
chkconfig --level 35 httpd on
-i (do not use -U or -F!)
40. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
setup
chmod 705
dd if=./diskboot.img of=/dev/sdc
chkconfig httpd on
41. rpm ____ verifies all installed rpms against the rpm database
First boot process
rpm -V
rpm -Va
select (followed by the device name such as /dev/hdb)
42. The simplest way to install Apache
yum install httpd
parted; mklabel k
system-config-firewall
filesystem type is not ext2 or ext3
43. 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.
ErrorLog
iptables -F
setsebool -P squid_connect_any 1
fdisk
44. rpm ____ verifies the installed zip rpm against the rpm database
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
iptables -F
rpm -V zip
select (followed by the device name such as /dev/hdb)
45. 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
var/ftp/pub
nfs
rpm -Va
/boot
46. what utility can be used to open port 80?
(rpm -q)p file (for rpmfile name)
system-config-firewall
rpm -ivh --replacepkgs xxxx*
grep '[.*]' server1.repo
47. rpm ____ [name of package] to verify the package - once you have manually imported the key
parted; mklabel k
chkconfig httpd on
squid -z
-K
48. 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
parted; mklabel k
chmod 701
pirut
49. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
First boot process
rpm -Va
(rpm -q)p file (for rpmfile name)
chmod 705
50. What parts of rhel6 should be installed to separate volumes?
tune2fs
/ (root) - /boot and linux swap
yum clean all
/media/repodata
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