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. Use parted to display disk geometry for /dev/hda and end up in shell
parted /dev/hda print
rpm -qc
chkconfig vsftpd on
htpasswd -c /etc/httpd/webpass e
2. rpm ____ to install kernel updates
var/ftp/pub
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
rpm -V zip
-i (do not use -U or -F!)
3. Where to find the main apache config file?
chmod 701
chkconfig --list httpd
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
/etc/httpd/conf/
4. How to start the vsftp service automatically on boot?
chkconfig vsftpd on
/etc/vsftpd
5
ls -Z
5. How to start the vsftp service?
port 21
/ (root) - /boot and linux swap
/etc/init.d/vsftpd start
yum install vsftpd
6. The main Squid configuration file is ____/squid.conf
/etc/squid/
pirut
wget (http://devmon.dev.schwab.com/index.html)
/etc/vsftpd
7. 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
fdisk -l
setsebool -P squid_connect_any 1
-i (do not use -U or -F!)
/etc/init.d/httpd start
8. To check status of ftp daemon
grep '[.*]' server1.repo
telnetd : ALL EXCEPT 192.168.1.10
fdisk
service vsftpd status
9. _____ will change the size of /dev/rootvg/tmplv to 4 gig
lvextend -L4G /dev/rootvg/tmplv
setup
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
pirut
10. Create a disk label for the partition table called k
/etc/vsftpd
yum install httpd
parted; mklabel k
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
11. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
ServerName
ErrorLog
/boot
/etc/squid/
12. 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)
ls -Z
chkconfig httpd on
e2fsadm
rpm -V
13. rpm ____ [name of package] to verify the package - once you have manually imported the key
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
-K
resize2fs /dev/myvg/homevol
yum clean all
14. what port needs to be open to access ftp?
lvextend -L4G /dev/rootvg/tmplv
port 21
/etc/vsftpd
rpm -qc
15. 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
chmod 705
elinks
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
16. Tthe file that might contain: oldvg - rootvg - etc.
-K
rpm -Va
DocumentRoot
/etc/lvmtab
17. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
CustomLog
fdisk
yum clean all
18. '____ /var/www' will tell you the ACL settings of /var/www
ls -Z
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
var/www/html
mke2fs
19. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
NameVirtualHost
First boot process
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
yum install httpd
20. Virtual Host Configuration: Names the URL for the virtual host.
resize2fs
ServerName
parted /dev/hda print
ErrorLog
21. Apache supports security by specifying active ports through the Listen and ____ directives.
NameVirtualHost
var/www/html
AllowOverride
DocumentRoot
22. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain
service vsftpd status
elinks
rpm -V zip
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
23. You can use the ____ tool after installation to add any package groups that you missed.
rpm -ivh --replacepkgs xxxx*
ServerTokens
ServerAdmin
pirut
24. What is the first post installation step?
showmount -a
setsebool -P squid_connect_any 1
yum install vsftpd
First boot process
25. 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
chcon -R -t httpd_sys_content_t /home/michael/public_html
ErrorLog
yum install vsftpd
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)
26. The rpm ____ option installs the package - if it isn't already installed.
-K
elinks
DocumentRoot
-i
27. How to install vsftpd?
ServerTokens
yum install vsftpd
lvdisplay -D /dev/rootvg/tmplv
telnetd : ALL EXCEPT 192.168.1.10
28. To install both mod_ssl and squid packages
yum install mod_ssl squid
/media/repodata
AllowOverride
NameVirtualHost
29. httpd ___ shows me what config files were installed when the httpd package was installed
rpm -V zip
rpm -qc
-i
(rpm -q)p file (for rpmfile name)
30. 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
/var/ftp/pub
/etc/init.d/vsftpd start
Yes
31. rpm ____ verifies all installed rpms against the rpm database
lvdisplay -D /dev/rootvg/tmplv
/etc/init.d/httpd restart
rpm -Va
LVM
32. The simplest way to install Apache
lvdisplay -D /dev/rootvg/tmplv
wget (http://devmon.dev.schwab.com/index.html)
/etc/init.d/httpd start
yum install httpd
33. 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
fdisk -l
/etc/httpd/conf/
e2fsadm
34. 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 ____
/etc/vsftpd
chkconfig --level 35 httpd on
elinks
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
35. Where is the config dir for vsftpd?
/etc/vsftpd
--import file
-K
iptables -F
36. pam ___ will tell me if any files in the pam package have changed since it was first installed
/ (root) - /boot and linux swap
rpm -V
/etc/httpd/conf/
setsebool -P squid_connect_any 1
37. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
rpm -e zip
var/www/html
showmount -a
(rpm -q)p file (for rpmfile name)
38. httpd ___ to update the httpd package - automatically answering yes to all the questions
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
NameVirtualHost
setup
yum -y update
39. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
/etc/httpd/conf/
chkconfig --list httpd
chmod 705
showmount -e
40. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
mke2fs
iptables
rpm -ivh --replacepkgs xxxx*
pirut
41. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
rpm -ivh --replacepkgs xxxx*
rpm -Va
showmount -e
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
42. After you edit /etc/exports - run service ___ stop...
/etc/vsftpd
nfs
iptables -F
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
43. How to disable the firewall on the current system?
wget (http://devmon.dev.schwab.com/index.html)
showmount -e
iptables -F
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
44. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
filesystem type is not ext2 or ext3
setsebool -P squid_connect_any 1
rpm -V
/etc/lvmtab
45. 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:
-i
(rpm -q)p file (for rpmfile name)
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
wget (http://devmon.dev.schwab.com/index.html)
46. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
elinks
lvdisplay -D /dev/rootvg/tmplv
/etc/vsftpd
yum clean all
47. ____ configuration is not available via text mode RHEL installation.
setsebool -P htttpd.enable.homedirs 1
-i
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
LVM
48. ____ prints superblock and block group information.
yum install httpd
fdisk -l
Yes
dumpe2fs
49. what utility can be used to open port 80?
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
parted; mklabel k
/etc/init.d/httpd start
system-config-firewall
50. 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
yum update kernel
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
lvextend -L4G /dev/rootvg/tmplv
dumpe2fs
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