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. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain
chkconfig vsftpd on
nfs
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
htpasswd -c /etc/httpd/webpass e
2. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
/etc/init.d/vsftpd start
/var/ftp/pub
lvdisplay -D /dev/rootvg/tmplv
-i (do not use -U or -F!)
3. '____ /var/www' will tell you the ACL settings of /var/www
yum install vsftpd
yum install httpd
rpm -ivh --replacepkgs xxxx*
ls -Z
4. Where to find the main apache config file?
/etc/httpd/conf/
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)
setsebool -P squid_connect_any 1
lvdisplay -D /dev/rootvg/tmplv
5. Apache supports security by specifying active ports through the Listen and ____ directives.
NameVirtualHost
chkconfig httpd on
/ (root) - /boot and linux swap
LVM
6. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
setsebool -P htttpd.enable.homedirs 1
/etc/vsftpd
dd if=./diskboot.img of=/dev/sdc
-l
7. 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)
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
filesystem type is not ext2 or ext3
var/ftp/pub
8. The main Squid configuration file is ____/squid.conf
/etc/squid/
var/ftp/pub
dd if=./diskboot.img of=/dev/sdc
fdisk
9. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
parted /dev/hda print
/etc/httpd/conf/
chcon -R -t httpd_sys_content_t /home/michael/public_html
chmod 701
10. What is the first post installation step?
parted /dev/hda print
rpm -ivh --replacepkgs xxxx*
First boot process
-i (do not use -U or -F!)
11. rpm ____ verifies all installed rpms against the rpm database
chkconfig --list httpd
--import file
setsebool -P htttpd.enable.homedirs 1
rpm -Va
12. Where is the config dir for vsftpd?
rpm -ivh --replacepkgs xxxx*
/etc/vsftpd
yum install httpd
system-config-firewall
13. What is the standard directory for file sharing with vsFTP?
var/ftp/pub
rpm -e zip
lvextend -L4G /dev/rootvg/tmplv
chkconfig httpd on
14. Run the ____ command to find the device associated with the USB key.
/etc/vsftpd
fdisk -l
LVM
select (followed by the device name such as /dev/hdb)
15. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
telnetd : ALL EXCEPT 192.168.1.10
select (followed by the device name such as /dev/hdb)
var/www/html
ErrorLog
16. 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
iptables -F
yum update kernel
-i (do not use -U or -F!)
/etc/vsftpd
17. How to install apache?
yum install httpd
rpm -V
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
pirut
18. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
wget (http://devmon.dev.schwab.com/index.html)
fdisk
lvdisplay -D /dev/rootvg/tmplv
/boot
19. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
/media/repodata
setsebool -P htttpd.enable.homedirs 1
/etc/httpd/conf/
ServerName
20. ____ prints superblock and block group information.
/ (root) - /boot and linux swap
chmod 701
htpasswd -c /etc/httpd/webpass e
dumpe2fs
21. You can use the ____ tool after installation to add any package groups that you missed.
-i (do not use -U or -F!)
resize2fs /dev/myvg/homevol
pirut
/boot
22. How to start the vsftp service?
-l
CustomLog
/etc/init.d/vsftpd start
yum install vsftpd
23. what utility can be used to open port 80?
dd if=./diskboot.img of=/dev/sdc
pirut
NameVirtualHost
system-config-firewall
24. What service is allowed through the default firewall?
5
fdisk -l
yum install httpd
ssh
25. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
/etc/vsftpd
ServerAdmin
rpm -ivh --replacepkgs xxxx*
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
26. Create a disk label for the partition table called k
dd if=./diskboot.img of=/dev/sdc
nfs
/etc/vsftpd
parted; mklabel k
27. The simplest way to install Apache
tune2fs
yum install httpd
ServerAdmin
yum install mod_ssl squid
28. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
nfs
DocumentRoot
rpm -ivh --replacepkgs xxxx*
yum install httpd
29. Where is vsftpd.conf?
wget (http://devmon.dev.schwab.com/index.html)
mke2fs
chkconfig --level 35 httpd on
/etc/vsftpd
30. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
nfs
rpm -V
setsebool -P squid_connect_any 1
fdisk
31. Tthe file that might contain: oldvg - rootvg - etc.
chkconfig vsftpd on
/etc/lvmtab
lvdisplay -D /dev/rootvg/tmplv
iptables
32. 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
ServerTokens
pirut
5
-l
33. Where is the vsftp pub dir?
setsebool -P htttpd.enable.homedirs 1
rpm -qc
/var/ftp/pub
rpm -ivh --replacepkgs xxxx*
34. rpm ____ to import the rpm key for integrity checking
chkconfig vsftpd on
--import file
mke2fs
parted /dev/hda print
35. 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
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
resize2fs /dev/myvg/homevol
First boot process
chcon -R -t httpd_sys_content_t /home/michael/public_html
36. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
resize2fs
elinks
yum clean all
service vsftpd status
37. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
-K
(rpm -q)p file (for rpmfile name)
chkconfig vsftpd on
mke2fs
38. 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
iptables -F
iptables
--import file
rpm -V zip
39. How to start apache service?
/etc/init.d/httpd start
ssh
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
(rpm -q)p file (for rpmfile name)
40. To check status of ftp daemon
ls -Z
yum install vsftpd
service vsftpd status
/etc/init.d/httpd start
41. 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.
ServerAdmin
setsebool -P squid_connect_any 1
/etc/vsftpd
iptables -F
42. 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
43. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
yum install mod_ssl squid
chkconfig --list httpd
chmod 705
44. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
DocumentRoot
filesystem type is not ext2 or ext3
chkconfig --level 35 httpd on
yum install httpd
45. ____ is used for creating ext2 and ext3 file systems
mke2fs
/etc/httpd/conf/
system-config-firewall
squid -z
46. httpd ___ shows me what config files were installed when the httpd package was installed
chcon -R -t httpd_sys_content_t /home/michael/public_html
var/www/html
rpm -qc
DocumentRoot
47. How do you restart the apache web server?
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
LVM
/etc/init.d/httpd restart
iptables -F
48. ____ configuration is not available via text mode RHEL installation.
LVM
(rpm -q)p file (for rpmfile name)
NameVirtualHost
/etc/httpd/conf/
49. What parts of rhel6 should be installed to separate volumes?
/etc/init.d/vsftpd start
/ (root) - /boot and linux swap
nfs
yum update kernel
50. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
dd if=./diskboot.img of=/dev/sdc
NameVirtualHost
/etc/httpd/conf/
/etc/squid/
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