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 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
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
LVM
iptables -F
2. 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
--import file
telnetd : ALL EXCEPT 192.168.1.10
yum clean all
NameVirtualHost
3. ____ can expand and shrink ext2 and ext3 file systems
NameVirtualHost
resize2fs
pirut
var/www/html
4. Use parted to display disk geometry for /dev/hda and end up in shell
port 21
parted /dev/hda print
select (followed by the device name such as /dev/hdb)
fdisk -l
5. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
system-config-firewall
chkconfig --level 35 httpd on
chkconfig --list httpd
6. Run the ____ command to find the device associated with the USB key.
/etc/init.d/vsftpd start
fdisk -l
parted; mklabel k
chcon -R -t httpd_sys_content_t /home/michael/public_html
7. 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/vsftpd
parted /dev/hda print
DocumentRoot
rpm -e zip
8. What is the standard directory for file sharing with vsFTP?
rpm -V
rpm -ivh --replacepkgs xxxx*
ServerTokens
var/ftp/pub
9. 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
setsebool -P htttpd.enable.homedirs 1
tune2fs
system-config-firewall
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
First boot process
/etc/squid/
chmod 701
11. How do you restart the apache web server?
/etc/init.d/httpd restart
iptables -F
yum clean all
First boot process
12. 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:
nfs
parted; check x
AllowOverride
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
13. '____ /var/www' will tell you the ACL settings of /var/www
ls -Z
showmount -a
tune2fs
yum clean all
14. Where to find the main apache config file?
ServerTokens
-l
lvextend -L4G /dev/rootvg/tmplv
/etc/httpd/conf/
15. Logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
iptables
5
rpm -Va
wget (http://devmon.dev.schwab.com/index.html)
16. To install both mod_ssl and squid packages
rpm -V
yum install mod_ssl squid
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 httpd
17. 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
elinks
filesystem type is not ext2 or ext3
parted /dev/hda print
AllowOverride
18. rpm ____ to import the rpm key for integrity checking
resize2fs
AllowOverride
--import file
CustomLog
19. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
(rpm -q)p file (for rpmfile name)
resize2fs
chmod 705
rpm -qc
20. Create a disk label for the partition table called k
/media/repodata
parted; mklabel k
rpm -qc
yum install httpd
21. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
AllowOverride
yum install httpd
chmod 701
yum clean all
22. To check status of ftp daemon
iptables -F
service vsftpd status
fdisk
DocumentRoot
23. ____ is used for creating ext2 and ext3 file systems
lvextend -L4G /dev/rootvg/tmplv
(rpm -q)p file (for rpmfile name)
iptables
mke2fs
24. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain
yum install httpd
e2fsadm
pirut
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
25. 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.
filesystem type is not ext2 or ext3
rpm -V
/etc/lvmtab
rpm -V zip
26. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
chkconfig --level 35 httpd on
setsebool -P htttpd.enable.homedirs 1
LVM
-i (do not use -U or -F!)
27. 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:
system-config-firewall
var/ftp/pub
htpasswd -c /etc/httpd/webpass e
CustomLog
28. The simplest way to install Apache
dd if=./diskboot.img of=/dev/sdc
ServerTokens
/etc/squid/
yum install httpd
29. What is the first post installation step?
First boot process
/var/ftp/pub
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
/etc/init.d/httpd restart
30. Perform a simple check of the file system. minor-num is x.
yum clean all
-i
parted; check x
/etc/vsftpd
31. Are SELinux and iptables-based firewalls are enabled by default?
iptables -F
mke2fs
/etc/vsftpd
Yes
32. The rpm ____ option installs the package - if it isn't already installed.
chkconfig vsftpd on
-i
/ (root) - /boot and linux swap
setsebool -P htttpd.enable.homedirs 1
33. How to start apache service?
/etc/init.d/httpd start
yum install mod_ssl squid
var/ftp/pub
dumpe2fs
34. How to start the vsftp service automatically on boot?
chkconfig vsftpd on
--import file
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
var/www/html
35. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
telnetd : ALL EXCEPT 192.168.1.10
ls -Z
chkconfig --level 35 httpd on
fdisk
36. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
fdisk -l
service vsftpd status
rpm -ivh --replacepkgs xxxx*
pirut
37. ____ configuration is not available via text mode RHEL installation.
LVM
-i (do not use -U or -F!)
chcon -R -t httpd_sys_content_t /home/michael/public_html
iptables -F
38. Where is the vsftp pub dir?
/var/ftp/pub
CustomLog
e2fsadm
elinks
39. Virtual Host Configuration: Sets a root directory for the virtual host.
DocumentRoot
showmount -e
-K
rpm -V zip
40. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
lvdisplay -D /dev/rootvg/tmplv
ls -Z
-i
41. How to start the vsftp service?
/etc/init.d/vsftpd start
-l
wget (http://devmon.dev.schwab.com/index.html)
parted; mklabel k
42. rpm ____ verifies all installed rpms against the rpm database
rpm -Va
--import file
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
rpm -V
43. 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.
yum update kernel
yum install vsftpd
iptables -F
yum install httpd
44. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
yum clean all
-K
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
45. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
-K
ErrorLog
DocumentRoot
filesystem type is not ext2 or ext3
46. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
resize2fs /dev/myvg/homevol
/etc/init.d/httpd start
NameVirtualHost
dd if=./diskboot.img of=/dev/sdc
47. The main Squid configuration file is ____/squid.conf
var/ftp/pub
Yes
NameVirtualHost
/etc/squid/
48. 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)
grep '[.*]' server1.repo
e2fsadm
elinks
showmount -a
49. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
NameVirtualHost
parted; check x
/etc/lvmtab
50. 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
lvdisplay -D /dev/rootvg/tmplv
(rpm -q)p file (for rpmfile name)
chcon -R -t httpd_sys_content_t /home/michael/public_html
5
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