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. 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 ____
tune2fs
rpm -e zip
/etc/vsftpd
LVM
2. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
chmod 705
filesystem type is not ext2 or ext3
squid -z
/etc/init.d/httpd start
3. Perform a simple check of the file system. minor-num is x.
/media/repodata
rpm -Va
setsebool -P htttpd.enable.homedirs 1
parted; check x
4. 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:
5
NameVirtualHost
ErrorLog
showmount -e
5. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
setup
rpm -V
/ (root) - /boot and linux swap
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
6. pam ___ will tell me if any files in the pam package have changed since it was first installed
/etc/lvmtab
rpm -V
yum update kernel
resize2fs /dev/myvg/homevol
7. 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
ssh
LVM
setsebool -P squid_connect_any 1
grep '[.*]' server1.repo
8. 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
yum install httpd
service vsftpd status
chcon -R -t httpd_sys_content_t /home/michael/public_html
lvdisplay -D /dev/rootvg/tmplv
9. 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
/var/ftp/pub
iptables
/etc/httpd/conf/
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)
10. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?
--import file
lvdisplay -D /dev/rootvg/tmplv
/media/repodata
ServerAdmin
11. Create the basic cache directories in /var/spool/squid with the following command:
squid -z
lvdisplay -D /dev/rootvg/tmplv
chkconfig vsftpd on
parted /dev/hda print
12. '____ /var/www' will tell you the ACL settings of /var/www
rpm -V
ls -Z
var/ftp/pub
rpm -ivh --replacepkgs xxxx*
13. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
ErrorLog
select (followed by the device name such as /dev/hdb)
mke2fs
parted /dev/hda print
14. what port needs to be open to access ftp?
-i
ls -Z
parted; mklabel k
port 21
15. Apache supports security by specifying active ports through the Listen and ____ directives.
ServerAdmin
yum install httpd
NameVirtualHost
yum update kernel
16. How to make sure apache starts automatically on next reboot?
chkconfig httpd on
/etc/lvmtab
htpasswd -c /etc/httpd/webpass e
Yes
17. 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
ls -Z
pirut
parted; check x
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
18. rpm option to show me the package files
filesystem type is not ext2 or ext3
-l
chkconfig --list httpd
--import file
19. Where is the vsftp pub dir?
fdisk
/var/ftp/pub
setup
pirut
20. How to start the vsftp service automatically on boot?
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
/boot
ErrorLog
chkconfig vsftpd on
21. 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.
--import file
iptables -F
yum install httpd
Yes
22. 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)
chkconfig vsftpd on
CustomLog
-l
NameVirtualHost
23. what utility can be used to open port 80?
system-config-firewall
/media/repodata
setup
yum update kernel
24. ____ is used for creating ext2 and ext3 file systems
grep '[.*]' server1.repo
mke2fs
fdisk -l
-l
25. Where is the config dir for vsftpd?
/etc/httpd/conf/
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
yum install mod_ssl squid
/etc/vsftpd
26. 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)
e2fsadm
CustomLog
grep '[.*]' server1.repo
yum clean all
27. 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
DocumentRoot
showmount -a
fdisk -l
yum update kernel
28. Create a disk label for the partition table called k
mke2fs
NameVirtualHost
parted; mklabel k
/boot
29. To check status of ftp daemon
/etc/lvmtab
service vsftpd status
DocumentRoot
chkconfig vsftpd on
30. How to start the vsftp service?
ServerAdmin
yum -y update
/etc/init.d/vsftpd start
chkconfig --level 35 httpd on
31. Are SELinux and iptables-based firewalls are enabled by default?
parted /dev/hda print
ServerTokens
Yes
telnetd : ALL EXCEPT 192.168.1.10
32. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael if you want /home/michael/public_html accessible
parted /dev/hda print
/etc/init.d/httpd restart
parted; check x
chmod 701
33. httpd ___ shows me what config files were installed when the httpd package was installed
dd if=./diskboot.img of=/dev/sdc
service vsftpd status
rpm -qc
NameVirtualHost
34. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
yum install httpd
chkconfig httpd on
e2fsadm
showmount -a
35. httpd ___ to update the httpd package - automatically answering yes to all the questions
select (followed by the device name such as /dev/hdb)
yum -y update
fdisk
rpm -V
36. 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:
service vsftpd status
htpasswd -c /etc/httpd/webpass e
iptables
chmod 705
37. If in doubt about package names - you can find them in the ...
ErrorLog
/etc/init.d/httpd start
First boot process
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)
38. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
/etc/vsftpd
iptables -F
fdisk
telnetd : ALL EXCEPT 192.168.1.10
39. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
pirut
(rpm -q)p file (for rpmfile name)
yum install httpd
/ (root) - /boot and linux swap
40. 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
ServerAdmin
setsebool -P htttpd.enable.homedirs 1
/boot
/etc/lvmtab
41. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
chkconfig vsftpd on
/etc/vsftpd
lvdisplay -D /dev/rootvg/tmplv
yum -y update
42. rpm ____ to import the rpm key for integrity checking
-l
--import file
e2fsadm
AllowOverride
43. ____ can expand and shrink ext2 and ext3 file systems
resize2fs
select (followed by the device name such as /dev/hdb)
/etc/vsftpd
parted; mklabel k
44. 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
45. Run the ____ command to find the device associated with the USB key.
grep '[.*]' server1.repo
fdisk -l
yum -y update
ErrorLog
46. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
parted /dev/hda print
htpasswd -c /etc/httpd/webpass e
/media/repodata
yum clean all
47. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
LVM
setup
chkconfig --list httpd
resize2fs /dev/myvg/homevol
48. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain
ServerAdmin
ServerTokens
pirut
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
49. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
rpm -ivh --replacepkgs xxxx*
/var/ftp/pub
chkconfig vsftpd on
rpm -qc
50. The simplest way to install Apache
yum install httpd
resize2fs
-l
setup
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