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. Use parted to display disk geometry for /dev/hda and end up in shell
parted /dev/hda print
tune2fs
Yes
setsebool -P htttpd.enable.homedirs 1
2. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
showmount -a
chcon -R -t httpd_sys_content_t /home/michael/public_html
-i
fdisk
3. The rpm ____ option installs the package - if it isn't already installed.
/etc/init.d/httpd start
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/lvmtab
-i
4. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
mke2fs
DocumentRoot
yum install httpd
filesystem type is not ext2 or ext3
5. Apache supports security by specifying active ports through the Listen and ____ directives.
yum clean all
NameVirtualHost
parted /dev/hda print
ServerTokens
6. What is the first post installation step?
First boot process
/etc/squid/
/etc/vsftpd
/etc/init.d/httpd start
7. what utility can be used to open port 80?
system-config-firewall
NameVirtualHost
parted; check x
rpm -V
8. _____ will change the size of /dev/rootvg/tmplv to 4 gig
dd if=./diskboot.img of=/dev/sdc
e2fsadm
select (followed by the device name such as /dev/hdb)
lvextend -L4G /dev/rootvg/tmplv
9. httpd ___ to update the httpd package - automatically answering yes to all the questions
lvdisplay -D /dev/rootvg/tmplv
fdisk -l
yum -y update
e2fsadm
10. pam ___ will tell me if any files in the pam package have changed since it was first installed
fdisk
rpm -V
e2fsadm
service vsftpd status
11. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
First boot process
NameVirtualHost
ServerAdmin
-i
12. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
/etc/squid/
yum install mod_ssl squid
fdisk -l
iptables
13. To install both mod_ssl and squid packages
service vsftpd status
-l
yum install mod_ssl squid
/etc/init.d/vsftpd start
14. 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
port 21
ls -Z
setsebool -P squid_connect_any 1
system-config-firewall
15. 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.
parted /dev/hda print
Yes
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
rpm -V
16. 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
elinks
service vsftpd status
yum clean all
17. 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
-K
/etc/init.d/vsftpd start
var/www/html
chcon -R -t httpd_sys_content_t /home/michael/public_html
18. What parts of rhel6 should be installed to separate volumes?
fdisk
showmount -a
e2fsadm
/ (root) - /boot and linux swap
19. To list under which run levels the web service will start
chkconfig --list httpd
-i (do not use -U or -F!)
rpm -V
nfs
20. How to install vsftpd?
dd if=./diskboot.img of=/dev/sdc
filesystem type is not ext2 or ext3
yum install vsftpd
yum install httpd
21. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
parted; mklabel k
yum install httpd
showmount -a
/boot
22. 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)
system-config-firewall
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)
chmod 705
23. 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 ____
htpasswd -c /etc/httpd/webpass e
showmount -e
rpm -e zip
iptables
24. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
parted; check x
rpm -V
First boot process
yum clean all
25. ____ configuration is not available via text mode RHEL installation.
parted; mklabel k
NameVirtualHost
fdisk
LVM
26. You can use the ____ tool after installation to add any package groups that you missed.
AllowOverride
pirut
rpm -Va
Yes
27. Where is the vsftp pub dir?
service vsftpd status
DocumentRoot
/var/ftp/pub
telnetd : ALL EXCEPT 192.168.1.10
28. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
yum clean all
setsebool -P htttpd.enable.homedirs 1
e2fsadm
mke2fs
29. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
/etc/init.d/vsftpd start
chmod 701
showmount -a
30. what port needs to be open to access ftp?
iptables -F
LVM
setup
port 21
31. Where to find the main apache config file?
/etc/httpd/conf/
e2fsadm
filesystem type is not ext2 or ext3
NameVirtualHost
32. 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
grep '[.*]' server1.repo
yum install httpd
/ (root) - /boot and linux swap
33. If in doubt about package names - you can find them in the ...
service vsftpd status
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)
select (followed by the device name such as /dev/hdb)
/ (root) - /boot and linux swap
34. How to start the vsftp service?
/etc/init.d/vsftpd start
NameVirtualHost
pirut
yum update kernel
35. rpm option to show me the package files
-l
yum install mod_ssl squid
rpm -V
resize2fs
36. ____ can expand and shrink ext2 and ext3 file systems
-i (do not use -U or -F!)
htpasswd -c /etc/httpd/webpass e
resize2fs
elinks
37. rpm ____ verifies the installed zip rpm against the rpm database
rpm -V zip
lvdisplay -D /dev/rootvg/tmplv
var/www/html
DocumentRoot
38. ____ prints superblock and block group information.
var/www/html
dumpe2fs
CustomLog
chmod 705
39. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
/ (root) - /boot and linux swap
chkconfig --level 35 httpd on
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
tune2fs
40. Virtual Host Configuration: Sets a root directory for the virtual host.
/ (root) - /boot and linux swap
yum install httpd
dd if=./diskboot.img of=/dev/sdc
DocumentRoot
41. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
/media/repodata
nfs
rpm -ivh --replacepkgs xxxx*
yum install httpd
42. httpd ___ shows me what config files were installed when the httpd package was installed
tune2fs
rpm -qc
rpm -Va
fdisk -l
43. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
rpm -e zip
resize2fs /dev/myvg/homevol
(rpm -q)p file (for rpmfile name)
44. Create a disk label for the partition table called k
chmod 701
e2fsadm
yum install mod_ssl squid
parted; mklabel k
45. ____ is used for creating ext2 and ext3 file systems
-K
--import file
mke2fs
yum update kernel
46. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
ErrorLog
CustomLog
rpm -Va
dd if=./diskboot.img of=/dev/sdc
47. '____ /var/www' will tell you the ACL settings of /var/www
yum install mod_ssl squid
ls -Z
nfs
system-config-firewall
48. Where is the config dir for vsftpd?
ServerAdmin
DocumentRoot
filesystem type is not ext2 or ext3
/etc/vsftpd
49. How do you restart the apache web server?
chkconfig --list httpd
/etc/init.d/httpd restart
chcon -R -t httpd_sys_content_t /home/michael/public_html
ServerTokens
50. 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
CustomLog
AllowOverride
rpm -ivh --replacepkgs xxxx*
resize2fs /dev/myvg/homevol
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