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. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
rpm -e zip
LVM
fdisk
tune2fs
2. what port needs to be open to access ftp?
port 21
nfs
resize2fs /dev/myvg/homevol
/etc/init.d/httpd start
3. 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:
-i
resize2fs
yum install mod_ssl squid
htpasswd -c /etc/httpd/webpass e
4. The simplest way to install Apache
yum install httpd
e2fsadm
chmod 701
rpm -e zip
5. How to start apache service?
ServerAdmin
wget (http://devmon.dev.schwab.com/index.html)
/etc/init.d/httpd start
/etc/lvmtab
6. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
resize2fs /dev/myvg/homevol
yum clean all
rpm -qc
fdisk
7. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
CustomLog
ls -Z
squid -z
chkconfig --level 35 httpd on
8. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
ls -Z
yum install httpd
parted; check x
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
9. 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)
-l
CustomLog
ErrorLog
/var/ftp/pub
10. Where is the vsftp pub dir?
/var/ftp/pub
NameVirtualHost
fdisk
-l
11. pam ___ will tell me if any files in the pam package have changed since it was first installed
iptables -F
chkconfig --level 35 httpd on
nfs
rpm -V
12. What command starts the same menu as the text-mode First Boot process?
chkconfig vsftpd on
yum install mod_ssl squid
parted; check x
setup
13. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
rpm -ivh --replacepkgs xxxx*
ls -Z
rpm -V
ErrorLog
14. 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
/etc/init.d/vsftpd start
DocumentRoot
ServerTokens
NameVirtualHost
15. To list under which run levels the web service will start
fdisk -l
showmount -a
chkconfig --list httpd
dumpe2fs
16. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
ServerAdmin
rpm -qc
/etc/init.d/httpd restart
showmount -e
17. Use parted to display disk geometry for /dev/hda and end up in shell
First boot process
/etc/vsftpd
wget (http://devmon.dev.schwab.com/index.html)
parted /dev/hda print
18. What service is allowed through the default firewall?
Yes
ssh
wget (http://devmon.dev.schwab.com/index.html)
NameVirtualHost
19. You can use the ____ tool after installation to add any package groups that you missed.
chkconfig --level 35 httpd on
NameVirtualHost
pirut
rpm -V zip
20. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
dd if=./diskboot.img of=/dev/sdc
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)
Yes
/etc/vsftpd
21. what utility can be used to open port 80?
system-config-firewall
lvextend -L4G /dev/rootvg/tmplv
rpm -Va
e2fsadm
22. ____ can expand and shrink ext2 and ext3 file systems
/var/ftp/pub
ssh
-K
resize2fs
23. Create a disk label for the partition table called k
parted; mklabel k
port 21
/etc/vsftpd
ServerName
24. To select a different device without having to restart parted - use the ____ command . Then - you can view its partition table or configure it.
select (followed by the device name such as /dev/hdb)
--import file
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
First boot process
25. Create the basic cache directories in /var/spool/squid with the following command:
fdisk
ErrorLog
squid -z
(rpm -q)p file (for rpmfile name)
26. httpd ___ shows me what config files were installed when the httpd package was installed
/etc/lvmtab
/etc/vsftpd
parted; check x
rpm -qc
27. Tthe file that might contain: oldvg - rootvg - etc.
chmod 701
rpm -V zip
lvdisplay -D /dev/rootvg/tmplv
/etc/lvmtab
28. If in doubt about package names - you can find them in the ...
yum update kernel
elinks
ls -Z
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)
29. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
setsebool -P htttpd.enable.homedirs 1
chmod 705
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
rpm -V
30. rpm ____ to install kernel updates
-i (do not use -U or -F!)
-K
fdisk -l
CustomLog
31. _____ will change the size of /dev/rootvg/tmplv to 4 gig
ServerAdmin
elinks
lvextend -L4G /dev/rootvg/tmplv
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
32. After you edit /etc/exports - run service ___ stop...
nfs
rpm -V
ServerTokens
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
33. '____ /var/www' will tell you the ACL settings of /var/www
--import file
setsebool -P squid_connect_any 1
ls -Z
/etc/init.d/httpd restart
34. 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
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
lvdisplay -D /dev/rootvg/tmplv
/etc/vsftpd
mke2fs
35. The rpm ____ option installs the package - if it isn't already installed.
iptables -F
yum update kernel
chkconfig --level 35 httpd on
-i
36. ____ prints superblock and block group information.
--import file
rpm -V
dumpe2fs
setsebool -P htttpd.enable.homedirs 1
37. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
NameVirtualHost
telnetd : ALL EXCEPT 192.168.1.10
--import file
(rpm -q)p file (for rpmfile name)
38. 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
/etc/httpd/conf/
AllowOverride
-K
CustomLog
39. How do you restart the apache web server?
/etc/init.d/httpd restart
fdisk
system-config-firewall
showmount -a
40. 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:
/etc/squid/
chcon -R -t httpd_sys_content_t /home/michael/public_html
rpm -ivh --replacepkgs xxxx*
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
41. rpm ____ verifies all installed rpms against the rpm database
(rpm -q)p file (for rpmfile name)
rpm -Va
/etc/init.d/httpd start
iptables
42. The main Squid configuration file is ____/squid.conf
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
parted; mklabel k
/etc/squid/
CustomLog
43. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
service vsftpd status
First boot process
chmod 705
lvdisplay -D /dev/rootvg/tmplv
44. Are SELinux and iptables-based firewalls are enabled by default?
setsebool -P squid_connect_any 1
Yes
(rpm -q)p file (for rpmfile name)
rpm -qc
45. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
showmount -a
(rpm -q)p file (for rpmfile name)
filesystem type is not ext2 or ext3
46. 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
dd if=./diskboot.img of=/dev/sdc
telnetd : ALL EXCEPT 192.168.1.10
mke2fs
47. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?
CustomLog
parted; check x
/media/repodata
5
48. 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
49. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
rpm -Va
showmount -e
/etc/vsftpd
50. How to start the vsftp service?
/etc/init.d/vsftpd start
/etc/init.d/httpd start
showmount -e
yum install httpd
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