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. rpm ____ to install kernel updates
-i (do not use -U or -F!)
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 install httpd
yum install mod_ssl squid
2. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
pirut
ErrorLog
filesystem type is not ext2 or ext3
NameVirtualHost
3. The main Squid configuration file is ____/squid.conf
ErrorLog
setup
/boot
/etc/squid/
4. 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.
LVM
service vsftpd status
rpm -V
rpm -e zip
5. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
dd if=./diskboot.img of=/dev/sdc
tune2fs
squid -z
6. ____ prints superblock and block group information.
parted; mklabel k
-K
/var/ftp/pub
dumpe2fs
7. How do you restart the apache web server?
resize2fs /dev/myvg/homevol
var/www/html
/etc/init.d/httpd restart
rpm -V
8. Apache supports security by specifying active ports through the Listen and ____ directives.
NameVirtualHost
/var/ftp/pub
(rpm -q)p file (for rpmfile name)
ServerName
9. What is the standard directory for file sharing with vsFTP?
setsebool -P squid_connect_any 1
/var/ftp/pub
yum install httpd
var/ftp/pub
10. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
resize2fs /dev/myvg/homevol
First boot process
/etc/init.d/httpd start
ErrorLog
11. httpd ___ shows me what config files were installed when the httpd package was installed
rpm -qc
pirut
yum install vsftpd
/boot
12. pam ___ will tell me if any files in the pam package have changed since it was first installed
ServerName
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
rpm -V
resize2fs
13. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
htpasswd -c /etc/httpd/webpass e
/ (root) - /boot and linux swap
chmod 705
ls -Z
14. 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.
rpm -V zip
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
chcon -R -t httpd_sys_content_t /home/michael/public_html
iptables -F
15. 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)
CustomLog
lvdisplay -D /dev/rootvg/tmplv
chcon -R -t httpd_sys_content_t /home/michael/public_html
/ (root) - /boot and linux swap
16. Are SELinux and iptables-based firewalls are enabled by default?
Yes
AllowOverride
nfs
yum install httpd
17. How to start the vsftp service?
squid -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)
/etc/init.d/vsftpd start
/etc/init.d/httpd start
18. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
chkconfig httpd on
/media/repodata
First boot process
ErrorLog
19. Where is the config dir for vsftpd?
chkconfig vsftpd on
yum install httpd
/etc/vsftpd
showmount -e
20. rpm ____ verifies the installed zip rpm against the rpm database
/boot
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
rpm -V zip
port 21
21. Where is the vsftp pub dir?
/boot
/var/ftp/pub
resize2fs /dev/myvg/homevol
ErrorLog
22. 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
mke2fs
-l
yum -y update
chcon -R -t httpd_sys_content_t /home/michael/public_html
23. Virtual Host Configuration: Sets a root directory for the virtual host.
/etc/httpd/conf/
/etc/vsftpd
DocumentRoot
/boot
24. 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
rpm -Va
rpm -V
ServerTokens
AllowOverride
25. ____ can expand and shrink ext2 and ext3 file systems
resize2fs
ServerTokens
/etc/init.d/httpd restart
/boot
26. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
wget (http://devmon.dev.schwab.com/index.html)
NameVirtualHost
yum install mod_ssl squid
/etc/init.d/httpd restart
27. 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
rpm -V
parted; mklabel k
iptables
(rpm -q)p file (for rpmfile name)
28. After you edit /etc/exports - run service ___ stop...
nfs
dd if=./diskboot.img of=/dev/sdc
chkconfig httpd on
setsebool -P squid_connect_any 1
29. 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
-K
ssh
telnetd : ALL EXCEPT 192.168.1.10
wget (http://devmon.dev.schwab.com/index.html)
30. Where is the main apache data directory?
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
var/www/html
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
31. Where to find the main apache config file?
CustomLog
fdisk -l
iptables -F
/etc/httpd/conf/
32. 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 ____
system-config-firewall
dumpe2fs
rpm -e zip
ErrorLog
33. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
--import file
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
rpm -qc
fdisk -l
34. ____ configuration is not available via text mode RHEL installation.
ls -Z
tune2fs
LVM
(rpm -q)p file (for rpmfile name)
35. 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 --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
(rpm -q)p file (for rpmfile name)
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
Yes
36. Create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
/etc/lvmtab
dd if=./diskboot.img of=/dev/sdc
-K
LVM
37. httpd ___ to update the httpd package - automatically answering yes to all the questions
/var/ftp/pub
yum -y update
yum clean all
showmount -a
38. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
CustomLog
rpm -ivh --replacepkgs xxxx*
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
tune2fs
39. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
/etc/init.d/httpd restart
showmount -a
rpm -V zip
/etc/init.d/httpd start
40. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
lvextend -L4G /dev/rootvg/tmplv
filesystem type is not ext2 or ext3
LVM
yum update kernel
41. 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
/var/ftp/pub
setsebool -P squid_connect_any 1
parted; check x
DocumentRoot
42. 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:
parted /dev/hda print
showmount -e
chkconfig --level 35 httpd on
/var/ftp/pub
43. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
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)
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
/etc/vsftpd
showmount -a
44. 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)
showmount -a
rpm -V
setsebool -P htttpd.enable.homedirs 1
45. How to start apache service?
showmount -e
lvdisplay -D /dev/rootvg/tmplv
var/www/html
/etc/init.d/httpd start
46. How to install vsftpd?
rpm -ivh --replacepkgs xxxx*
yum install vsftpd
chkconfig --list httpd
fdisk -l
47. Use parted to display disk geometry for /dev/hda and end up in shell
DocumentRoot
chkconfig vsftpd on
parted /dev/hda print
showmount -a
48. what port needs to be open to access ftp?
dumpe2fs
filesystem type is not ext2 or ext3
port 21
iptables
49. ____ is used to modify file system parameters
dd if=./diskboot.img of=/dev/sdc
tune2fs
/etc/vsftpd
ssh
50. 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
lvdisplay -D /dev/rootvg/tmplv
setsebool -P squid_connect_any 1
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)
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