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. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
showmount -a
chkconfig vsftpd on
rpm -ivh --replacepkgs xxxx*
-l
2. 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:
chcon -R -t httpd_sys_content_t /home/michael/public_html
--import file
showmount -e
system-config-firewall
3. 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)
chmod 701
NameVirtualHost
pirut
4. httpd ___ to update the httpd package - automatically answering yes to all the questions
mke2fs
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
resize2fs /dev/myvg/homevol
yum -y update
5. 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
fdisk -l
-i
service vsftpd status
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
6. _____ will change the size of /dev/rootvg/tmplv to 4 gig
lvextend -L4G /dev/rootvg/tmplv
/var/ftp/pub
-i (do not use -U or -F!)
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)
7. 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:
htpasswd -c /etc/httpd/webpass e
/ (root) - /boot and linux swap
fdisk
resize2fs /dev/myvg/homevol
8. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
(rpm -q)p file (for rpmfile name)
chcon -R -t httpd_sys_content_t /home/michael/public_html
chkconfig vsftpd on
yum clean all
9. 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 ____
/boot
ssh
NameVirtualHost
rpm -e zip
10. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
mke2fs
ssh
parted; mklabel k
filesystem type is not ext2 or ext3
11. rpm option to show me the package files
-l
yum update kernel
ServerAdmin
chmod 701
12. pam ___ will tell me if any files in the pam package have changed since it was first installed
NameVirtualHost
rpm -V
squid -z
system-config-firewall
13. Where is the main apache data directory?
var/ftp/pub
dd if=./diskboot.img of=/dev/sdc
rpm -V
var/www/html
14. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
ErrorLog
ServerName
/var/ftp/pub
fdisk
15. what utility can be used to open port 80?
system-config-firewall
var/ftp/pub
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
chkconfig --list httpd
16. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
resize2fs /dev/myvg/homevol
ErrorLog
/etc/init.d/httpd start
mke2fs
17. Use parted to display disk geometry for /dev/hda and end up in shell
showmount -a
parted /dev/hda print
rpm -V
ServerName
18. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
/etc/vsftpd
chkconfig --level 35 httpd on
-K
chmod 701
19. 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)
/var/ftp/pub
yum clean all
yum install httpd
e2fsadm
20. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
yum update kernel
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
ServerTokens
/etc/vsftpd
21. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
setsebool -P squid_connect_any 1
setsebool -P htttpd.enable.homedirs 1
iptables -F
filesystem type is not ext2 or ext3
22. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
chcon -R -t httpd_sys_content_t /home/michael/public_html
system-config-firewall
chmod 701
/etc/httpd/conf/
23. Create a disk label for the partition table called k
rpm -e zip
/etc/init.d/httpd restart
First boot process
parted; mklabel k
24. '____ /var/www' will tell you the ACL settings of /var/www
ls -Z
NameVirtualHost
elinks
-i
25. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
/etc/vsftpd
showmount -a
squid -z
/boot
26. Run the ____ command to find the device associated with the USB key.
First boot process
parted; mklabel k
ServerName
fdisk -l
27. rpm ____ verifies the installed zip rpm against the rpm database
rpm -V zip
elinks
/etc/squid/
/media/repodata
28. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
resize2fs /dev/myvg/homevol
pirut
ServerName
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
29. The simplest way to install Apache
yum clean all
fdisk
yum install httpd
iptables -F
30. 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 ____
-i
5
-l
elinks
31. What parts of rhel6 should be installed to separate volumes?
yum install vsftpd
/ (root) - /boot and linux swap
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
32. The main Squid configuration file is ____/squid.conf
yum install httpd
yum update kernel
AllowOverride
/etc/squid/
33. Where to find the main apache config file?
/etc/httpd/conf/
lvdisplay -D /dev/rootvg/tmplv
ErrorLog
e2fsadm
34. Perform a simple check of the file system. minor-num is x.
iptables
parted /dev/hda print
parted; check x
iptables -F
35. Are SELinux and iptables-based firewalls are enabled by default?
/etc/init.d/vsftpd start
elinks
Yes
/media/repodata
36. How do you restart the apache web server?
system-config-firewall
chkconfig --list httpd
/etc/init.d/httpd restart
parted /dev/hda print
37. 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:
service vsftpd status
e2fsadm
/boot
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
38. ____ can expand and shrink ext2 and ext3 file systems
showmount -e
resize2fs
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
iptables -F
39. What service is allowed through the default firewall?
tune2fs
ssh
/etc/vsftpd
chkconfig vsftpd on
40. Use grep to count how many repositories have been configured in the file server1.repo
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
41. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
/etc/vsftpd
yum clean all
dd if=./diskboot.img of=/dev/sdc
parted /dev/hda print
42. Where is the config dir for vsftpd?
/etc/vsftpd
fdisk
NameVirtualHost
squid -z
43. How to start the vsftp service?
/etc/init.d/vsftpd start
rpm -Va
/ (root) - /boot and linux swap
chkconfig --list httpd
44. How to install apache?
lvextend -L4G /dev/rootvg/tmplv
wget (http://devmon.dev.schwab.com/index.html)
rpm -V zip
yum install httpd
45. Apache supports security by specifying active ports through the Listen and ____ directives.
AllowOverride
NameVirtualHost
/etc/lvmtab
CustomLog
46. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
NameVirtualHost
pirut
-i
/etc/init.d/httpd start
47. 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
service vsftpd status
chcon -R -t httpd_sys_content_t /home/michael/public_html
DocumentRoot
-K
48. Virtual Host Configuration: Sets a root directory for the virtual host.
yum update kernel
CustomLog
chmod 701
DocumentRoot
49. Where is vsftpd.conf?
/etc/vsftpd
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
ServerTokens
showmount -e
50. 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/vsftpd
/etc/init.d/vsftpd start
/etc/vsftpd
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