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. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
yum clean all
parted; mklabel k
iptables -F
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
2. 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.
/etc/vsftpd
e2fsadm
rpm -V
elinks
3. 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
DocumentRoot
filesystem type is not ext2 or ext3
rpm -V
4. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
ErrorLog
pirut
chkconfig --level 35 httpd on
NameVirtualHost
5. Apache supports security by specifying active ports through the Listen and ____ directives.
htpasswd -c /etc/httpd/webpass e
ls -Z
yum install mod_ssl squid
NameVirtualHost
6. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
dd if=./diskboot.img of=/dev/sdc
wget (http://devmon.dev.schwab.com/index.html)
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
AllowOverride
7. 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 ____
/etc/lvmtab
/etc/squid/
rpm -e zip
/etc/vsftpd
8. 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
chkconfig --list httpd
ServerTokens
wget (http://devmon.dev.schwab.com/index.html)
chkconfig httpd on
9. Create the basic cache directories in /var/spool/squid with the following command:
select (followed by the device name such as /dev/hdb)
iptables
/etc/init.d/vsftpd start
squid -z
10. Where is the main apache data directory?
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)
Yes
var/www/html
fdisk
11. 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 ____
port 21
elinks
(rpm -q)p file (for rpmfile name)
-K
12. To install both mod_ssl and squid packages
rpm -qc
/etc/vsftpd
yum install httpd
yum install mod_ssl squid
13. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
htpasswd -c /etc/httpd/webpass e
lvdisplay -D /dev/rootvg/tmplv
14. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
resize2fs
ls -Z
yum update kernel
(rpm -q)p file (for rpmfile name)
15. Where to find the main apache config file?
rpm -ivh --replacepkgs xxxx*
/etc/httpd/conf/
iptables
ServerTokens
16. Use parted to display disk geometry for /dev/hda and end up in shell
parted /dev/hda print
AllowOverride
rpm -V
pirut
17. How to start the vsftp service automatically on boot?
-i
system-config-firewall
chkconfig vsftpd on
/etc/httpd/conf/
18. what port needs to be open to access ftp?
/etc/vsftpd
fdisk -l
port 21
chmod 701
19. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
yum install httpd
chmod 701
rpm -V
AllowOverride
20. What is the first post installation step?
First boot process
fdisk -l
/boot
chkconfig vsftpd on
21. 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:
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
parted; mklabel k
e2fsadm
/etc/init.d/httpd start
22. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
showmount -e
Yes
filesystem type is not ext2 or ext3
setsebool -P htttpd.enable.homedirs 1
23. The simplest way to install Apache
chkconfig --level 35 httpd on
/media/repodata
squid -z
yum install httpd
24. How to install vsftpd?
service vsftpd status
lvextend -L4G /dev/rootvg/tmplv
yum install vsftpd
htpasswd -c /etc/httpd/webpass e
25. rpm ____ to install kernel updates
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
yum install mod_ssl squid
rpm -qc
-i (do not use -U or -F!)
26. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
setsebool -P htttpd.enable.homedirs 1
resize2fs /dev/myvg/homevol
chmod 705
5
27. The rpm ____ option installs the package - if it isn't already installed.
-i
ServerAdmin
htpasswd -c /etc/httpd/webpass e
lvdisplay -D /dev/rootvg/tmplv
28. Where is the vsftp pub dir?
parted; check x
resize2fs
/var/ftp/pub
ErrorLog
29. 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.
showmount -e
iptables -F
yum install vsftpd
htpasswd -c /etc/httpd/webpass e
30. rpm ____ verifies all installed rpms against the rpm database
rpm -Va
setup
parted; check x
chkconfig vsftpd 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
filesystem type is not ext2 or ext3
/boot
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
/etc/init.d/httpd restart
32. Where is the config dir for vsftpd?
ssh
rpm -Va
iptables -F
/etc/vsftpd
33. 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
mke2fs
setup
chmod 705
34. What is the standard directory for file sharing with vsFTP?
var/ftp/pub
rpm -e zip
rpm -Va
ls -Z
35. To check status of ftp daemon
lvdisplay -D /dev/rootvg/tmplv
/etc/init.d/httpd start
/etc/init.d/vsftpd start
service vsftpd status
36. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
chkconfig --level 35 httpd on
/etc/init.d/httpd restart
/boot
DocumentRoot
37. Tthe file that might contain: oldvg - rootvg - etc.
/etc/vsftpd
/etc/lvmtab
lvdisplay -D /dev/rootvg/tmplv
dd if=./diskboot.img of=/dev/sdc
38. what utility can be used to open port 80?
chkconfig httpd on
iptables -F
system-config-firewall
elinks
39. What parts of rhel6 should be installed to separate volumes?
lvdisplay -D /dev/rootvg/tmplv
rpm -e zip
/ (root) - /boot and linux swap
resize2fs
40. What command starts the same menu as the text-mode First Boot process?
setup
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
(rpm -q)p file (for rpmfile name)
rpm -V
41. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
ServerAdmin
/etc/init.d/httpd start
select (followed by the device name such as /dev/hdb)
42. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
var/www/html
filesystem type is not ext2 or ext3
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
5
43. To select a different device without having to restart parted - use the ____ command . Then - you can view its partition table or configure it.
ls -Z
showmount -e
iptables -F
select (followed by the device name such as /dev/hdb)
44. To list under which run levels the web service will start
chkconfig --list httpd
chmod 701
rpm -V
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
45. Virtual Host Configuration: Names the URL for the virtual host.
ServerName
port 21
htpasswd -c /etc/httpd/webpass e
-K
46. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
DocumentRoot
Yes
setsebool -P squid_connect_any 1
showmount -a
47. '____ /var/www' will tell you the ACL settings of /var/www
ls -Z
/etc/vsftpd
/etc/init.d/httpd restart
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
48. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
fdisk
LVM
system-config-firewall
/boot
49. 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)
rpm -e zip
(rpm -q)p file (for rpmfile name)
e2fsadm
ssh
50. httpd ___ to update the httpd package - automatically answering yes to all the questions
yum -y update
rpm -V
/etc/init.d/httpd start
setsebool -P squid_connect_any 1
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