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. Where is vsftpd.conf?
fdisk -l
/etc/vsftpd
First boot process
yum -y update
2. 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)
fdisk -l
var/www/html
3. ____ configuration is not available via text mode RHEL installation.
dd if=./diskboot.img of=/dev/sdc
chmod 701
LVM
dumpe2fs
4. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
ErrorLog
5
var/ftp/pub
/etc/lvmtab
5. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
/etc/init.d/httpd restart
yum clean all
yum -y update
AllowOverride
6. What parts of rhel6 should be installed to separate volumes?
NameVirtualHost
/var/ftp/pub
/ (root) - /boot and linux swap
setup
7. '____ /var/www' will tell you the ACL settings of /var/www
/etc/vsftpd
-l
parted /dev/hda print
ls -Z
8. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?
/media/repodata
/etc/httpd/conf/
chmod 701
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
9. ____ can expand and shrink ext2 and ext3 file systems
service vsftpd status
port 21
CustomLog
resize2fs
10. How to make sure apache starts automatically on next reboot?
/etc/init.d/httpd start
yum -y update
chkconfig httpd on
--import file
11. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
ssh
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
(rpm -q)p file (for rpmfile name)
setsebool -P htttpd.enable.homedirs 1
12. If in doubt about package names - you can find them in the ...
-l
yum update kernel
-K
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)
13. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
lvdisplay -D /dev/rootvg/tmplv
rpm -ivh --replacepkgs xxxx*
/etc/init.d/httpd start
-l
14. How to disable the firewall on the current system?
/ (root) - /boot and linux swap
showmount -e
iptables -F
service vsftpd status
15. ____ prints superblock and block group information.
yum -y update
htpasswd -c /etc/httpd/webpass e
dumpe2fs
rpm -V zip
16. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
LVM
port 21
--import file
showmount -a
17. Where is the vsftp pub dir?
yum install httpd
/var/ftp/pub
ServerTokens
wget (http://devmon.dev.schwab.com/index.html)
18. The rpm ____ option installs the package - if it isn't already installed.
chkconfig --list httpd
-i
showmount -e
telnetd : ALL EXCEPT 192.168.1.10
19. 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
chkconfig --level 35 httpd on
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
chkconfig vsftpd on
rpm -qc
20. 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
fdisk
/etc/init.d/httpd restart
setsebool -P squid_connect_any 1
rpm -V zip
21. The simplest way to install Apache
/etc/init.d/httpd start
rpm -V
yum install httpd
/etc/vsftpd
22. Where is the main apache data directory?
var/www/html
chkconfig --list httpd
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
select (followed by the device name such as /dev/hdb)
23. After you edit /etc/exports - run service ___ stop...
nfs
--import file
chcon -R -t httpd_sys_content_t /home/michael/public_html
parted; check x
24. Are SELinux and iptables-based firewalls are enabled by default?
e2fsadm
/etc/httpd/conf/
chkconfig vsftpd on
Yes
25. httpd ___ to update the httpd package - automatically answering yes to all the questions
wget (http://devmon.dev.schwab.com/index.html)
nfs
yum -y update
chkconfig --list httpd
26. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
parted /dev/hda print
squid -z
/etc/init.d/httpd restart
rpm -ivh --replacepkgs xxxx*
27. rpm option to show me the package files
chcon -R -t httpd_sys_content_t /home/michael/public_html
rpm -V
yum update kernel
-l
28. rpm ____ verifies the installed zip rpm against the rpm database
rpm -V zip
ServerName
htpasswd -c /etc/httpd/webpass e
yum install mod_ssl squid
29. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
fdisk
/etc/init.d/vsftpd start
fdisk -l
setsebool -P htttpd.enable.homedirs 1
30. 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)
parted /dev/hda print
(rpm -q)p file (for rpmfile name)
CustomLog
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
31. Virtual Host Configuration: Sets a root directory for the virtual host.
DocumentRoot
rpm -V zip
rpm -V
fdisk -l
32. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
showmount -e
chmod 705
yum -y update
33. You can use the ____ tool after installation to add any package groups that you missed.
var/www/html
showmount -e
/etc/squid/
pirut
34. 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)
/etc/httpd/conf/
rpm -qc
chkconfig --level 35 httpd on
e2fsadm
35. 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:
squid -z
ServerName
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
service vsftpd status
36. How to start apache service?
-l
service vsftpd status
chkconfig --level 35 httpd on
/etc/init.d/httpd start
37. pam ___ will tell me if any files in the pam package have changed since it was first installed
ErrorLog
showmount -e
squid -z
rpm -V
38. rpm ____ [name of package] to verify the package - once you have manually imported the key
-K
AllowOverride
rpm -Va
mke2fs
39. How do you restart the apache web server?
(rpm -q)p file (for rpmfile name)
rpm -e zip
yum install mod_ssl squid
/etc/init.d/httpd restart
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. _____ will change the size of /dev/rootvg/tmplv to 4 gig
NameVirtualHost
select (followed by the device name such as /dev/hdb)
/etc/init.d/vsftpd start
lvextend -L4G /dev/rootvg/tmplv
42. The main Squid configuration file is ____/squid.conf
/etc/httpd/conf/
/etc/init.d/httpd start
--import file
/etc/squid/
43. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
/etc/vsftpd
ServerAdmin
-K
chmod 705
44. Tthe file that might contain: oldvg - rootvg - etc.
-i
tune2fs
/etc/lvmtab
parted; check x
45. 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 ____
resize2fs
rpm -e zip
service vsftpd status
pirut
46. ____ is used for creating ext2 and ext3 file systems
fdisk
-i (do not use -U or -F!)
mke2fs
LVM
47. 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.
e2fsadm
rpm -V
/ (root) - /boot and linux swap
yum install vsftpd
48. What is the first post installation step?
fdisk
yum clean all
First boot process
yum install httpd
49. 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
fdisk -l
dumpe2fs
/etc/vsftpd
50. 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
LVM
yum install httpd
rpm -V
yum update kernel
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