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. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
grep '[.*]' server1.repo
e2fsadm
chmod 701
2. 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
ssh
setsebool -P squid_connect_any 1
squid -z
var/ftp/pub
3. rpm ____ verifies all installed rpms against the rpm database
--import file
chkconfig --list httpd
rpm -Va
parted; check x
4. What is the first post installation step?
First boot process
port 21
ServerAdmin
lvdisplay -D /dev/rootvg/tmplv
5. _____ will change the size of /dev/rootvg/tmplv to 4 gig
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
lvextend -L4G /dev/rootvg/tmplv
system-config-firewall
/etc/vsftpd
6. 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
fdisk
yum install vsftpd
lvextend -L4G /dev/rootvg/tmplv
7. Are SELinux and iptables-based firewalls are enabled by default?
yum install httpd
Yes
/etc/init.d/httpd start
resize2fs
8. 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
yum clean all
service vsftpd status
resize2fs /dev/myvg/homevol
9. How to install apache?
yum install httpd
rpm -Va
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
select (followed by the device name such as /dev/hdb)
10. How to install vsftpd?
fdisk -l
ServerName
wget (http://devmon.dev.schwab.com/index.html)
yum install vsftpd
11. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
/ (root) - /boot and linux swap
ssh
yum clean all
yum install mod_ssl squid
12. httpd ___ to update the httpd package - automatically answering yes to all the questions
yum install vsftpd
yum -y update
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
rpm -ivh --replacepkgs xxxx*
13. 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
fdisk -l
LVM
-i (do not use -U or -F!)
14. To select a different device without having to restart parted - use the ____ command . Then - you can view its partition table or configure it.
nfs
select (followed by the device name such as /dev/hdb)
dumpe2fs
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
15. To check status of ftp daemon
resize2fs /dev/myvg/homevol
wget (http://devmon.dev.schwab.com/index.html)
yum install mod_ssl squid
service vsftpd status
16. 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
5
AllowOverride
chkconfig --list httpd
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
17. Use parted to display disk geometry for /dev/hda and end up in shell
fdisk -l
parted; check x
parted /dev/hda print
lvdisplay -D /dev/rootvg/tmplv
18. How to make sure apache starts automatically on next reboot?
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
-K
chkconfig httpd on
19. How to start the vsftp service?
yum clean all
/etc/init.d/vsftpd start
select (followed by the device name such as /dev/hdb)
NameVirtualHost
20. How to start the vsftp service automatically on boot?
chkconfig vsftpd on
nfs
yum clean all
showmount -a
21. ____ is used for creating ext2 and ext3 file systems
mke2fs
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
port 21
/etc/init.d/httpd start
22. ____ is used to modify file system parameters
ServerName
5
tune2fs
rpm -V zip
23. 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)
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
var/www/html
CustomLog
yum update kernel
24. Where is vsftpd.conf?
yum install httpd
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
parted; mklabel k
/etc/vsftpd
25. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
ServerTokens
NameVirtualHost
wget (http://devmon.dev.schwab.com/index.html)
setsebool -P squid_connect_any 1
26. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
chkconfig httpd on
ssh
chmod 705
parted; check x
27. '____ /var/www' will tell you the ACL settings of /var/www
/etc/httpd/conf/
ls -Z
--import file
/boot
28. Where is the vsftp pub dir?
NameVirtualHost
iptables -F
/var/ftp/pub
Yes
29. 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:
Yes
NameVirtualHost
ls -Z
htpasswd -c /etc/httpd/webpass e
30. Run the ____ command to find the device associated with the USB key.
setup
/etc/lvmtab
CustomLog
fdisk -l
31. What service is allowed through the default firewall?
ssh
setsebool -P htttpd.enable.homedirs 1
CustomLog
AllowOverride
32. 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
wget (http://devmon.dev.schwab.com/index.html)
dd if=./diskboot.img of=/dev/sdc
/etc/vsftpd
33. 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)
/etc/init.d/httpd start
nfs
ServerAdmin
e2fsadm
34. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?
DocumentRoot
/media/repodata
rpm -V
-K
35. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
lvextend -L4G /dev/rootvg/tmplv
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)
fdisk -l
ServerAdmin
36. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
--import file
/etc/squid/
chmod 701
rpm -ivh --replacepkgs xxxx*
37. The simplest way to install Apache
yum install httpd
/var/ftp/pub
showmount -a
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
38. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
nfs
chkconfig httpd on
-i
fdisk
39. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
ServerName
filesystem type is not ext2 or ext3
rpm -V
dumpe2fs
40. What is the standard directory for file sharing with vsFTP?
parted /dev/hda print
pirut
var/ftp/pub
-i (do not use -U or -F!)
41. 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
rpm -ivh --replacepkgs xxxx*
/boot
elinks
ssh
42. 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
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
wget (http://devmon.dev.schwab.com/index.html)
rpm -ivh --replacepkgs xxxx*
telnetd : ALL EXCEPT 192.168.1.10
43. 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
NameVirtualHost
select (followed by the device name such as /dev/hdb)
yum -y update
44. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
AllowOverride
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
--import file
showmount -e
45. httpd ___ shows me what config files were installed when the httpd package was installed
rpm -qc
yum install httpd
rpm -ivh --replacepkgs xxxx*
-i
46. After you edit /etc/exports - run service ___ stop...
First boot process
htpasswd -c /etc/httpd/webpass e
nfs
pirut
47. Virtual Host Configuration: Names the URL for the virtual host.
ServerName
resize2fs
rpm -qc
/etc/init.d/vsftpd start
48. rpm ____ verifies the installed zip rpm against the rpm database
parted; check x
rpm -V zip
yum install httpd
chkconfig --level 35 httpd on
49. ____ configuration is not available via text mode RHEL installation.
/etc/vsftpd
/etc/init.d/httpd start
/ (root) - /boot and linux swap
LVM
50. 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
/ (root) - /boot and linux swap
rpm -V zip
--import file
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