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 most straightforward way to make sure Apache starts in bootlevels 3 and 5
port 21
/boot
/etc/httpd/conf/
chkconfig --level 35 httpd on
2. 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
NameVirtualHost
-i (do not use -U or -F!)
ls -Z
chcon -R -t httpd_sys_content_t /home/michael/public_html
3. ____ can expand and shrink ext2 and ext3 file systems
AllowOverride
resize2fs
chmod 705
/etc/lvmtab
4. Where is the main apache data directory?
yum update kernel
var/www/html
rpm -V
var/ftp/pub
5. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?
(rpm -q)p file (for rpmfile name)
/media/repodata
select (followed by the device name such as /dev/hdb)
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
6. rpm ____ verifies the installed zip rpm against the rpm database
chkconfig httpd on
filesystem type is not ext2 or ext3
rpm -V zip
yum install httpd
7. The main Squid configuration file is ____/squid.conf
/etc/squid/
/etc/vsftpd
-K
/etc/init.d/httpd restart
8. Virtual Host Configuration: Names the URL for the virtual host.
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
fdisk -l
/etc/httpd/conf/
ServerName
9. Are SELinux and iptables-based firewalls are enabled by default?
mke2fs
htpasswd -c /etc/httpd/webpass e
Yes
chkconfig httpd on
10. Logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
filesystem type is not ext2 or ext3
5
var/ftp/pub
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
11. You can use the ____ tool after installation to add any package groups that you missed.
pirut
showmount -a
lvdisplay -D /dev/rootvg/tmplv
ErrorLog
12. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
filesystem type is not ext2 or ext3
rpm -qc
/etc/squid/
/boot
13. To list under which run levels the web service will start
chkconfig --list httpd
yum install httpd
iptables
lvextend -L4G /dev/rootvg/tmplv
14. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
showmount -a
chmod 705
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
select (followed by the device name such as /dev/hdb)
15. 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
parted; mklabel k
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
ssh
lvdisplay -D /dev/rootvg/tmplv
16. Where is the vsftp pub dir?
filesystem type is not ext2 or ext3
lvdisplay -D /dev/rootvg/tmplv
/var/ftp/pub
dd if=./diskboot.img of=/dev/sdc
17. 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 ____
showmount -a
elinks
rpm -V zip
dd if=./diskboot.img of=/dev/sdc
18. ____ is used for creating ext2 and ext3 file systems
Yes
mke2fs
iptables -F
rpm -qc
19. After you edit /etc/exports - run service ___ stop...
nfs
CustomLog
/etc/squid/
/boot
20. httpd ___ shows me what config files were installed when the httpd package was installed
chmod 701
chkconfig httpd on
NameVirtualHost
rpm -qc
21. rpm ____ to import the rpm key for integrity checking
--import file
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
/etc/lvmtab
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
22. How do you restart the apache web server?
tune2fs
yum update kernel
elinks
/etc/init.d/httpd restart
23. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
rpm -ivh --replacepkgs xxxx*
resize2fs /dev/myvg/homevol
service vsftpd status
lvdisplay -D /dev/rootvg/tmplv
24. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
CustomLog
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)
ErrorLog
fdisk
25. What is the standard directory for file sharing with vsFTP?
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
e2fsadm
var/ftp/pub
var/www/html
26. rpm option to show me the package files
-l
chkconfig --level 35 httpd on
chkconfig --list httpd
fdisk
27. The rpm ____ option installs the package - if it isn't already installed.
/ (root) - /boot and linux swap
parted; mklabel k
filesystem type is not ext2 or ext3
-i
28. Create a disk label for the partition table called k
yum install mod_ssl squid
parted; mklabel k
rpm -V
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
29. 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)
yum install httpd
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
htpasswd -c /etc/httpd/webpass e
30. How to install vsftpd?
yum -y update
parted /dev/hda print
yum install vsftpd
var/www/html
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
setup
/boot
ServerName
/var/ftp/pub
32. How to start the vsftp service automatically on boot?
chkconfig vsftpd on
system-config-firewall
/etc/lvmtab
lvextend -L4G /dev/rootvg/tmplv
33. _____ will change the size of /dev/rootvg/tmplv to 4 gig
-l
telnetd : ALL EXCEPT 192.168.1.10
rpm -V
lvextend -L4G /dev/rootvg/tmplv
34. Create the basic cache directories in /var/spool/squid with the following command:
chcon -R -t httpd_sys_content_t /home/michael/public_html
yum install httpd
-l
squid -z
35. pam ___ will tell me if any files in the pam package have changed since it was first installed
yum -y update
rpm -V
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
ServerAdmin
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. what port needs to be open to access ftp?
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
port 21
yum install vsftpd
showmount -a
38. rpm ____ verifies all installed rpms against the rpm database
rpm -Va
squid -z
iptables -F
var/ftp/pub
39. How to make sure apache starts automatically on next reboot?
rpm -qc
chkconfig --level 35 httpd on
NameVirtualHost
chkconfig httpd on
40. Where is vsftpd.conf?
parted; check x
/ (root) - /boot and linux swap
/etc/vsftpd
pirut
41. Use parted to display disk geometry for /dev/hda and end up in shell
/media/repodata
parted /dev/hda print
yum install vsftpd
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
42. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
yum install httpd
iptables -F
yum -y update
yum clean all
43. 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)
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
/etc/init.d/httpd start
e2fsadm
DocumentRoot
44. 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:
htpasswd -c /etc/httpd/webpass e
/etc/httpd/conf/
CustomLog
ssh
45. How to start the vsftp service?
chkconfig httpd on
rpm -V
/etc/init.d/vsftpd start
ls -Z
46. What parts of rhel6 should be installed to separate volumes?
ls -Z
rpm -Va
-K
/ (root) - /boot and linux swap
47. Run the ____ command to find the device associated with the USB key.
fdisk -l
-i
wget (http://devmon.dev.schwab.com/index.html)
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)
48. 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:
/media/repodata
-i (do not use -U or -F!)
fdisk
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
49. 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
/etc/init.d/httpd restart
iptables -F
AllowOverride
var/ftp/pub
50. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
tune2fs
/boot
fdisk -l
rpm -ivh --replacepkgs xxxx*
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