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 start the vsftp service?
/etc/init.d/vsftpd start
yum install httpd
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
iptables -F
2. 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)
/media/repodata
yum install httpd
e2fsadm
/etc/init.d/httpd start
3. rpm ____ to import the rpm key for integrity checking
--import file
fdisk -l
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
rpm -qc
4. httpd ___ shows me what config files were installed when the httpd package was installed
parted; check x
setsebool -P htttpd.enable.homedirs 1
rpm -qc
ls -Z
5. 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
NameVirtualHost
rpm -V zip
Yes
6. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
chmod 701
resize2fs
wget (http://devmon.dev.schwab.com/index.html)
var/www/html
7. Use parted to display disk geometry for /dev/hda and end up in shell
mke2fs
DocumentRoot
elinks
parted /dev/hda print
8. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
squid -z
nfs
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
chcon -R -t httpd_sys_content_t /home/michael/public_html
9. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
filesystem type is not ext2 or ext3
/etc/squid/
rpm -V
rpm -V
10. rpm ____ verifies the installed zip rpm against the rpm database
rpm -V zip
rpm -ivh --replacepkgs xxxx*
Yes
5
11. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
rpm -e zip
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
setsebool -P htttpd.enable.homedirs 1
chmod 701
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:
ls -Z
htpasswd -c /etc/httpd/webpass e
var/ftp/pub
rpm -Va
13. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?
tune2fs
/media/repodata
CustomLog
chkconfig --level 35 httpd on
14. 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
15. What service is allowed through the default firewall?
service vsftpd status
ssh
ServerName
ServerTokens
16. 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
/etc/init.d/httpd restart
ServerAdmin
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
telnetd : ALL EXCEPT 192.168.1.10
17. 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.
chkconfig --level 35 httpd on
iptables -F
NameVirtualHost
/etc/init.d/vsftpd start
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 ____
elinks
/etc/init.d/vsftpd start
fdisk -l
lvextend -L4G /dev/rootvg/tmplv
19. 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:
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
NameVirtualHost
chkconfig vsftpd on
/var/ftp/pub
20. rpm option to show me the package files
First boot process
-K
-l
/etc/init.d/vsftpd start
21. The rpm ____ option installs the package - if it isn't already installed.
AllowOverride
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
dd if=./diskboot.img of=/dev/sdc
-i
22. what port needs to be open to access ftp?
ServerName
port 21
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
ssh
23. pam ___ will tell me if any files in the pam package have changed since it was first installed
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
rpm -V
/media/repodata
/etc/init.d/httpd restart
24. Where is the vsftp pub dir?
/var/ftp/pub
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
/etc/init.d/vsftpd 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)
25. Run the ____ command to find the device associated with the USB key.
/boot
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
rpm -V
fdisk -l
26. Where is the main apache data directory?
lvdisplay -D /dev/rootvg/tmplv
parted /dev/hda print
select (followed by the device name such as /dev/hdb)
var/www/html
27. Where is vsftpd.conf?
/etc/vsftpd
/etc/squid/
/var/ftp/pub
htpasswd -c /etc/httpd/webpass e
28. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
service vsftpd status
pirut
chkconfig --list httpd
NameVirtualHost
29. ____ is used to modify file system parameters
NameVirtualHost
ServerAdmin
(rpm -q)p file (for rpmfile name)
tune2fs
30. '____ /var/www' will tell you the ACL settings of /var/www
showmount -e
filesystem type is not ext2 or ext3
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
ls -Z
31. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
yum install mod_ssl squid
yum clean all
rpm -V
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
32. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
/etc/vsftpd
pirut
iptables -F
chkconfig --level 35 httpd on
33. 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
/boot
LVM
var/ftp/pub
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
34. 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.
5
rpm -qc
/etc/init.d/vsftpd start
rpm -V
35. What command starts the same menu as the text-mode First Boot process?
/etc/vsftpd
parted; check x
setup
ErrorLog
36. ____ configuration is not available via text mode RHEL installation.
-i (do not use -U or -F!)
LVM
AllowOverride
elinks
37. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
system-config-firewall
nfs
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
First boot process
38. Tthe file that might contain: oldvg - rootvg - etc.
yum install vsftpd
/etc/init.d/httpd restart
iptables -F
/etc/lvmtab
39. Logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
5
/etc/vsftpd
yum update kernel
chkconfig httpd on
40. httpd ___ to update the httpd package - automatically answering yes to all the questions
chmod 705
filesystem type is not ext2 or ext3
ssh
yum -y update
41. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
showmount -a
chcon -R -t httpd_sys_content_t /home/michael/public_html
/etc/squid/
yum clean all
42. To install both mod_ssl and squid packages
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
grep '[.*]' server1.repo
yum install mod_ssl squid
ServerTokens
43. What parts of rhel6 should be installed to separate volumes?
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
chkconfig --list httpd
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
/ (root) - /boot and linux swap
44. 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
yum -y update
iptables
dd if=./diskboot.img of=/dev/sdc
rpm -Va
45. How to start the vsftp service automatically on boot?
/var/ftp/pub
chkconfig vsftpd on
lvextend -L4G /dev/rootvg/tmplv
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
46. If in doubt about package names - you can find them in the ...
/etc/init.d/httpd restart
chmod 705
e2fsadm
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)
47. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
5
/etc/vsftpd
Yes
ErrorLog
48. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
grep '[.*]' server1.repo
rpm -V
rpm -ivh --replacepkgs xxxx*
chmod 701
49. Where is the config dir for vsftpd?
select (followed by the device name such as /dev/hdb)
rpm -V
iptables
/etc/vsftpd
50. ____ is used for creating ext2 and ext3 file systems
mke2fs
tune2fs
dumpe2fs
chkconfig --list httpd
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