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. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
ServerName
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
ServerAdmin
setup
2. 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
LVM
yum install httpd
telnetd : ALL EXCEPT 192.168.1.10
ServerTokens
3. '____ /var/www' will tell you the ACL settings of /var/www
nfs
showmount -e
ls -Z
NameVirtualHost
4. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
NameVirtualHost
/etc/init.d/httpd restart
telnetd : ALL EXCEPT 192.168.1.10
filesystem type is not ext2 or ext3
5. Apache supports security by specifying active ports through the Listen and ____ directives.
ServerName
-K
chkconfig --list httpd
NameVirtualHost
6. 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:
rpm -e zip
First boot process
rpm -qc
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
7. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
rpm -ivh --replacepkgs xxxx*
CustomLog
chcon -R -t httpd_sys_content_t /home/michael/public_html
iptables
8. Where is vsftpd.conf?
pirut
/etc/vsftpd
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
ServerTokens
9. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
chkconfig --level 35 httpd on
elinks
AllowOverride
NameVirtualHost
10. what utility can be used to open port 80?
rpm -e zip
iptables
system-config-firewall
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
11. httpd ___ to update the httpd package - automatically answering yes to all the questions
/media/repodata
chmod 701
yum -y update
rpm -V
12. ____ prints superblock and block group information.
First boot process
dumpe2fs
parted /dev/hda print
ls -Z
13. Where is the main apache data directory?
chmod 705
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
var/www/html
14. What command starts the same menu as the text-mode First Boot process?
setup
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
ssh
-K
15. To list under which run levels the web service will start
chkconfig --list httpd
parted; mklabel k
/var/ftp/pub
htpasswd -c /etc/httpd/webpass e
16. 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
-K
-i (do not use -U or -F!)
chkconfig vsftpd on
17. How do you restart the apache web server?
/etc/init.d/httpd restart
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
port 21
telnetd : ALL EXCEPT 192.168.1.10
18. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
resize2fs /dev/myvg/homevol
iptables -F
ServerName
-i (do not use -U or -F!)
19. Virtual Host Configuration: Sets a root directory for the virtual host.
DocumentRoot
/var/ftp/pub
ServerName
setsebool -P squid_connect_any 1
20. 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
-i (do not use -U or -F!)
5
iptables
21. You can use the ____ tool after installation to add any package groups that you missed.
ServerTokens
parted; check x
-K
pirut
22. How to make sure apache starts automatically on next reboot?
/etc/vsftpd
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
chkconfig httpd on
-i (do not use -U or -F!)
23. The main Squid configuration file is ____/squid.conf
/etc/squid/
lvdisplay -D /dev/rootvg/tmplv
rpm -Va
/etc/init.d/httpd restart
24. The rpm ____ option installs the package - if it isn't already installed.
chkconfig --list httpd
ls -Z
(rpm -q)p file (for rpmfile name)
-i
25. Run the ____ command to find the device associated with the USB key.
yum install httpd
parted; check x
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
fdisk -l
26. What is the standard directory for file sharing with vsFTP?
var/ftp/pub
/etc/init.d/httpd restart
ServerAdmin
system-config-firewall
27. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
select (followed by the device name such as /dev/hdb)
yum clean all
fdisk
dd if=./diskboot.img of=/dev/sdc
28. To update a kernel - 1) ____ 2) boot new kernel to test 3) revert to old kernel if problems 4) yum remove kernel-oldversion if no problems
telnetd : ALL EXCEPT 192.168.1.10
5
yum update kernel
chmod 705
29. 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
ls -Z
nfs
telnetd : ALL EXCEPT 192.168.1.10
30. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
/etc/vsftpd
resize2fs /dev/myvg/homevol
NameVirtualHost
31. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
yum install mod_ssl squid
ErrorLog
dd if=./diskboot.img of=/dev/sdc
NameVirtualHost
32. rpm ____ verifies the installed zip rpm against the rpm database
yum install vsftpd
rpm -V zip
First boot process
LVM
33. rpm option to show me the package files
var/ftp/pub
parted; mklabel k
chkconfig httpd on
-l
34. How to start apache service?
dumpe2fs
/etc/init.d/httpd start
yum install httpd
rpm -Va
35. What service is allowed through the default firewall?
dumpe2fs
LVM
AllowOverride
ssh
36. Create a disk label for the partition table called k
NameVirtualHost
iptables -F
parted; mklabel k
yum clean all
37. 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
filesystem type is not ext2 or ext3
NameVirtualHost
mke2fs
38. 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:
showmount -e
iptables -F
/boot
parted; check x
39. ____ is used to modify file system parameters
/etc/lvmtab
grep '[.*]' server1.repo
tune2fs
NameVirtualHost
40. If in doubt about package names - you can find them in the ...
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/www/html
parted; check x
ServerName
41. 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
iptables -F
--import file
setsebool -P squid_connect_any 1
parted; check x
42. 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
/boot
service vsftpd status
e2fsadm
var/www/html
43. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
showmount -a
/media/repodata
showmount -e
/etc/vsftpd
44. After you edit /etc/exports - run service ___ stop...
grep '[.*]' server1.repo
showmount -e
LVM
nfs
45. Create the basic cache directories in /var/spool/squid with the following command:
chmod 701
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
port 21
squid -z
46. Where to find the main apache config file?
ServerName
rpm -e zip
/etc/httpd/conf/
elinks
47. How to start the vsftp service automatically on boot?
chkconfig vsftpd on
pirut
yum install vsftpd
ssh
48. 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
fdisk -l
parted; check x
/etc/httpd/conf/
49. 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)
yum update kernel
ErrorLog
ls -Z
CustomLog
50. Where is the config dir for vsftpd?
chkconfig --list httpd
yum install httpd
fdisk
/etc/vsftpd
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