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. The simplest way to install Apache
rpm -V
setsebool -P htttpd.enable.homedirs 1
-K
yum install httpd
2. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
fdisk -l
chmod 701
/etc/lvmtab
fdisk
3. 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.
yum install httpd
chkconfig --level 35 httpd on
LVM
iptables -F
4. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
showmount -e
setsebool -P htttpd.enable.homedirs 1
chmod 701
/boot
5. 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/vsftpd
rpm -e zip
yum install mod_ssl squid
5
6. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
system-config-firewall
fdisk -l
yum update kernel
rpm -V zip
7. How to start the vsftp service?
/etc/init.d/vsftpd start
yum install httpd
showmount -e
ServerAdmin
8. 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
/etc/vsftpd
/etc/squid/
/boot
chkconfig httpd on
9. How to install apache?
yum install httpd
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
wget (http://devmon.dev.schwab.com/index.html)
dumpe2fs
10. 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 ____
var/www/html
/etc/init.d/vsftpd start
elinks
system-config-firewall
11. Where is the vsftp pub dir?
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
/var/ftp/pub
htpasswd -c /etc/httpd/webpass e
setup
12. If in doubt about package names - you can find them in the ...
yum install mod_ssl squid
showmount -a
chkconfig --list httpd
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)
13. Where is the main apache data directory?
chcon -R -t httpd_sys_content_t /home/michael/public_html
var/www/html
/etc/vsftpd
/etc/httpd/conf/
14. What is the standard directory for file sharing with vsFTP?
var/ftp/pub
var/www/html
lvdisplay -D /dev/rootvg/tmplv
select (followed by the device name such as /dev/hdb)
15. What service is allowed through the default firewall?
yum install httpd
ssh
chkconfig httpd on
iptables
16. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
lvextend -L4G /dev/rootvg/tmplv
yum clean all
iptables
port 21
17. After you edit /etc/exports - run service ___ stop...
LVM
nfs
select (followed by the device name such as /dev/hdb)
mke2fs
18. How to start the vsftp service automatically on boot?
First boot process
chkconfig vsftpd on
ServerAdmin
rpm -qc
19. The rpm ____ option installs the package - if it isn't already installed.
iptables -F
parted; mklabel k
-i
chkconfig vsftpd on
20. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
tune2fs
system-config-firewall
lvdisplay -D /dev/rootvg/tmplv
-i (do not use -U or -F!)
21. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
/etc/squid/
mke2fs
fdisk
var/ftp/pub
22. pam ___ will tell me if any files in the pam package have changed since it was first installed
rpm -V
yum clean all
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
system-config-firewall
23. ____ prints superblock and block group information.
dumpe2fs
ServerTokens
telnetd : ALL EXCEPT 192.168.1.10
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
24. Run the ____ command to find the device associated with the USB key.
fdisk -l
grep '[.*]' server1.repo
squid -z
iptables
25. How to start apache service?
iptables -F
chmod 701
/etc/init.d/httpd start
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
26. 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)
ErrorLog
-l
rpm -V
27. Create the basic cache directories in /var/spool/squid with the following command:
rpm -ivh --replacepkgs xxxx*
squid -z
/etc/vsftpd
Yes
28. To list under which run levels the web service will start
chkconfig --list httpd
DocumentRoot
chcon -R -t httpd_sys_content_t /home/michael/public_html
var/www/html
29. 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)
e2fsadm
ServerTokens
tune2fs
telnetd : ALL EXCEPT 192.168.1.10
30. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
fdisk -l
system-config-firewall
showmount -a
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
31. rpm ____ verifies all installed rpms against the rpm database
rpm -Va
tune2fs
showmount -e
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
32. _____ will change the size of /dev/rootvg/tmplv to 4 gig
ServerTokens
lvextend -L4G /dev/rootvg/tmplv
/var/ftp/pub
-i (do not use -U or -F!)
33. what port needs to be open to access ftp?
chkconfig httpd on
/ (root) - /boot and linux swap
yum install vsftpd
port 21
34. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
lvextend -L4G /dev/rootvg/tmplv
parted /dev/hda print
setsebool -P squid_connect_any 1
wget (http://devmon.dev.schwab.com/index.html)
35. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
/media/repodata
iptables
/boot
showmount -a
36. 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
37. ____ configuration is not available via text mode RHEL installation.
LVM
mke2fs
chkconfig httpd on
yum -y update
38. rpm option to show me the package files
yum -y update
-l
showmount -a
Yes
39. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
showmount -a
fdisk
DocumentRoot
filesystem type is not ext2 or ext3
40. 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
nfs
fdisk -l
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
41. httpd ___ shows me what config files were installed when the httpd package was installed
yum install vsftpd
rpm -V zip
ssh
rpm -qc
42. ____ is used to modify file system parameters
-l
iptables -F
yum -y update
tune2fs
43. 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/
/var/ftp/pub
mke2fs
chmod 701
44. Where is vsftpd.conf?
wget (http://devmon.dev.schwab.com/index.html)
squid -z
yum -y update
/etc/vsftpd
45. rpm ____ to import the rpm key for integrity checking
chcon -R -t httpd_sys_content_t /home/michael/public_html
--import file
lvextend -L4G /dev/rootvg/tmplv
/media/repodata
46. You can use the ____ tool after installation to add any package groups that you missed.
/etc/httpd/conf/
NameVirtualHost
pirut
lvextend -L4G /dev/rootvg/tmplv
47. 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
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
setup
htpasswd -c /etc/httpd/webpass e
48. rpm ____ to install kernel updates
-i (do not use -U or -F!)
pirut
elinks
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
49. The main Squid configuration file is ____/squid.conf
system-config-firewall
squid -z
/etc/squid/
yum install httpd
50. Where to find the main apache config file?
LVM
/etc/httpd/conf/
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
rpm -V
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