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. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?
showmount -a
rpm -qc
/etc/vsftpd
/media/repodata
2. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
resize2fs /dev/myvg/homevol
DocumentRoot
yum install vsftpd
--import file
3. 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
parted; check x
iptables
/etc/squid/
-i
4. pam ___ will tell me if any files in the pam package have changed since it was first installed
/etc/lvmtab
nfs
rpm -V
showmount -e
5. rpm ____ verifies all installed rpms against the rpm database
/etc/init.d/httpd restart
/etc/init.d/httpd start
rpm -Va
/etc/httpd/conf/
6. Virtual Host Configuration: Creates an custom log; the location is based on the DocumentRoot. (from http://www.books24x7.com/book/id_18196/viewer.asp?bookid=18196&chunkid=218985502)
ls -Z
AllowOverride
CustomLog
/etc/init.d/vsftpd start
7. Virtual Host Configuration: Names the URL for the virtual host.
pirut
-l
ServerName
/etc/vsftpd
8. ____ prints superblock and block group information.
rpm -V
fdisk
dumpe2fs
select (followed by the device name such as /dev/hdb)
9. Where is the vsftp pub dir?
(rpm -q)p file (for rpmfile name)
5
DocumentRoot
/var/ftp/pub
10. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
yum install httpd
NameVirtualHost
setsebool -P htttpd.enable.homedirs 1
/ (root) - /boot and linux swap
11. 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
NameVirtualHost
/etc/init.d/vsftpd start
-K
12. The main Squid configuration file is ____/squid.conf
yum install httpd
/etc/squid/
-i
system-config-firewall
13. 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.
iptables -F
/media/repodata
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
yum install mod_ssl squid
14. Virtual Host Configuration: Sets a root directory for the virtual host.
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
var/www/html
port 21
DocumentRoot
15. Logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
fdisk -l
Yes
5
setup
16. What parts of rhel6 should be installed to separate volumes?
ServerAdmin
tune2fs
/ (root) - /boot and linux swap
resize2fs /dev/myvg/homevol
17. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
chkconfig httpd on
fdisk -l
htpasswd -c /etc/httpd/webpass e
18. Where to find the main apache config file?
/etc/httpd/conf/
elinks
/etc/lvmtab
iptables
19. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
rpm -V
system-config-firewall
lvdisplay -D /dev/rootvg/tmplv
wget (http://devmon.dev.schwab.com/index.html)
20. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
NameVirtualHost
ServerAdmin
mke2fs
fdisk -l
21. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
chkconfig --level 35 httpd on
setup
grep '[.*]' server1.repo
htpasswd -c /etc/httpd/webpass e
22. You can use the ____ tool after installation to add any package groups that you missed.
pirut
yum install vsftpd
rpm -qc
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
23. what utility can be used to open port 80?
nfs
fdisk
rpm -e zip
system-config-firewall
24. After you edit /etc/exports - run service ___ stop...
nfs
pirut
5
select (followed by the device name such as /dev/hdb)
25. 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
26. what port needs to be open to access ftp?
port 21
NameVirtualHost
-K
ServerTokens
27. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
resize2fs
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
chmod 701
var/www/html
28. Where is vsftpd.conf?
/ (root) - /boot and linux swap
/etc/vsftpd
/etc/init.d/httpd start
/var/ftp/pub
29. How do you restart the apache web server?
chkconfig vsftpd on
/var/ftp/pub
elinks
/etc/init.d/httpd restart
30. Use parted to display disk geometry for /dev/hda and end up in shell
parted; check x
parted /dev/hda print
dd if=./diskboot.img of=/dev/sdc
var/www/html
31. Create the basic cache directories in /var/spool/squid with the following command:
setsebool -P squid_connect_any 1
-i (do not use -U or -F!)
fdisk
squid -z
32. How to install vsftpd?
chcon -R -t httpd_sys_content_t /home/michael/public_html
yum install vsftpd
chmod 701
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
33. What service is allowed through the default firewall?
ErrorLog
ssh
chmod 705
/etc/vsftpd
34. ____ is used for creating ext2 and ext3 file systems
mke2fs
/ (root) - /boot and linux swap
5
rpm -V zip
35. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
NameVirtualHost
yum install vsftpd
/etc/init.d/vsftpd start
DocumentRoot
36. 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/
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
service vsftpd status
rpm -e zip
37. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
ErrorLog
elinks
dd if=./diskboot.img of=/dev/sdc
rpm -ivh --replacepkgs xxxx*
38. rpm ____ to import the rpm key for integrity checking
/etc/vsftpd
--import file
/etc/httpd/conf/
parted; check x
39. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
setup
DocumentRoot
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
40. What is the standard directory for file sharing with vsFTP?
var/ftp/pub
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
/etc/vsftpd
elinks
41. ____ configuration is not available via text mode RHEL installation.
var/ftp/pub
service vsftpd status
/etc/init.d/vsftpd start
LVM
42. 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)
elinks
fdisk
e2fsadm
5
43. Tthe file that might contain: oldvg - rootvg - etc.
/boot
setup
pirut
/etc/lvmtab
44. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
elinks
fdisk
service vsftpd status
AllowOverride
45. ____ is used to modify file system parameters
tune2fs
chmod 705
NameVirtualHost
-l
46. 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
chkconfig --list httpd
CustomLog
/etc/init.d/httpd start
47. How to start the vsftp service?
/media/repodata
fdisk -l
/etc/init.d/vsftpd start
5
48. httpd ___ to update the httpd package - automatically answering yes to all the questions
setsebool -P squid_connect_any 1
-i
yum -y update
fdisk -l
49. 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:
setsebool -P htttpd.enable.homedirs 1
htpasswd -c /etc/httpd/webpass e
yum install vsftpd
/etc/squid/
50. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain
ls -Z
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
service vsftpd status
rpm -ivh --replacepkgs xxxx*
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