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 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)
chkconfig --list httpd
yum update kernel
-l
2. Perform a simple check of the file system. minor-num is x.
parted; check x
telnetd : ALL EXCEPT 192.168.1.10
rpm -qc
htpasswd -c /etc/httpd/webpass e
3. ____ can expand and shrink ext2 and ext3 file systems
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
telnetd : ALL EXCEPT 192.168.1.10
fdisk
resize2fs
4. 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
nfs
chcon -R -t httpd_sys_content_t /home/michael/public_html
rpm -V zip
yum -y update
5. Create the basic cache directories in /var/spool/squid with the following command:
squid -z
chcon -R -t httpd_sys_content_t /home/michael/public_html
var/www/html
-l
6. what utility can be used to open port 80?
--import file
Yes
dumpe2fs
system-config-firewall
7. 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
rpm -V zip
fdisk -l
5
/boot
8. 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
fdisk
rpm -e zip
--import file
9. Create a disk label for the partition table called k
pirut
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
parted; mklabel k
/etc/init.d/httpd restart
10. The simplest way to install Apache
iptables -F
yum install httpd
showmount -a
DocumentRoot
11. Where is the config dir for vsftpd?
/etc/vsftpd
lvextend -L4G /dev/rootvg/tmplv
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
/etc/init.d/httpd restart
12. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
chkconfig --level 35 httpd on
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
nfs
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
13. 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
iptables -F
showmount -e
LVM
14. 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
setsebool -P squid_connect_any 1
resize2fs
ServerTokens
ServerName
15. 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
yum install vsftpd
port 21
ls -Z
ServerTokens
16. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
resize2fs /dev/myvg/homevol
ls -Z
yum update kernel
parted; check x
17. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
ServerAdmin
system-config-firewall
ServerTokens
rpm -Va
18. If in doubt about package names - you can find them in the ...
dd if=./diskboot.img of=/dev/sdc
pirut
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)
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
19. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain
parted; mklabel k
setup
5
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
20. Are SELinux and iptables-based firewalls are enabled by default?
NameVirtualHost
Yes
/etc/squid/
ssh
21. 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
22. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
iptables
filesystem type is not ext2 or ext3
htpasswd -c /etc/httpd/webpass e
LVM
23. 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
yum install mod_ssl squid
AllowOverride
/boot
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
24. What is the first post installation step?
First boot process
rpm -Va
AllowOverride
dumpe2fs
25. 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
DocumentRoot
telnetd : ALL EXCEPT 192.168.1.10
/boot
(rpm -q)p file (for rpmfile name)
26. httpd ___ shows me what config files were installed when the httpd package was installed
rpm -qc
DocumentRoot
rpm -V zip
/etc/init.d/vsftpd start
27. 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
/etc/init.d/httpd start
(rpm -q)p file (for rpmfile name)
/etc/vsftpd
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
28. You can use the ____ tool after installation to add any package groups that you missed.
tune2fs
pirut
ls -Z
rpm -Va
29. How to start the vsftp service?
nfs
-l
ls -Z
/etc/init.d/vsftpd start
30. _____ will change the size of /dev/rootvg/tmplv to 4 gig
dd if=./diskboot.img of=/dev/sdc
/media/repodata
showmount -a
lvextend -L4G /dev/rootvg/tmplv
31. rpm ____ verifies the installed zip rpm against the rpm database
yum update kernel
rpm -e zip
service vsftpd status
rpm -V zip
32. 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
var/www/html
yum -y update
/etc/vsftpd
33. httpd ___ to update the httpd package - automatically answering yes to all the questions
yum -y update
parted; check x
NameVirtualHost
/etc/init.d/httpd start
34. Where is vsftpd.conf?
/etc/init.d/httpd start
rpm -Va
5
/etc/vsftpd
35. To check status of ftp daemon
rpm -V
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)
service vsftpd status
36. Apache supports security by specifying active ports through the Listen and ____ directives.
rpm -ivh --replacepkgs xxxx*
NameVirtualHost
ServerName
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
37. 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
LVM
chkconfig --level 35 httpd on
CustomLog
38. As you may not have access to the GUI during the Red Hat exams - you need to know how to use text-based browsers. The standard is ____
elinks
ls -Z
var/ftp/pub
NameVirtualHost
39. ____ configuration is not available via text mode RHEL installation.
LVM
CustomLog
iptables -F
First boot process
40. Where is the vsftp pub dir?
/var/ftp/pub
NameVirtualHost
rpm -e zip
telnetd : ALL EXCEPT 192.168.1.10
41. ____ prints superblock and block group information.
resize2fs /dev/myvg/homevol
dumpe2fs
/media/repodata
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
42. Where is the main apache data directory?
var/www/html
ServerTokens
/etc/vsftpd
iptables -F
43. After you edit /etc/exports - run service ___ stop...
nfs
iptables -F
setsebool -P squid_connect_any 1
parted; check x
44. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
yum install httpd
-i (do not use -U or -F!)
lvdisplay -D /dev/rootvg/tmplv
5
45. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
chmod 705
ls -Z
yum -y update
elinks
46. 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.
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
iptables -F
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
yum install httpd
47. Virtual Host Configuration: Sets a root directory for the virtual host.
tune2fs
showmount -e
/etc/vsftpd
DocumentRoot
48. rpm ____ verifies all installed rpms against the rpm database
/etc/squid/
rpm -Va
wget (http://devmon.dev.schwab.com/index.html)
rpm -V zip
49. Use parted to display disk geometry for /dev/hda and end up in shell
service vsftpd status
parted /dev/hda print
/etc/init.d/vsftpd start
port 21
50. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
/etc/lvmtab
NameVirtualHost
showmount -a
tune2fs
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