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. Where to find the main apache config file?
lvextend -L4G /dev/rootvg/tmplv
/etc/httpd/conf/
DocumentRoot
/etc/vsftpd
2. ____ configuration is not available via text mode RHEL installation.
LVM
filesystem type is not ext2 or ext3
chcon -R -t httpd_sys_content_t /home/michael/public_html
lvdisplay -D /dev/rootvg/tmplv
3. Logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
DocumentRoot
-K
5
CustomLog
4. httpd ___ shows me what config files were installed when the httpd package was installed
iptables -F
/etc/httpd/conf/
chmod 705
rpm -qc
5. What is the first post installation step?
First boot process
lvdisplay -D /dev/rootvg/tmplv
rpm -e zip
setup
6. 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
AllowOverride
parted; mklabel k
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
7. 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 --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
e2fsadm
yum install vsftpd
ls -Z
8. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
AllowOverride
/etc/init.d/httpd restart
rpm -V
NameVirtualHost
9. The simplest way to install Apache
setup
filesystem type is not ext2 or ext3
nfs
yum install httpd
10. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
Yes
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
--import file
parted; mklabel k
11. How to make sure apache starts automatically on next reboot?
setsebool -P htttpd.enable.homedirs 1
chkconfig httpd on
mke2fs
yum update kernel
12. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
filesystem type is not ext2 or ext3
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
/etc/vsftpd
fdisk -l
13. What parts of rhel6 should be installed to separate volumes?
yum -y update
-l
fdisk -l
/ (root) - /boot and linux swap
14. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
/etc/init.d/httpd restart
fdisk -l
yum clean all
rpm -ivh --replacepkgs xxxx*
15. rpm option to show me the package files
squid -z
--import file
-l
grep '[.*]' server1.repo
16. How to install apache?
fdisk -l
chkconfig httpd on
yum install httpd
nfs
17. 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
18. How to start the vsftp service automatically on boot?
yum -y update
chkconfig httpd on
/var/ftp/pub
chkconfig vsftpd on
19. Apache supports security by specifying active ports through the Listen and ____ directives.
NameVirtualHost
chcon -R -t httpd_sys_content_t /home/michael/public_html
parted /dev/hda print
/etc/httpd/conf/
20. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
/etc/init.d/httpd restart
iptables -F
parted; check x
wget (http://devmon.dev.schwab.com/index.html)
21. 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
fdisk
dumpe2fs
22. rpm ____ verifies the installed zip rpm against the rpm database
setup
rpm -V zip
chkconfig vsftpd on
yum update kernel
23. Create the basic cache directories in /var/spool/squid with the following command:
/etc/init.d/httpd restart
squid -z
filesystem type is not ext2 or ext3
service vsftpd status
24. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
parted /dev/hda print
resize2fs /dev/myvg/homevol
/etc/init.d/httpd start
ssh
25. Virtual Host Configuration: Sets a root directory for the virtual host.
DocumentRoot
chkconfig vsftpd on
chkconfig httpd on
chkconfig --level 35 httpd on
26. How to install vsftpd?
var/ftp/pub
telnetd : ALL EXCEPT 192.168.1.10
yum install vsftpd
yum install httpd
27. To install both mod_ssl and squid packages
fdisk -l
/etc/squid/
chkconfig --list httpd
yum install mod_ssl squid
28. You can check the status of your share. If it's working - you should see the contents of the /etc/exports directory when you run the following command:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
rpm -V
showmount -e
/etc/init.d/vsftpd start
29. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
ErrorLog
(rpm -q)p file (for rpmfile name)
iptables -F
fdisk
30. After you edit /etc/exports - run service ___ stop...
nfs
/etc/init.d/httpd start
var/www/html
/etc/lvmtab
31. 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
CustomLog
iptables
rpm -Va
32. '____ /var/www' will tell you the ACL settings of /var/www
ServerTokens
ls -Z
NameVirtualHost
showmount -e
33. Create a disk label for the partition table called k
/ (root) - /boot and linux swap
service vsftpd status
resize2fs /dev/myvg/homevol
parted; mklabel k
34. ____ prints superblock and block group information.
dumpe2fs
rpm -qc
parted; mklabel k
iptables -F
35. To list under which run levels the web service will start
yum -y update
yum install httpd
iptables
chkconfig --list httpd
36. rpm ____ to import the rpm key for integrity checking
yum install httpd
iptables -F
CustomLog
--import file
37. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
resize2fs /dev/myvg/homevol
yum install httpd
rpm -ivh --replacepkgs xxxx*
-i
38. 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
(rpm -q)p file (for rpmfile name)
dumpe2fs
yum clean all
39. 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)
rpm -qc
chkconfig vsftpd on
grep '[.*]' server1.repo
40. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
chmod 701
5
rpm -V
yum -y update
41. 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.
chmod 701
rpm -V
filesystem type is not ext2 or ext3
/media/repodata
42. How to disable the firewall on the current system?
fdisk -l
mke2fs
iptables -F
parted; mklabel k
43. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
chmod 701
rpm -qc
filesystem type is not ext2 or ext3
/etc/squid/
44. Use parted to display disk geometry for /dev/hda and end up in shell
chcon -R -t httpd_sys_content_t /home/michael/public_html
parted /dev/hda print
yum -y update
rpm -Va
45. what utility can be used to open port 80?
htpasswd -c /etc/httpd/webpass e
system-config-firewall
var/ftp/pub
rpm -Va
46. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
port 21
iptables -F
showmount -a
rpm -V
47. what port needs to be open to access ftp?
port 21
iptables
/etc/init.d/httpd restart
ServerName
48. When you configure Squid on your system - you need to allow access through appropriate ports and SELinux settings. The simplest approach with respect to Squid configuration assumes that all clients use the default Squid port 3128 - using TCP - where
service vsftpd status
iptables
htpasswd -c /etc/httpd/webpass e
/etc/init.d/vsftpd start
49. Where is the main apache data directory?
/ (root) - /boot and linux swap
setsebool -P htttpd.enable.homedirs 1
var/www/html
/media/repodata
50. rpm ____ to install kernel updates
-i (do not use -U or -F!)
yum install httpd
resize2fs
iptables
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