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. ____ configuration is not available via text mode RHEL installation.
/etc/init.d/vsftpd start
tune2fs
yum install mod_ssl squid
LVM
2. 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 ____
lvdisplay -D /dev/rootvg/tmplv
chkconfig --list httpd
port 21
elinks
3. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
chkconfig --level 35 httpd on
showmount -e
--import file
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)
4. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?
chkconfig --level 35 httpd on
(rpm -q)p file (for rpmfile name)
/media/repodata
/etc/vsftpd
5. httpd ___ to update the httpd package - automatically answering yes to all the questions
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
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)
ServerTokens
yum -y update
6. How to start the vsftp service?
chmod 701
NameVirtualHost
chcon -R -t httpd_sys_content_t /home/michael/public_html
/etc/init.d/vsftpd start
7. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
rpm -qc
dd if=./diskboot.img of=/dev/sdc
/etc/init.d/httpd start
8. ____ is used for creating ext2 and ext3 file systems
-i
5
mke2fs
yum -y update
9. 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
rpm -qc
parted /dev/hda print
ServerAdmin
10. Apache supports security by specifying active ports through the Listen and ____ directives.
NameVirtualHost
-K
CustomLog
telnetd : ALL EXCEPT 192.168.1.10
11. Are SELinux and iptables-based firewalls are enabled by default?
parted; check x
yum update kernel
Yes
squid -z
12. 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:
-i
htpasswd -c /etc/httpd/webpass e
dd if=./diskboot.img of=/dev/sdc
/etc/squid/
13. You can use the ____ tool after installation to add any package groups that you missed.
pirut
/etc/init.d/vsftpd start
First boot process
ErrorLog
14. What is the first post installation step?
service vsftpd status
/etc/squid/
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
First boot process
15. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
/ (root) - /boot and linux swap
/etc/vsftpd
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
ServerAdmin
16. _____ will change the size of /dev/rootvg/tmplv to 4 gig
squid -z
lvextend -L4G /dev/rootvg/tmplv
rpm -V zip
chmod 705
17. How to disable the firewall on the current system?
iptables -F
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
/etc/init.d/httpd start
18. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
port 21
(rpm -q)p file (for rpmfile name)
rpm -V
/ (root) - /boot and linux swap
19. What service is allowed through the default firewall?
yum install mod_ssl squid
ssh
parted; check x
-i
20. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
chkconfig vsftpd on
AllowOverride
(rpm -q)p file (for rpmfile name)
yum clean all
21. To list under which run levels the web service will start
/media/repodata
filesystem type is not ext2 or ext3
grep '[.*]' server1.repo
chkconfig --list httpd
22. 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
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
filesystem type is not ext2 or ext3
grep '[.*]' server1.repo
elinks
23. 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.
/etc/lvmtab
iptables -F
rpm -e zip
/ (root) - /boot and linux swap
24. Where is vsftpd.conf?
/etc/vsftpd
setup
/var/ftp/pub
AllowOverride
25. Create a disk label for the partition table called k
NameVirtualHost
parted; mklabel k
setsebool -P squid_connect_any 1
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
26. '____ /var/www' will tell you the ACL settings of /var/www
e2fsadm
var/www/html
ErrorLog
ls -Z
27. httpd ___ shows me what config files were installed when the httpd package was installed
chkconfig vsftpd on
-l
yum update kernel
rpm -qc
28. To select a different device without having to restart parted - use the ____ command . Then - you can view its partition table or configure it.
select (followed by the device name such as /dev/hdb)
rpm -ivh --replacepkgs xxxx*
rpm -V
fdisk
29. rpm ____ to import the rpm key for integrity checking
chkconfig vsftpd on
--import file
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
AllowOverride
30. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
AllowOverride
ErrorLog
-l
squid -z
31. What is the standard directory for file sharing with vsFTP?
filesystem type is not ext2 or ext3
var/ftp/pub
ServerTokens
/var/ftp/pub
32. 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 ____
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
chkconfig httpd on
htpasswd -c /etc/httpd/webpass e
rpm -e zip
33. 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
fdisk
rpm -V zip
parted; mklabel k
34. ____ can expand and shrink ext2 and ext3 file systems
/media/repodata
resize2fs
ErrorLog
yum install httpd
35. Where is the config dir for vsftpd?
telnetd : ALL EXCEPT 192.168.1.10
nfs
/etc/vsftpd
showmount -e
36. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
elinks
ssh
var/ftp/pub
chmod 701
37. 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)
rpm -V zip
e2fsadm
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
CustomLog
38. what port needs to be open to access ftp?
rpm -V
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
rpm -V zip
port 21
39. How to make sure apache starts automatically on next reboot?
showmount -a
rpm -V zip
fdisk -l
chkconfig httpd on
40. 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
yum clean all
rpm -Va
/etc/init.d/httpd start
/boot
41. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
chkconfig httpd on
/etc/vsftpd
tune2fs
NameVirtualHost
42. Create the basic cache directories in /var/spool/squid with the following command:
/etc/squid/
squid -z
var/ftp/pub
chkconfig vsftpd on
43. To install both mod_ssl and squid packages
dumpe2fs
ServerAdmin
showmount -a
yum install mod_ssl squid
44. 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
-i (do not use -U or -F!)
yum install httpd
-K
45. How to start apache service?
/etc/init.d/httpd start
/media/repodata
setsebool -P squid_connect_any 1
squid -z
46. Perform a simple check of the file system. minor-num is x.
parted; check x
chkconfig --level 35 httpd on
elinks
dd if=./diskboot.img of=/dev/sdc
47. Where to find the main apache config file?
chcon -R -t httpd_sys_content_t /home/michael/public_html
/etc/httpd/conf/
grep '[.*]' server1.repo
rpm -e zip
48. Virtual Host Configuration: Sets a root directory for the virtual host.
DocumentRoot
rpm -e zip
ssh
chkconfig vsftpd on
49. 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
ls -Z
DocumentRoot
pirut
50. 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
service vsftpd status
rpm -ivh --replacepkgs xxxx*
/etc/init.d/httpd restart
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