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. Run the ____ command to find the device associated with the USB key.
fdisk -l
dd if=./diskboot.img of=/dev/sdc
yum install vsftpd
service vsftpd status
2. 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/vsftpd
First boot process
setup
ServerTokens
3. How to disable the firewall on the current system?
var/ftp/pub
rpm -V
/etc/httpd/conf/
iptables -F
4. 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
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
CustomLog
setsebool -P squid_connect_any 1
ErrorLog
5. 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
-K
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
(rpm -q)p file (for rpmfile name)
6. How to start the vsftp service?
tune2fs
rpm -Va
DocumentRoot
/etc/init.d/vsftpd start
7. ____ can expand and shrink ext2 and ext3 file systems
parted; mklabel k
e2fsadm
ServerName
resize2fs
8. 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
ServerAdmin
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 : ALL EXCEPT 192.168.1.10
9. pam ___ will tell me if any files in the pam package have changed since it was first installed
var/ftp/pub
NameVirtualHost
rpm -V
service vsftpd status
10. 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.
chmod 701
yum install mod_ssl squid
/media/repodata
iptables -F
11. The simplest way to install Apache
yum install httpd
rpm -V
lvextend -L4G /dev/rootvg/tmplv
fdisk -l
12. 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 --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
elinks
yum install mod_ssl squid
iptables
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
chmod 701
chmod 705
elinks
resize2fs /dev/myvg/homevol
14. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
filesystem type is not ext2 or ext3
fdisk
telnetd : ALL EXCEPT 192.168.1.10
NameVirtualHost
15. When an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
dumpe2fs
service vsftpd status
First boot process
rpm -ivh --replacepkgs xxxx*
16. ____ is used for creating ext2 and ext3 file systems
/media/repodata
setsebool -P htttpd.enable.homedirs 1
mke2fs
yum install httpd
17. _____ will change the size of /dev/rootvg/tmplv to 4 gig
/var/ftp/pub
lvextend -L4G /dev/rootvg/tmplv
rpm -ivh --replacepkgs xxxx*
var/ftp/pub
18. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
CustomLog
parted; check x
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
DocumentRoot
19. To list under which run levels the web service will start
parted; mklabel k
chkconfig --list httpd
htpasswd -c /etc/httpd/webpass e
-K
20. 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)
var/ftp/pub
yum install vsftpd
ls -Z
21. what utility can be used to open port 80?
system-config-firewall
/media/repodata
parted; mklabel k
fdisk -l
22. Perform a simple check of the file system. minor-num is x.
parted; check x
var/ftp/pub
system-config-firewall
yum -y update
23. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?
fdisk
/etc/httpd/conf/
(rpm -q)p file (for rpmfile name)
/media/repodata
24. After extending file system 'homevol' - unmount it and then run _____ to make the filesystem size match the new larger volume.
chkconfig httpd on
e2fsadm
resize2fs /dev/myvg/homevol
tune2fs
25. what port needs to be open to access ftp?
/media/repodata
port 21
yum install vsftpd
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)
26. Create the basic cache directories in /var/spool/squid with the following command:
grep '[.*]' server1.repo
NameVirtualHost
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
squid -z
27. httpd ___ to update the httpd package - automatically answering yes to all the questions
(rpm -q)p file (for rpmfile name)
/etc/vsftpd
ssh
yum -y update
28. If in doubt about package names - you can find them in the ...
/etc/vsftpd
/etc/init.d/httpd restart
/media/repodata
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. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
(rpm -q)p file (for rpmfile name)
NameVirtualHost
yum install httpd
30. How to make sure apache starts automatically on next reboot?
NameVirtualHost
var/ftp/pub
chkconfig httpd on
dd if=./diskboot.img of=/dev/sdc
31. 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/init.d/httpd restart
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
/etc/lvmtab
/etc/vsftpd
32. To check status of ftp daemon
showmount -e
(rpm -q)p file (for rpmfile name)
rpm -e zip
service vsftpd status
33. Virtual Host Configuration: Names the URL for the virtual host.
grep '[.*]' server1.repo
filesystem type is not ext2 or ext3
CustomLog
ServerName
34. Tthe file that might contain: oldvg - rootvg - etc.
/etc/lvmtab
chkconfig --level 35 httpd on
yum clean all
rpm -qc
35. What is the first post installation step?
First boot process
dd if=./diskboot.img of=/dev/sdc
chcon -R -t httpd_sys_content_t /home/michael/public_html
yum -y update
36. 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
ls -Z
parted; check x
chmod 705
37. Create a disk label for the partition table called k
chkconfig vsftpd on
parted; mklabel k
yum install vsftpd
iptables
38. I just finished editing my /etc/yum.repos.d/*repo file and want yum to use the new info - so I run ____
chkconfig vsftpd on
yum install httpd
yum clean all
grep '[.*]' server1.repo
39. After you edit /etc/exports - run service ___ stop...
/etc/init.d/httpd restart
nfs
chcon -R -t httpd_sys_content_t /home/michael/public_html
select (followed by the device name such as /dev/hdb)
40. Use parted to display disk geometry for /dev/hda and end up in shell
iptables -F
chcon -R -t httpd_sys_content_t /home/michael/public_html
parted /dev/hda print
ssh
41. httpd ___ shows me what config files were installed when the httpd package was installed
rpm -qc
First boot process
select (followed by the device name such as /dev/hdb)
iptables -F
42. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
chmod 701
ErrorLog
fdisk
nfs
43. rpm ____ to install kernel updates
parted /dev/hda print
-i (do not use -U or -F!)
dumpe2fs
fdisk
44. 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
5
/boot
filesystem type is not ext2 or ext3
fdisk
45. What parts of rhel6 should be installed to separate volumes?
/etc/squid/
/ (root) - /boot and linux swap
/etc/vsftpd
-l
46. What is the standard directory for file sharing with vsFTP?
AllowOverride
yum install vsftpd
NameVirtualHost
var/ftp/pub
47. Are SELinux and iptables-based firewalls are enabled by default?
Yes
CustomLog
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
parted; mklabel k
48. Where is the vsftp pub dir?
resize2fs /dev/myvg/homevol
/etc/init.d/httpd restart
/var/ftp/pub
yum clean all
49. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain
pirut
resize2fs
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
/etc/httpd/conf/
50. 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 ____
resize2fs
rpm -e zip
ls -Z
ErrorLog
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