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. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
(rpm -q)p file (for rpmfile name)
yum -y update httpd
chkconfig --level 35 httpd on
wget (http://devmon.dev.schwab.com/index.html)
2. ;'___ /var/www' will tell you the ACL settings of /var/www
/etc/squid/
elinks
ServerName
ls -Z
3. The file that might contain: oldvg - rootvg - etc.
yum -y update httpd
/etc/lvmtab
showmount -a
arted; mklabel k
4. This line: in /etc/hosts.allow: telnetd : 172.16.72.0/255.255.254.0 is ____
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
resize2fs
/etc/lvmtab
ok
5. how to install both mod_ssl and squid packages
yum install mod_ssl squid
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
-K
chmod 705
6. ____.com - ____.net - and ____.org domains are generic domain names that can't be assigned on the Internet. You can therefore use any of these domain names on your private network.
example
pirut
select (followed by the device name such as /dev/hdb)
fdisk -l
7. 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 ____
parted /dev/hda print
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
ServerTokens OS from http.conf
elinks
8. ____ can expand and shrink ext2 and ext3 file systems
resize2fs
yum update kernel
parted /dev/hda print
wget (http://devmon.dev.schwab.com/index.html)
9. Create a disk label for the partition table called k
dd if=./diskboot.img of=/dev/sdc
/etc/squid/
arted; mklabel k
CustomLog
10. logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
iptables -F
5
rpm -ivh --replacepkgs xxxx*
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
11. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
service vsftpd status
5
chcon -R -t httpd_sys_content_t /home/michael/public_html
fdisk
12. You can use the ____ tool after installation to add any package groups that you missed.
resize2fs /dev/myvg/homevol
CustomLog
pirut
chcon -R -t httpd_sys_content_t /home/michael/public_html
13. The main Squid configuration file is ____/squid.conf
yum install mod_ssl squid
ServerName
rpm -ivh --replacepkgs xxxx*
/etc/squid/
14. 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
grep "[.*]" server1.repo
chcon -R -t httpd_sys_content_t /home/michael/public_html
nfs
service vsftpd status
15. 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
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
yum update kernel
iptables
showmount -e
16. 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:
chmod 705
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
arted; mklabel k
rpm -V
17. rpm ____ verifies the installed zip rpm against the rpm database
ServerName
hkconfig --list httpd
resize2fs /dev/myvg/homevol
rpm -V zip
18. ____ is used for creating ext2 and ext3 file systems
lvextend -L4G /dev/rootvg/tmplv
mke2fs
rpm -V
CustomLog
19. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
/boot
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
tune2fs
20. ____ is used to modify file system parameters
NameVirtualHost
tune2fs
mke2fs
yum -y update httpd
21. To check status of ftp daemon
service vsftpd status
arted; mklabel k
example
dd if=./diskboot.img of=/dev/sdc
22. 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
ok
telnetd : ALL EXCEPT 192.168.1.10
showmount -a
-l
23. ____ configuration is not available via text mode RHEL installation.
bootable partitions
elinks
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
LVM
24. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
htpasswd -c /etc/httpd/webpass e
setsebool -P squid_connect_any 1
fdisk -l
chmod 701
25. 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.
parted /dev/hda print
yum update kernel
rpm -V
ok
26. ___ to update the httpd package - automatically answering yes to all the questions
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
dd if=./diskboot.img of=/dev/sdc
yum install mod_ssl squid
yum -y update httpd
27. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
rpm -Va
lvdisplay -D /dev/rootvg/tmplv
showmount -a
rpm -V pam
28. when an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
yum update kernel
example
ServerName
rpm -ivh --replacepkgs xxxx*
29. rpm ____ verifies all installed rpms against the rpm database
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
rpm -Va
ls -Z
NameVirtualHost
30. create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
ls -Z
chkconfig --level 35 httpd on
yum install httpd
dd if=./diskboot.img of=/dev/sdc
31. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
NameVirtualHost
dd if=./diskboot.img of=/dev/sdc
showmount -e
AllowOverride
32. Run the ____ command to find the device associated with the USB key.
chcon -R -t httpd_sys_content_t /home/michael/public_html
DocumentRoot
fdisk -l
-K
33. To list under which run levels the web service will start
mke2fs
hkconfig --list httpd
htpasswd -c /etc/httpd/webpass e
/etc/lvmtab
34. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
CustomLog
lvdisplay -D /dev/rootvg/tmplv
fdisk -l
-i
35. Virtual Host Configuration: Sets a root directory for the virtual host.
yum clean all
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
DocumentRoot
-l
36. You just finished editing your /etc/yum.repos.d/*repo file and want yum to use the new info - so you run ____
iptables
bootable partitions
yum clean all
ok
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)
e2fsadm
rpm -ivh --replacepkgs xxxx*
fdisk
chkconfig --level 35 httpd on
38. after extending file system "homevol" - unmount it and then run _____ to make the filesystem size match the new larger volume.
setsebool -P squid_connect_any 1
chmod 705
parted; check x
resize2fs /dev/myvg/homevol
39. ___ shows me what config files were installed when the httpd package was installed
LVM
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
rpm -qc httpd
yum update kernel
40. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
-i (do not use -U or -F!)
ServerAdmin
parted /dev/hda print
filesystem type is not ext2 or ext3
41. use parted to display disk geometry for /dev/hda and end up in shell
iptables
rpm -V zip
yum -y update httpd
parted /dev/hda print
42. To select a different device without having to restart parted - use the ____ command . Then - you can view its partition table or configure it.
ok
NameVirtualHost
select (followed by the device name such as /dev/hdb)
DocumentRoot
43. Virtual Host Configuration: Names the URL for the virtual host.
ServerName
-l
rpm -ivh --replacepkgs xxxx*
/etc/squid/
44. 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)
-i (do not use -U or -F!)
yum clean all
telnetd : ALL EXCEPT 192.168.1.10
CustomLog
45. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
/etc/squid/
(rpm -q)p file (for rpmfile name)
resize2fs /dev/myvg/homevol
chmod 705
46. Perform a simple check of the file system. minor-num is x.
resize2fs
-i
parted; check x
yum install httpd
47. 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:
parted; check x
lvdisplay -D /dev/rootvg/tmplv
ls -Z
htpasswd -c /etc/httpd/webpass e
48. The simplest way to install Apache
resize2fs
yum install httpd
lvdisplay -D /dev/rootvg/tmplv
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
49. use grep to count how many repositories have been configured in the file server1.repo
AllowOverride
--import file
ErrorLog
grep "[.*]" server1.repo
50. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
grep "[.*]" server1.repo
setsebool -P squid_connect_any 1
telnetd : ALL EXCEPT 192.168.1.10
ErrorLog
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