SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Redhat Linux Administration
Start Test
Study First
Subject
:
it-skills
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. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
dd if=./diskboot.img of=/dev/sdc
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
NameVirtualHost
example
2. 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
squid -z
-K
iptables
chcon -R -t httpd_sys_content_t /home/michael/public_html
3. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
chcon -R -t httpd_sys_content_t /home/michael/public_html
yum -y update httpd
showmount -e
setsebool -P htttpd.enable.homedirs 1
4. ___ to update the httpd package - automatically answering yes to all the questions
DocumentRoot
/boot
yum -y update httpd
--import file
5. 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:
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
fdisk -l
setsebool -P htttpd.enable.homedirs 1
LVM
6. use grep to count how many repositories have been configured in the file server1.repo
-i
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
chkconfig --level 35 httpd on
grep "[.*]" server1.repo
7. The main Squid configuration file is ____/squid.conf
fdisk
/etc/squid/
pirut
arted; mklabel k
8. 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
yum clean all
elinks
/boot
LVM
9. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
ServerName
parted; check x
yum install mod_ssl squid
wget (http://devmon.dev.schwab.com/index.html)
10. 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:
iptables
yum clean all
htpasswd -c /etc/httpd/webpass e
ServerName
11. after you edit /etc/exports - run service ___ stop...
nfs
resize2fs
arted; mklabel k
ServerName
12. You ran "e2label /dev/sda" and got "bad magic number" Why?
ServerName
rpm -V zip
filesystem type is not ext2 or ext3
iptables -F
13. ___ shows me what config files were installed when the httpd package was installed
rpm -qc httpd
CustomLog
rpm -ivh --replacepkgs xxxx*
setsebool -P squid_connect_any 1
14. 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.
dumpe2fs
lvdisplay -D /dev/rootvg/tmplv
rpm -V
/boot
15. 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 ____
showmount -e
rpm -V zip
elinks
yum clean all
16. Apache supports security by specifying active ports through the Listen and ____ directives.
DocumentRoot
pirut
NameVirtualHost
fdisk
17. 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 - and PHP. Sharing this
hkconfig --list httpd
resize2fs
ServerTokens OS from http.conf
fdisk -l
18. ___ will tell me if any files in the pam package have changed since it was first installed
rpm -V pam
htpasswd -c /etc/httpd/webpass e
-l
iptables
19. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
example
arted; mklabel k
(rpm -q)p file (for rpmfile name)
parted; check x
20. Virtual Host Configuration: Names the URL for the virtual host.
yum install mod_ssl squid
ServerName
CustomLog
lvdisplay -D /dev/rootvg/tmplv
21. ____ configuration is not available via text mode RHEL installation.
chmod 701
rpm -V zip
setsebool -P htttpd.enable.homedirs 1
LVM
22. create the basic cache directories in /var/spool/squid with the following command:
rpm -Va
ServerTokens OS from http.conf
squid -z
resize2fs
23. 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
CustomLog
e2fsadm
yum update kernel
AllowOverride
24. for http - if you implement "UserDir public_html" - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
ok
chmod 705
rpm -V pam
yum clean all
25. rpm ____ verifies the installed zip rpm against the rpm database
rpm -V zip
showmount -e
bootable partitions
lvextend -L4G /dev/rootvg/tmplv
26. use parted to display disk geometry for /dev/hda and end up in shell
LVM
parted /dev/hda print
ServerName
grep "[.*]" server1.repo
27. for http - if you implement "UserDir public_html" - you need to also ____ /home/michael if you want /home/michael/public_html accessible
/etc/lvmtab
rpm -qc httpd
chmod 701
pirut
28. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
rpm -ivh --replacepkgs xxxx*
chkconfig --level 35 httpd on
5
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
29. 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
DocumentRoot
nfs
CustomLog
30. rpm ____ verifies all installed rpms against the rpm database
rpm -Va
filesystem type is not ext2 or ext3
rpm -V
lvextend -L4G /dev/rootvg/tmplv
31. after extending file system "homevol" - unmount it and then run _____ to make the filesystem size match the new larger volume.
resize2fs /dev/myvg/homevol
resize2fs
chcon -R -t httpd_sys_content_t /home/michael/public_html
rpm -Va
32. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
fdisk
5
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
filesystem type is not ext2 or ext3
33. create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
LVM
parted; check x
dd if=./diskboot.img of=/dev/sdc
dumpe2fs
34. 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
chcon -R -t httpd_sys_content_t /home/michael/public_html
tune2fs
chmod 701
setsebool -P htttpd.enable.homedirs 1
35. rpm option to show me the package files
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
-l
showmount -e
telnetd : ALL EXCEPT 192.168.1.10
36. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
hkconfig --list httpd
fdisk
showmount -a
wget (http://devmon.dev.schwab.com/index.html)
37. 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)
showmount -a
setsebool -P squid_connect_any 1
e2fsadm
parted /dev/hda print
38. ____ is used for creating ext2 and ext3 file systems
service vsftpd status
mke2fs
arted; mklabel k
parted; check x
39. rpm ____ [name of package] to verify the package - once you have manually imported the key
showmount -a
-K
service vsftpd status
fdisk -l
40. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
lvdisplay -D /dev/rootvg/tmplv
rpm -ivh --replacepkgs xxxx*
ServerName
yum update kernel
41. To check status of ftp daemon
nfs
NameVirtualHost
ServerAdmin
service vsftpd status
42. 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.
dd if=./diskboot.img of=/dev/sdc
NameVirtualHost
iptables -F
fdisk
43. logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
yum clean all
squid -z
NameVirtualHost
5
44. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
ServerTokens OS from http.conf
ServerAdmin
showmount -e
squid -z
45. ___________ can be on a RAID device
yum install httpd
showmount -a
bootable partitions
e2fsadm
46. The rpm ____ option installs the package - if it isn't already installed.
-i
pirut
select (followed by the device name such as /dev/hdb)
--import file
47. Create a disk label for the partition table called k
-i (do not use -U or -F!)
DocumentRoot
htpasswd -c /etc/httpd/webpass e
arted; mklabel k
48. ____ is used to modify file system parameters
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
tune2fs
squid -z
rpm -V
49. 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
DocumentRoot
rpm -V
showmount -a
setsebool -P squid_connect_any 1
50. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
fdisk -l
yum install httpd
(rpm -q)p file (for rpmfile name)
iptables
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