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. How do you restart the apache web server?
/etc/init.d/httpd restart
setsebool -P squid_connect_any 1
/ (root) - /boot and linux swap
squid -z
2. The simplest way to install Apache
rpm -Va
elinks
-K
yum install httpd
3. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
ErrorLog
chkconfig --level 35 httpd on
-l
ssh
4. To install both mod_ssl and squid packages
CustomLog
yum install mod_ssl squid
/media/repodata
ssh
5. Where is the config dir for vsftpd?
tune2fs
LVM
lvextend -L4G /dev/rootvg/tmplv
/etc/vsftpd
6. 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)
port 21
e2fsadm
chmod 701
rpm -V zip
7. After you edit /etc/exports - run service ___ stop...
nfs
port 21
-K
yum install httpd
8. If in doubt about package names - you can find them in the ...
rpm -Va
ErrorLog
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)
iptables -F
9. To select a different device without having to restart parted - use the ____ command . Then - you can view its partition table or configure it.
iptables -F
select (followed by the device name such as /dev/hdb)
yum install mod_ssl squid
lvextend -L4G /dev/rootvg/tmplv
10. httpd ___ to update the httpd package - automatically answering yes to all the questions
system-config-firewall
mke2fs
ServerAdmin
yum -y update
11. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
setsebool -P htttpd.enable.homedirs 1
rpm -V
resize2fs /dev/myvg/homevol
filesystem type is not ext2 or ext3
12. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
ServerTokens
rpm -V
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)
13. rpm ____ [name of package] to verify the package - once you have manually imported the key
showmount -a
yum install httpd
-K
5
14. The rpm ____ option installs the package - if it isn't already installed.
/etc/vsftpd
chkconfig httpd on
/etc/vsftpd
-i
15. Run the ____ command to find the device associated with the USB key.
rpm -V zip
pirut
fdisk -l
nfs
16. ____ configuration is not available via text mode RHEL installation.
service vsftpd status
LVM
fdisk -l
system-config-firewall
17. ____ is used to modify file system parameters
chkconfig vsftpd on
yum install mod_ssl squid
tune2fs
setup
18. 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
pirut
elinks
squid -z
telnetd : ALL EXCEPT 192.168.1.10
19. Use parted to display disk geometry for /dev/hda and end up in shell
telnetd : ALL EXCEPT 192.168.1.10
rpm -qc
parted /dev/hda print
ssh
20. 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 ____
ServerAdmin
rpm -e zip
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
ErrorLog
21. Are SELinux and iptables-based firewalls are enabled by default?
telnetd : ALL EXCEPT 192.168.1.10
pirut
Yes
yum install httpd
22. pam ___ will tell me if any files in the pam package have changed since it was first installed
e2fsadm
rpm -V
/etc/lvmtab
mke2fs
23. Where is the main apache data directory?
var/www/html
resize2fs /dev/myvg/homevol
select (followed by the device name such as /dev/hdb)
NameVirtualHost
24. Virtual Host Configuration: Names the URL for the virtual host.
fdisk -l
/etc/httpd/conf/
ServerName
htpasswd -c /etc/httpd/webpass e
25. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
rpm -ivh --replacepkgs xxxx*
rpm -V
chkconfig --level 35 httpd on
fdisk -l
26. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
DocumentRoot
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
iptables
rpm -ivh --replacepkgs xxxx*
27. 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
service vsftpd status
ServerTokens
chcon -R -t httpd_sys_content_t /home/michael/public_html
/etc/init.d/vsftpd start
28. rpm option to show me the package files
port 21
-l
/etc/init.d/httpd restart
mke2fs
29. Where is the vsftp pub dir?
iptables -F
port 21
pirut
/var/ftp/pub
30. 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)
showmount -e
CustomLog
elinks
DocumentRoot
31. 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:
/etc/init.d/vsftpd start
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
ServerAdmin
chkconfig vsftpd on
32. What is the standard directory for file sharing with vsFTP?
fdisk -l
htpasswd -c /etc/httpd/webpass e
iptables -F
var/ftp/pub
33. rpm ____ verifies the installed zip rpm against the rpm database
fdisk -l
ServerTokens
rpm -V zip
select (followed by the device name such as /dev/hdb)
34. You can use the ____ tool after installation to add any package groups that you missed.
pirut
rpm -V
showmount -a
-l
35. 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
/etc/init.d/httpd restart
--import file
AllowOverride
36. rpm ____ to install kernel updates
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
telnetd : ALL EXCEPT 192.168.1.10
-i (do not use -U or -F!)
tune2fs
37. Create the basic cache directories in /var/spool/squid with the following command:
telnetd : ALL EXCEPT 192.168.1.10
select (followed by the device name such as /dev/hdb)
chmod 705
squid -z
38. Apache supports security by specifying active ports through the Listen and ____ directives.
pirut
ServerName
NameVirtualHost
telnetd : ALL EXCEPT 192.168.1.10
39. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
iptables
DocumentRoot
showmount -a
chkconfig --list httpd
40. To list under which run levels the web service will start
First boot process
ErrorLog
fdisk -l
chkconfig --list httpd
41. Virtual Host Configuration: Sets a root directory for the virtual host.
dumpe2fs
DocumentRoot
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
ServerTokens
42. The main Squid configuration file is ____/squid.conf
filesystem type is not ext2 or ext3
/boot
/etc/init.d/httpd start
/etc/squid/
43. Where to find the main apache config file?
/etc/httpd/conf/
fdisk -l
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
e2fsadm
44. How to disable the firewall on the current system?
/etc/init.d/vsftpd start
/etc/vsftpd
iptables -F
LVM
45. 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/lvmtab
setsebool -P htttpd.enable.homedirs 1
elinks
AllowOverride
46. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
dd if=./diskboot.img of=/dev/sdc
var/ftp/pub
elinks
/etc/vsftpd
47. rpm ____ to import the rpm key for integrity checking
rpm -V
chcon -R -t httpd_sys_content_t /home/michael/public_html
yum install vsftpd
--import file
48. 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
rpm -V
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
chcon -R -t httpd_sys_content_t /home/michael/public_html
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
49. How to start the vsftp service?
/etc/init.d/httpd restart
chkconfig --level 35 httpd on
rpm -V
/etc/init.d/vsftpd start
50. 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.
iptables -F
e2fsadm
rpm -V
lvdisplay -D /dev/rootvg/tmplv
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