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. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
showmount -a
rpm -Va
yum update kernel
fdisk -l
2. The rpm ____ option installs the package - if it isn't already installed.
nfs
/var/ftp/pub
htpasswd -c /etc/httpd/webpass e
-i
3. Where is vsftpd.conf?
yum install mod_ssl squid
ServerTokens
iptables -F
/etc/vsftpd
4. To install both mod_ssl and squid packages
yum install mod_ssl squid
ls -Z
ErrorLog
service vsftpd status
5. '____ /var/www' will tell you the ACL settings of /var/www
fdisk
ls -Z
grep '[.*]' server1.repo
chmod 705
6. To check status of ftp daemon
service vsftpd status
parted; check x
ServerAdmin
ls -Z
7. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
iptables -F
chmod 701
select (followed by the device name such as /dev/hdb)
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
8. What is the first post installation step?
e2fsadm
select (followed by the device name such as /dev/hdb)
First boot process
chkconfig vsftpd on
9. The simplest way to install Apache
yum install httpd
ServerName
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
First boot process
10. 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
rpm -V
showmount -a
CustomLog
11. pam ___ will tell me if any files in the pam package have changed since it was first installed
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
dumpe2fs
fdisk
rpm -V
12. 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
nfs
-i
yum install vsftpd
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
13. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
CustomLog
ssh
parted; check x
chkconfig --level 35 httpd on
14. 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 ____
elinks
/ (root) - /boot and linux swap
showmount -e
parted; mklabel k
15. 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
ErrorLog
filesystem type is not ext2 or ext3
iptables -F
yum update kernel
16. httpd ___ shows me what config files were installed when the httpd package was installed
rpm -qc
--import file
port 21
Yes
17. Where to find the main apache config file?
chcon -R -t httpd_sys_content_t /home/michael/public_html
resize2fs /dev/myvg/homevol
/etc/httpd/conf/
elinks
18. what port needs to be open to access ftp?
port 21
-K
grep '[.*]' server1.repo
filesystem type is not ext2 or ext3
19. ____ can expand and shrink ext2 and ext3 file systems
wget (http://devmon.dev.schwab.com/index.html)
select (followed by the device name such as /dev/hdb)
dumpe2fs
resize2fs
20. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
CustomLog
showmount -e
ls -Z
resize2fs /dev/myvg/homevol
21. Logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
dumpe2fs
yum update kernel
5
(rpm -q)p file (for rpmfile name)
22. 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
setsebool -P squid_connect_any 1
system-config-firewall
lvextend -L4G /dev/rootvg/tmplv
rpm -e zip
23. What command starts the same menu as the text-mode First Boot process?
AllowOverride
parted; mklabel k
setup
pirut
24. 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 ____
/etc/squid/
LVM
rpm -e zip
rpm -V
25. rpm ____ to import the rpm key for integrity checking
wget (http://devmon.dev.schwab.com/index.html)
--import file
htpasswd -c /etc/httpd/webpass e
select (followed by the device name such as /dev/hdb)
26. 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
ls -Z
service vsftpd status
27. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
chkconfig --list httpd
rpm -V
nfs
(rpm -q)p file (for rpmfile name)
28. 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:
squid -z
htpasswd -c /etc/httpd/webpass e
setup
ssh
29. How to start the vsftp service?
dd if=./diskboot.img of=/dev/sdc
mke2fs
/etc/init.d/vsftpd start
/etc/init.d/httpd start
30. 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.
/etc/httpd/conf/
rpm -V
/etc/vsftpd
ErrorLog
31. Tthe file that might contain: oldvg - rootvg - etc.
iptables -F
rpm -qc
parted; mklabel k
/etc/lvmtab
32. what utility can be used to open port 80?
system-config-firewall
setsebool -P htttpd.enable.homedirs 1
yum update kernel
/etc/lvmtab
33. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
filesystem type is not ext2 or ext3
/etc/vsftpd
yum clean all
select (followed by the device name such as /dev/hdb)
34. How to install apache?
select (followed by the device name such as /dev/hdb)
yum install httpd
yum update kernel
DocumentRoot
35. Virtual Host Configuration: Names the URL for the virtual host.
NameVirtualHost
ServerName
port 21
var/www/html
36. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
LVM
iptables
dd if=./diskboot.img of=/dev/sdc
ssh
37. rpm ____ verifies the installed zip rpm against the rpm database
htpasswd -c /etc/httpd/webpass e
rpm -V
ServerAdmin
rpm -V zip
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:
-i
wget (http://devmon.dev.schwab.com/index.html)
elinks
showmount -e
39. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
/etc/vsftpd
/media/repodata
/etc/lvmtab
lvdisplay -D /dev/rootvg/tmplv
40. rpm ____ [name of package] to verify the package - once you have manually imported the key
select (followed by the device name such as /dev/hdb)
iptables -F
/ (root) - /boot and linux swap
-K
41. 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)
e2fsadm
showmount -a
chkconfig --level 35 httpd on
5
42. ____ is used to modify file system parameters
fdisk -l
tune2fs
parted; mklabel k
5
43. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
yum -y update
parted /dev/hda print
wget (http://devmon.dev.schwab.com/index.html)
LVM
44. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
var/www/html
/etc/vsftpd
showmount -a
fdisk -l
45. Where is the vsftp pub dir?
ServerAdmin
/var/ftp/pub
yum install httpd
system-config-firewall
46. After you edit /etc/exports - run service ___ stop...
nfs
/etc/init.d/httpd start
yum -y update
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
47. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
lvdisplay -D /dev/rootvg/tmplv
yum clean all
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
48. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
iptables -F
fdisk
NameVirtualHost
/etc/lvmtab
49. How to start apache service?
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
select (followed by the device name such as /dev/hdb)
/etc/init.d/httpd start
rpm -ivh --replacepkgs xxxx*
50. What is the standard directory for file sharing with vsFTP?
ssh
rpm -V zip
select (followed by the device name such as /dev/hdb)
var/ftp/pub
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