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. To check status of ftp daemon
First boot process
chkconfig httpd on
/etc/init.d/vsftpd start
service vsftpd status
2. 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 -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
iptables
chcon -R -t httpd_sys_content_t /home/michael/public_html
DocumentRoot
3. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
(rpm -q)p file (for rpmfile name)
ErrorLog
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
e2fsadm
4. How to start the vsftp service?
/etc/init.d/vsftpd start
/var/ftp/pub
wget (http://devmon.dev.schwab.com/index.html)
iptables -F
5. The main Squid configuration file is ____/squid.conf
ssh
/etc/squid/
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
chkconfig vsftpd on
6. Perform a simple check of the file system. minor-num is x.
parted; check x
system-config-firewall
NameVirtualHost
port 21
7. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
dumpe2fs
parted; check x
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
/etc/init.d/httpd start
8. What is the first post installation step?
First boot process
Yes
-i
ServerName
9. 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.
rpm -V
resize2fs
wget (http://devmon.dev.schwab.com/index.html)
/etc/squid/
10. Run the ____ command to find the device associated with the USB key.
fdisk -l
system-config-firewall
chkconfig --level 35 httpd on
DocumentRoot
11. ____ prints superblock and block group information.
/etc/init.d/httpd start
dumpe2fs
parted; check x
rpm -e zip
12. How to start the vsftp service automatically on boot?
chkconfig vsftpd on
port 21
rpm -Va
-K
13. How to install vsftpd?
ls -Z
chkconfig --list httpd
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)
yum install vsftpd
14. Where is vsftpd.conf?
showmount -e
e2fsadm
/etc/vsftpd
LVM
15. Where to find the main apache config file?
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
var/ftp/pub
fdisk
/etc/httpd/conf/
16. '____ /var/www' will tell you the ACL settings of /var/www
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
ls -Z
rpm -Va
service vsftpd status
17. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
ServerTokens
ServerAdmin
showmount -a
rpm -ivh --replacepkgs xxxx*
18. How to start apache service?
ls -Z
dumpe2fs
yum install httpd
/etc/init.d/httpd start
19. 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
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
-K
mke2fs
20. What is the standard directory for file sharing with vsFTP?
port 21
NameVirtualHost
var/ftp/pub
mke2fs
21. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
lvextend -L4G /dev/rootvg/tmplv
resize2fs /dev/myvg/homevol
AllowOverride
port 21
22. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
yum install vsftpd
htpasswd -c /etc/httpd/webpass e
chmod 701
setsebool -P htttpd.enable.homedirs 1
23. After you edit /etc/exports - run service ___ stop...
rpm -qc
nfs
rpm -e zip
ServerAdmin
24. httpd ___ shows me what config files were installed when the httpd package was installed
squid -z
grep '[.*]' server1.repo
-i
rpm -qc
25. ____ is used to modify file system parameters
ServerTokens
/etc/vsftpd
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
tune2fs
26. rpm option to show me the package files
NameVirtualHost
/etc/vsftpd
/etc/init.d/httpd start
-l
27. 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
Yes
/var/ftp/pub
chkconfig --level 35 httpd on
28. rpm ____ to import the rpm key for integrity checking
chcon -R -t httpd_sys_content_t /home/michael/public_html
setsebool -P htttpd.enable.homedirs 1
-K
--import file
29. What parts of rhel6 should be installed to separate volumes?
chkconfig httpd on
squid -z
/ (root) - /boot and linux swap
rpm -V zip
30. To list under which run levels the web service will start
nfs
chkconfig --list httpd
ServerAdmin
setup
31. 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/init.d/httpd restart
filesystem type is not ext2 or ext3
rpm -V
elinks
32. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
/etc/init.d/httpd start
yum clean all
chkconfig --level 35 httpd on
parted; mklabel k
33. You can use the ____ tool after installation to add any package groups that you missed.
ssh
/var/ftp/pub
setup
pirut
34. How to install apache?
(rpm -q)p file (for rpmfile name)
yum install httpd
ServerAdmin
yum update kernel
35. ____ is used for creating ext2 and ext3 file systems
ServerAdmin
squid -z
First boot process
mke2fs
36. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
/ (root) - /boot and linux swap
rpm -ivh --replacepkgs xxxx*
(rpm -q)p file (for rpmfile name)
fdisk
37. rpm ____ verifies the installed zip rpm against the rpm database
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)
rpm -qc
rpm -V zip
38. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
lvdisplay -D /dev/rootvg/tmplv
Yes
yum install httpd
filesystem type is not ext2 or ext3
39. what port needs to be open to access ftp?
AllowOverride
CustomLog
ServerName
port 21
40. ____ can expand and shrink ext2 and ext3 file systems
yum install mod_ssl squid
/etc/vsftpd
resize2fs
rpm -e zip
41. what utility can be used to open port 80?
yum -y update
system-config-firewall
var/www/html
parted; check x
42. rpm ____ verifies all installed rpms against the rpm database
grep '[.*]' server1.repo
yum -y update
rpm -Va
select (followed by the device name such as /dev/hdb)
43. 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
htpasswd -c /etc/httpd/webpass e
ServerTokens
/etc/squid/
dd if=./diskboot.img of=/dev/sdc
44. 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
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
ServerAdmin
chkconfig httpd on
45. 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
rpm -qc
iptables
resize2fs
yum update kernel
46. Create the basic cache directories in /var/spool/squid with the following command:
yum update kernel
parted /dev/hda print
setsebool -P squid_connect_any 1
squid -z
47. The rpm ____ option installs the package - if it isn't already installed.
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
-i
ssh
48. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
(rpm -q)p file (for rpmfile name)
lvdisplay -D /dev/rootvg/tmplv
chkconfig vsftpd on
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)
49. httpd ___ to update the httpd package - automatically answering yes to all the questions
yum -y update
/etc/init.d/httpd start
-l
chkconfig --list httpd
50. What service is allowed through the default firewall?
rpm -ivh --replacepkgs xxxx*
yum update kernel
ssh
rpm -V
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