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. 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
parted; check x
parted /dev/hda print
NameVirtualHost
telnetd : ALL EXCEPT 192.168.1.10
2. 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 -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
rpm -qc httpd
CustomLog
parted /dev/hda print
3. ___ to update the httpd package - automatically answering yes to all the questions
resize2fs
chcon -R -t httpd_sys_content_t /home/michael/public_html
yum install mod_ssl squid
yum -y update httpd
4. ____ prints superblock and block group information.
ls -Z
showmount -e
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
dumpe2fs
5. 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
select (followed by the device name such as /dev/hdb)
telnetd : ALL EXCEPT 192.168.1.10
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
iptables
6. after extending file system "homevol" - unmount it and then run _____ to make the filesystem size match the new larger volume.
resize2fs
yum update kernel
resize2fs /dev/myvg/homevol
filesystem type is not ext2 or ext3
7. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
resize2fs
NameVirtualHost
ServerAdmin
-i
8. 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
dd if=./diskboot.img of=/dev/sdc
iptables
squid -z
parted /dev/hda print
9. 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
rpm -qc httpd
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
bootable partitions
10. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
wget (http://devmon.dev.schwab.com/index.html)
grep "[.*]" server1.repo
nfs
11. ____ can expand and shrink ext2 and ext3 file systems
resize2fs
chcon -R -t httpd_sys_content_t /home/michael/public_html
ServerTokens OS from http.conf
pirut
12. rpm option to show me the package files
-l
squid -z
resize2fs /dev/myvg/homevol
iptables -F
13. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
yum clean all
AllowOverride
(rpm -q)p file (for rpmfile name)
yum install httpd
14. rpm ____ to install kernel updates
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
NameVirtualHost
fdisk -l
-i (do not use -U or -F!)
15. logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
rpm -Va
5
/etc/squid/
yum clean all
16. To list under which run levels the web service will start
fdisk
setsebool -P squid_connect_any 1
hkconfig --list httpd
ok
17. rpm ____ verifies the installed zip rpm against the rpm database
/boot
rpm -V zip
(rpm -q)p file (for rpmfile name)
/etc/squid/
18. when an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
rpm -V pam
rpm -ivh --replacepkgs xxxx*
example
chmod 701
19. Create a disk label for the partition table called k
AllowOverride
arted; mklabel k
setsebool -P htttpd.enable.homedirs 1
bootable partitions
20. Virtual Host Configuration: Names the URL for the virtual host.
wget (http://devmon.dev.schwab.com/index.html)
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
ServerName
showmount -a
21. ____.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.
rpm -V pam
example
resize2fs /dev/myvg/homevol
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
22. The main Squid configuration file is ____/squid.conf
LVM
/etc/squid/
rpm -V pam
fdisk -l
23. 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.
rpm -V
parted /dev/hda print
hkconfig --list httpd
5
24. Apache supports security by specifying active ports through the Listen and ____ directives.
NameVirtualHost
rpm -ivh --replacepkgs xxxx*
fdisk -l
rpm -V pam
25. ____ configuration is not available via text mode RHEL installation.
elinks
lvextend -L4G /dev/rootvg/tmplv
LVM
telnetd : ALL EXCEPT 192.168.1.10
26. You ran "e2label /dev/sda" and got "bad magic number" Why?
resize2fs /dev/myvg/homevol
rpm -ivh --replacepkgs xxxx*
rpm -V zip
filesystem type is not ext2 or ext3
27. The rpm ____ option installs the package - if it isn't already installed.
example
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
chkconfig --level 35 httpd on
-i
28. You can use the ____ tool after installation to add any package groups that you missed.
htpasswd -c /etc/httpd/webpass e
pirut
NameVirtualHost
fdisk -l
29. ___ shows me what config files were installed when the httpd package was installed
setsebool -P squid_connect_any 1
rpm -qc httpd
ServerTokens OS from http.conf
rpm -ivh --replacepkgs xxxx*
30. how to install both mod_ssl and squid packages
example
lvdisplay -D /dev/rootvg/tmplv
yum install mod_ssl squid
telnetd : ALL EXCEPT 192.168.1.10
31. To select a different device without having to restart parted - use the ____ command . Then - you can view its partition table or configure it.
(rpm -q)p file (for rpmfile name)
select (followed by the device name such as /dev/hdb)
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
5
32. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
yum clean all
rpm -ivh --replacepkgs xxxx*
bootable partitions
showmount -a
33. 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
--import file
/boot
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
arted; mklabel k
34. ___ will tell me if any files in the pam package have changed since it was first installed
rpm -V pam
service vsftpd status
-l
LVM
35. 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
filesystem type is not ext2 or ext3
rpm -qc httpd
AllowOverride
iptables
36. after you edit /etc/exports - run service ___ stop...
chkconfig --level 35 httpd on
--import file
nfs
rpm -V pam
37. rpm ____ [name of package] to verify the package - once you have manually imported the key
/etc/squid/
-K
example
wget (http://devmon.dev.schwab.com/index.html)
38. rpm ____ verifies all installed rpms against the rpm database
yum install httpd
yum clean all
DocumentRoot
rpm -Va
39. Virtual Host Configuration: Sets a root directory for the virtual host.
iptables
DocumentRoot
telnetd : ALL EXCEPT 192.168.1.10
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
40. 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
showmount -e
ServerTokens OS from http.conf
lvdisplay -D /dev/rootvg/tmplv
-i
41. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
ErrorLog
showmount -e
e2fsadm
lvdisplay -D /dev/rootvg/tmplv
42. for http - if you implement "UserDir public_html" - you need to also ____ /home/michael if you want /home/michael/public_html accessible
fdisk -l
resize2fs /dev/myvg/homevol
iptables
chmod 701
43. 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 ____
ServerTokens OS from http.conf
fdisk -l
resize2fs
elinks
44. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
iptables -F
NameVirtualHost
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
lvdisplay -D /dev/rootvg/tmplv
45. 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:
htpasswd -c /etc/httpd/webpass e
iptables -F
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
46. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
DocumentRoot
elinks
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
chkconfig --level 35 httpd on
47. use grep to count how many repositories have been configured in the file server1.repo
bootable partitions
iptables
resize2fs /dev/myvg/homevol
grep "[.*]" server1.repo
48. ___________ can be on a RAID device
bootable partitions
service vsftpd status
iptables -F
yum install mod_ssl squid
49. 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
yum -y update httpd
bootable partitions
service vsftpd status
50. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
lvdisplay -D /dev/rootvg/tmplv
rpm -V pam
/etc/lvmtab
dd if=./diskboot.img of=/dev/sdc
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