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.
yum install vsftpd
resize2fs /dev/myvg/homevol
select (followed by the device name such as /dev/hdb)
/var/ftp/pub
2. How do you restart the apache web server?
mke2fs
AllowOverride
chmod 701
/etc/init.d/httpd restart
3. 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
/etc/lvmtab
elinks
yum update kernel
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
4. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
fdisk -l
NameVirtualHost
service vsftpd status
ls -Z
5. 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 -qc
lvdisplay -D /dev/rootvg/tmplv
telnetd : ALL EXCEPT 192.168.1.10
iptables
6. rpm ____ verifies the installed zip rpm against the rpm database
rpm -V zip
chkconfig httpd on
fdisk -l
/etc/squid/
7. If rhel6 is in the /media directory - where is the XML file on that DVD with a database of packages and package groups?
/boot
ServerTokens
/media/repodata
setup
8. To check status of ftp daemon
service vsftpd status
-l
First boot process
parted; check x
9. After you edit /etc/exports - run service ___ stop...
ls -Z
rpm -V
wget (http://devmon.dev.schwab.com/index.html)
nfs
10. 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
e2fsadm
AllowOverride
yum update kernel
select (followed by the device name such as /dev/hdb)
11. Where is the vsftp pub dir?
/var/ftp/pub
fdisk -l
NameVirtualHost
ServerName
12. For http - if you implement 'UserDir public_html' - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
port 21
/var/ftp/pub
chmod 705
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
13. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
LVM
lvdisplay -D /dev/rootvg/tmplv
resize2fs
ServerName
14. Apache supports security by specifying active ports through the Listen and ____ directives.
NameVirtualHost
e2fsadm
chkconfig vsftpd on
lvdisplay -D /dev/rootvg/tmplv
15. rpm ____ [name of package] to verify the package - once you have manually imported the key
ls -Z
/media/repodata
-K
rpm -V
16. 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
showmount -e
iptables -F
chkconfig httpd on
17. Where is the config dir for vsftpd?
yum clean all
/ (root) - /boot and linux swap
/etc/vsftpd
e2fsadm
18. Logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
ServerTokens
-i
5
chkconfig vsftpd on
19. What is the standard directory for file sharing with vsFTP?
(rpm -q)p file (for rpmfile name)
/etc/init.d/vsftpd start
var/ftp/pub
chkconfig vsftpd on
20. ____ is used to modify file system parameters
-l
iptables
rpm -V zip
tune2fs
21. 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*
/etc/vsftpd
port 21
NameVirtualHost
22. The main Squid configuration file is ____/squid.conf
NameVirtualHost
/var/ftp/pub
wget (http://devmon.dev.schwab.com/index.html)
/etc/squid/
23. 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 ____
rpm -e zip
e2fsadm
Yes
chmod 701
24. httpd ___ to update the httpd package - automatically answering yes to all the questions
telnetd : ALL EXCEPT 192.168.1.10
parted; check x
yum -y update
elinks
25. Run the ____ command to find the device associated with the USB key.
/etc/init.d/vsftpd start
iptables
fdisk -l
yum install httpd
26. ____ is used for creating ext2 and ext3 file systems
setsebool -P htttpd.enable.homedirs 1
mke2fs
ls -Z
select (followed by the device name such as /dev/hdb)
27. 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:
grep '[.*]' server1.repo
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
ServerTokens
system-config-firewall
28. What service is allowed through the default firewall?
iptables
NameVirtualHost
ssh
chkconfig --list httpd
29. To list under which run levels the web service will start
ssh
/etc/squid/
chkconfig --list httpd
DocumentRoot
30. what port needs to be open to access ftp?
lvextend -L4G /dev/rootvg/tmplv
port 21
ls -Z
elinks
31. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
showmount -e
ServerName
chmod 705
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
32. How to install vsftpd?
--import file
yum install httpd
yum install vsftpd
tune2fs
33. 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
ServerName
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
rpm -Va
chkconfig --level 35 httpd on
34. What command starts the same menu as the text-mode First Boot process?
rpm -e zip
setup
ServerName
ServerAdmin
35. You can use the ____ tool after installation to add any package groups that you missed.
tune2fs
pirut
dd if=./diskboot.img of=/dev/sdc
setsebool -P squid_connect_any 1
36. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
AllowOverride
--import file
ErrorLog
parted; mklabel k
37. rpm ____ to import the rpm key for integrity checking
var/www/html
--import file
e2fsadm
var/ftp/pub
38. The rpm ____ option installs the package - if it isn't already installed.
setup
parted; check x
lvdisplay -D /dev/rootvg/tmplv
-i
39. 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
chkconfig httpd on
e2fsadm
resize2fs
chcon -R -t httpd_sys_content_t /home/michael/public_html
40. How to install apache?
chkconfig httpd on
yum install httpd
ssh
iptables -F
41. I ran 'e2label /dev/sda' and got 'bad magic number' Why?
port 21
service vsftpd status
filesystem type is not ext2 or ext3
/etc/httpd/conf/
42. To install both mod_ssl and squid packages
rpm -e zip
lvdisplay -D /dev/rootvg/tmplv
chmod 701
yum install mod_ssl squid
43. 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.
system-config-firewall
NameVirtualHost
iptables -F
rpm -V
44. Tthe file that might contain: oldvg - rootvg - etc.
yum install mod_ssl squid
/etc/lvmtab
telnetd : ALL EXCEPT 192.168.1.10
rpm -V
45. How to start the vsftp service?
(rpm -q)p file (for rpmfile name)
/etc/init.d/vsftpd start
chkconfig httpd on
parted; mklabel k
46. Virtual Host Configuration: Sets a root directory for the virtual host.
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)
mke2fs
DocumentRoot
/etc/vsftpd
47. httpd ___ shows me what config files were installed when the httpd package was installed
nfs
system-config-firewall
telnetd : ALL EXCEPT 192.168.1.10
rpm -qc
48. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
LVM
/etc/vsftpd
wget (http://devmon.dev.schwab.com/index.html)
-i (do not use -U or -F!)
49. The simplest way to install Apache
/etc/vsftpd
ssh
yum install httpd
showmount -e
50. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
Yes
var/www/html
setsebool -P htttpd.enable.homedirs 1
/etc/init.d/httpd start
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