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. 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
rpm -e zip
htpasswd -c /etc/httpd/webpass e
yum update kernel
parted /dev/hda print
2. 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 ____
yum install mod_ssl squid
yum install httpd
rpm -e zip
--import file
3. rpm ____ to install kernel updates
parted; check x
-i (do not use -U or -F!)
parted /dev/hda print
CustomLog
4. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
/etc/vsftpd
mke2fs
(rpm -q)p file (for rpmfile name)
/etc/init.d/httpd restart
5. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
parted; mklabel k
yum -y update
setsebool -P htttpd.enable.homedirs 1
yum clean all
6. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
/etc/vsftpd
ServerName
squid -z
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
7. 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
rpm -e zip
/media/repodata
yum install mod_ssl squid
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
8. The rpm ____ option installs the package - if it isn't already installed.
ServerName
chkconfig vsftpd on
/ (root) - /boot and linux swap
-i
9. How to start the vsftp service automatically on boot?
dumpe2fs
chkconfig vsftpd on
/ (root) - /boot and linux swap
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
10. rpm option to show me the package files
yum -y update
-l
var/www/html
system-config-firewall
11. Virtual Host Configuration: Names the URL for the virtual host.
ServerName
parted /dev/hda print
iptables -F
/var/ftp/pub
12. Tthe file that might contain: oldvg - rootvg - etc.
LVM
parted /dev/hda print
/etc/lvmtab
-i
13. ____ configuration is not available via text mode RHEL installation.
yum install httpd
LVM
fdisk
ErrorLog
14. What command starts the same menu as the text-mode First Boot process?
setup
yum install vsftpd
/boot
First boot process
15. 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
/boot
chkconfig --list httpd
chmod 701
16. rpm ____ to import the rpm key for integrity checking
iptables
--import file
iptables -F
Yes
17. 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
parted /dev/hda print
setsebool -P squid_connect_any 1
ServerTokens
-i
18. What parts of rhel6 should be installed to separate volumes?
rpm -V zip
/ (root) - /boot and linux swap
filesystem type is not ext2 or ext3
ls -Z
19. rpm ____ verifies the installed zip rpm against the rpm database
service vsftpd status
rpm -V zip
parted /dev/hda print
resize2fs
20. _____ will change the size of /dev/rootvg/tmplv to 4 gig
5
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
filesystem type is not ext2 or ext3
lvextend -L4G /dev/rootvg/tmplv
21. Where is the main apache data directory?
var/www/html
system-config-firewall
/media/repodata
yum -y update
22. OS from http.conf - this line looks deceptively simple; it limits what readers see about your Web server when you browse to a nonexistent page. If you don't use this command - outsiders can see whether you've loaded modules such as Perl - Python - an
ServerTokens
fdisk -l
rpm -Va
chkconfig vsftpd on
23. 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
ServerName
/etc/init.d/httpd restart
var/www/html
24. What service is allowed through the default firewall?
ssh
lvextend -L4G /dev/rootvg/tmplv
wget (http://devmon.dev.schwab.com/index.html)
-l
25. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
nfs
resize2fs /dev/myvg/homevol
ServerAdmin
yum -y update
26. How to install apache?
telnetd : ALL EXCEPT 192.168.1.10
yum install httpd
ssh
rpm -Va
27. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
-i (do not use -U or -F!)
AllowOverride
/etc/init.d/vsftpd start
dd if=./diskboot.img of=/dev/sdc
28. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
-i (do not use -U or -F!)
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
setup
chmod 701
29. How to disable the firewall on the current system?
iptables -F
yum install mod_ssl squid
yum clean all
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
30. Virtual Host Configuration: Sets a root directory for the virtual host.
NameVirtualHost
DocumentRoot
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)
setsebool -P squid_connect_any 1
31. '____ /var/www' will tell you the ACL settings of /var/www
/etc/lvmtab
telnetd : ALL EXCEPT 192.168.1.10
LVM
ls -Z
32. 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
showmount -a
telnetd : ALL EXCEPT 192.168.1.10
yum -y update
chcon -R -t httpd_sys_content_t /home/michael/public_html
33. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
dd if=./diskboot.img of=/dev/sdc
rpm -ivh --replacepkgs xxxx*
DocumentRoot
yum update kernel
34. 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
var/ftp/pub
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
chcon -R -t httpd_sys_content_t /home/michael/public_html
setsebool -P squid_connect_any 1
35. 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
chcon -R -t httpd_sys_content_t /home/michael/public_html
/etc/vsftpd
yum update kernel
36. 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
37. Apache supports security by specifying active ports through the Listen and ____ directives.
ServerName
dd if=./diskboot.img of=/dev/sdc
DocumentRoot
NameVirtualHost
38. 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)
/boot
rpm -Va
fdisk
CustomLog
39. ____ is used to modify file system parameters
tune2fs
lvextend -L4G /dev/rootvg/tmplv
resize2fs
rpm -V zip
40. How to make sure apache starts automatically on next reboot?
parted; check x
chkconfig httpd on
/media/repodata
parted /dev/hda print
41. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain
-K
NameVirtualHost
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
rpm -V zip
42. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
resize2fs
/ (root) - /boot and linux swap
wget (http://devmon.dev.schwab.com/index.html)
fdisk
43. You can use the ____ tool after installation to add any package groups that you missed.
e2fsadm
pirut
/etc/squid/
CustomLog
44. How to start the vsftp service?
ls -Z
elinks
/boot
/etc/init.d/vsftpd start
45. Perform a simple check of the file system. minor-num is x.
parted; check x
--import file
port 21
fdisk -l
46. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
fdisk -l
ServerAdmin
rpm -e zip
47. httpd ___ to update the httpd package - automatically answering yes to all the questions
yum install httpd
var/www/html
telnetd : ALL EXCEPT 192.168.1.10
yum -y update
48. 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
yum clean all
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)
yum -y update
49. Create a disk label for the partition table called k
parted; check x
setup
parted; mklabel k
rpm -V zip
50. 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:
-l
DocumentRoot
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
setsebool -P htttpd.enable.homedirs 1
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