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: 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)
iptables -F
CustomLog
select (followed by the device name such as /dev/hdb)
example
2. 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
htpasswd -c /etc/httpd/webpass e
telnetd : ALL EXCEPT 192.168.1.10
chkconfig --level 35 httpd on
yum update kernel
3. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
setsebool -P htttpd.enable.homedirs 1
filesystem type is not ext2 or ext3
ServerAdmin
ls -Z
4. Run the ____ command to find the device associated with the USB key.
elinks
fdisk -l
htpasswd -c /etc/httpd/webpass e
pirut
5. _____ will change the size of /dev/rootvg/tmplv to 4 gig
arted; mklabel k
lvextend -L4G /dev/rootvg/tmplv
chkconfig --level 35 httpd on
resize2fs
6. ____ is used to modify file system parameters
CustomLog
grep "[.*]" server1.repo
tune2fs
resize2fs
7. 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
rpm -V zip
yum install httpd
rpm -V pam
telnetd : ALL EXCEPT 192.168.1.10
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
(rpm -q)p file (for rpmfile name)
rpm -V
ErrorLog
/boot
9. 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)
rpm -V pam
setsebool -P squid_connect_any 1
showmount -e
10. rpm ____ to import the rpm key for integrity checking
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
iptables
--import file
mke2fs
11. ;'___ /var/www' will tell you the ACL settings of /var/www
yum install httpd
wget (http://devmon.dev.schwab.com/index.html)
ls -Z
LVM
12. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
grep "[.*]" server1.repo
resize2fs /dev/myvg/homevol
wget (http://devmon.dev.schwab.com/index.html)
13. 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
ErrorLog
elinks
tune2fs
ServerTokens OS from http.conf
14. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
fdisk
fdisk -l
elinks
chkconfig --level 35 httpd on
15. rpm ____ verifies the installed zip rpm against the rpm database
ServerName
service vsftpd status
rpm -V zip
NameVirtualHost
16. logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
showmount -a
5
parted /dev/hda print
CustomLog
17. 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
service vsftpd status
rpm -V
AllowOverride
chcon -R -t httpd_sys_content_t /home/michael/public_html
18. This line: in /etc/hosts.allow: telnetd : 172.16.72.0/255.255.254.0 is ____
e2fsadm
fdisk -l
chkconfig --level 35 httpd on
ok
19. 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)
ls -Z
yum clean all
setsebool -P htttpd.enable.homedirs 1
20. use parted to display disk geometry for /dev/hda and end up in shell
telnetd : ALL EXCEPT 192.168.1.10
/boot
parted /dev/hda print
setsebool -P squid_connect_any 1
21. ___ to update the httpd package - automatically answering yes to all the questions
ls -Z
yum -y update httpd
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
pirut
22. You ran "e2label /dev/sda" and got "bad magic number" Why?
rpm -qc httpd
ok
filesystem type is not ext2 or ext3
-l
23. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
parted /dev/hda print
ls -Z
chkconfig --level 35 httpd on
(rpm -q)p file (for rpmfile name)
24. 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 ____
pirut
/etc/lvmtab
setsebool -P htttpd.enable.homedirs 1
elinks
25. 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)
rpm -V zip
htpasswd -c /etc/httpd/webpass e
pirut
26. after extending file system "homevol" - unmount it and then run _____ to make the filesystem size match the new larger volume.
rpm -V zip
iptables
resize2fs /dev/myvg/homevol
pirut
27. Apache supports security by specifying active ports through the Listen and ____ directives.
NameVirtualHost
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
yum update kernel
parted; check x
28. 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)
ServerName
rpm -qc httpd
e2fsadm
rpm -Va
29. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
squid -z
ErrorLog
telnetd : ALL EXCEPT 192.168.1.10
--import file
30. ____ configuration is not available via text mode RHEL installation.
LVM
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
rpm -V
-K
31. ____.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.
/etc/lvmtab
--import file
example
rpm -V pam
32. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
chmod 705
rpm -V zip
setsebool -P htttpd.enable.homedirs 1
fdisk -l
33. after you edit /etc/exports - run service ___ stop...
chmod 701
hkconfig --list httpd
nfs
dd if=./diskboot.img of=/dev/sdc
34. ____ is used for creating ext2 and ext3 file systems
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
parted; check x
mke2fs
--import file
35. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
NameVirtualHost
wget (http://devmon.dev.schwab.com/index.html)
-i (do not use -U or -F!)
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
36. Virtual Host Configuration: Sets a root directory for the virtual host.
example
5
hkconfig --list httpd
DocumentRoot
37. rpm ____ to install kernel updates
mke2fs
rpm -V pam
-i (do not use -U or -F!)
iptables
38. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
-i
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
parted; check x
NameVirtualHost
39. The simplest way to install Apache
grep "[.*]" server1.repo
rpm -ivh --replacepkgs xxxx*
yum install httpd
ServerAdmin
40. Virtual Host Configuration: Names the URL for the virtual host.
ls -Z
-K
ServerName
grep "[.*]" server1.repo
41. 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:
e2fsadm
htpasswd -c /etc/httpd/webpass e
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
bootable partitions
42. Perform a simple check of the file system. minor-num is x.
tune2fs
rpm -Va
parted; check x
ServerAdmin
43. ____ prints superblock and block group information.
yum -y update httpd
dumpe2fs
example
LVM
44. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
LVM
(rpm -q)p file (for rpmfile name)
ServerName
showmount -a
45. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
ServerAdmin
chkconfig --level 35 httpd on
filesystem type is not ext2 or ext3
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
46. ____ can expand and shrink ext2 and ext3 file systems
ls -Z
chmod 705
resize2fs
tune2fs
47. rpm ____ verifies all installed rpms against the rpm database
ls -Z
setsebool -P squid_connect_any 1
showmount -e
rpm -Va
48. 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:
rpm -V pam
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
yum update kernel
-i (do not use -U or -F!)
49. The main Squid configuration file is ____/squid.conf
/etc/squid/
rpm -V pam
LVM
dd if=./diskboot.img of=/dev/sdc
50. You can use the ____ tool after installation to add any package groups that you missed.
/etc/squid/
rpm -V
iptables
pirut
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