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. How to install vsftpd?
yum install vsftpd
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
lvdisplay -D /dev/rootvg/tmplv
CustomLog
2. Virtual Host Configuration: Sets a root directory for the virtual host.
rpm -e zip
chmod 705
DocumentRoot
dumpe2fs
3. rpm ____ to install kernel updates
parted; mklabel k
ssh
-i (do not use -U or -F!)
rpm -V zip
4. If in doubt about package names - you can find them in the ...
yum clean all
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)
/etc/init.d/httpd start
yum update kernel
5. How to make sure apache starts automatically on next reboot?
yum clean all
LVM
ServerTokens
chkconfig httpd on
6. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
5
(rpm -q)p file (for rpmfile name)
DocumentRoot
grep '[.*]' server1.repo
7. 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)
showmount -e
ErrorLog
e2fsadm
ServerTokens
8. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
chkconfig --list httpd
elinks
/etc/vsftpd
ErrorLog
9. 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
e2fsadm
iptables
elinks
-K
10. How do you restart the apache web server?
/etc/init.d/httpd restart
First boot process
resize2fs /dev/myvg/homevol
5
11. '____ /var/www' will tell you the ACL settings of /var/www
iptables -F
elinks
--import file
ls -Z
12. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
ServerAdmin
filesystem type is not ext2 or ext3
/etc/init.d/vsftpd start
fdisk -l
13. To install both mod_ssl and squid packages
rpm -Va
telnetd : ALL EXCEPT 192.168.1.10
yum install mod_ssl squid
yum clean all
14. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
chmod 705
AllowOverride
chkconfig --level 35 httpd on
/etc/squid/
15. How to start the vsftp service?
yum install vsftpd
dd if=./diskboot.img of=/dev/sdc
/etc/init.d/vsftpd start
telnetd : ALL EXCEPT 192.168.1.10
16. 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
yum clean all
yum install httpd
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
setsebool -P squid_connect_any 1
17. ____ configuration is not available via text mode RHEL installation.
/etc/httpd/conf/
select (followed by the device name such as /dev/hdb)
ls -Z
LVM
18. 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 ____
-l
elinks
chkconfig --level 35 httpd on
chkconfig vsftpd on
19. To select a different device without having to restart parted - use the ____ command . Then - you can view its partition table or configure it.
ls -Z
rpm -qc
/etc/init.d/httpd restart
select (followed by the device name such as /dev/hdb)
20. 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
dd if=./diskboot.img of=/dev/sdc
setsebool -P squid_connect_any 1
/boot
lvdisplay -D /dev/rootvg/tmplv
21. 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:
htpasswd -c /etc/httpd/webpass e
DocumentRoot
setsebool -P squid_connect_any 1
showmount -e
22. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
yum install vsftpd
--import file
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
fdisk
23. 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
ssh
AllowOverride
htpasswd -c /etc/httpd/webpass e
ErrorLog
24. rpm ____ verifies all installed rpms against the rpm database
chkconfig httpd on
mke2fs
/etc/init.d/vsftpd start
rpm -Va
25. ____ prints superblock and block group information.
dumpe2fs
/etc/vsftpd
/etc/init.d/vsftpd start
LVM
26. Logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
chmod 705
/media/repodata
/ (root) - /boot and linux swap
5
27. rpm ____ [name of package] to verify the package - once you have manually imported the key
yum clean all
lvextend -L4G /dev/rootvg/tmplv
/etc/init.d/httpd start
-K
28. Create the basic cache directories in /var/spool/squid with the following command:
squid -z
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)
setsebool -P htttpd.enable.homedirs 1
29. ____ can expand and shrink ext2 and ext3 file systems
system-config-firewall
var/ftp/pub
ServerName
resize2fs
30. 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
telnetd : ALL EXCEPT 192.168.1.10
mke2fs
rpm -qc
iptables -F
31. 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
grep '[.*]' server1.repo
select (followed by the device name such as /dev/hdb)
/etc/vsftpd
ServerTokens
32. httpd ___ to update the httpd package - automatically answering yes to all the questions
htpasswd -c /etc/httpd/webpass e
rpm -ivh --replacepkgs xxxx*
yum -y update
pirut
33. rpm ____ verifies the installed zip rpm against the rpm database
chmod 701
yum install httpd
rpm -V zip
ServerName
34. Apache supports security by specifying active ports through the Listen and ____ directives.
/etc/squid/
NameVirtualHost
/etc/vsftpd
e2fsadm
35. Run the ____ command to find the device associated with the USB key.
fdisk -l
chkconfig --list httpd
htpasswd -c /etc/httpd/webpass e
Yes
36. Use parted to display disk geometry for /dev/hda and end up in shell
rpm -qc
-i
var/ftp/pub
parted /dev/hda print
37. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
setup
ls -Z
ServerTokens
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
38. Where to find the main apache config file?
setsebool -P htttpd.enable.homedirs 1
5
/etc/httpd/conf/
resize2fs
39. To list under which run levels the web service will start
chkconfig --list httpd
fdisk
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
var/www/html
40. httpd ___ shows me what config files were installed when the httpd package was installed
rpm -qc
tune2fs
mke2fs
setsebool -P squid_connect_any 1
41. what port needs to be open to access ftp?
chkconfig --list httpd
port 21
/etc/vsftpd
select (followed by the device name such as /dev/hdb)
42. After you edit /etc/exports - run service ___ stop...
nfs
yum install vsftpd
setsebool -P htttpd.enable.homedirs 1
chmod 701
43. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
var/ftp/pub
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)
ErrorLog
wget (http://devmon.dev.schwab.com/index.html)
44. What service is allowed through the default firewall?
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
ssh
showmount -a
/media/repodata
45. How to install apache?
yum install httpd
chkconfig httpd on
/etc/httpd/conf/
ls -Z
46. Tthe file that might contain: oldvg - rootvg - etc.
/etc/lvmtab
ssh
--import file
parted /dev/hda print
47. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
setsebool -P squid_connect_any 1
e2fsadm
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
48. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?
/media/repodata
parted /dev/hda print
port 21
yum install vsftpd
49. You can use the ____ tool after installation to add any package groups that you missed.
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)
pirut
ServerName
chkconfig --list httpd
50. _____ will change the size of /dev/rootvg/tmplv to 4 gig
CustomLog
lvextend -L4G /dev/rootvg/tmplv
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
grep '[.*]' server1.repo
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