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. 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.
-i
rpm -V
squid -z
showmount -e
2. rpm ____ verifies the installed zip rpm against the rpm database
rpm -V zip
ls -Z
NameVirtualHost
rpm -ivh --replacepkgs xxxx*
3. 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
ServerTokens OS from http.conf
ServerAdmin
parted; check x
telnetd : ALL EXCEPT 192.168.1.10
4. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
/boot
setsebool -P squid_connect_any 1
lvdisplay -D /dev/rootvg/tmplv
squid -z
5. 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)
ls -Z
setsebool -P htttpd.enable.homedirs 1
CustomLog
fdisk -l
6. 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
/etc/lvmtab
AllowOverride
chcon -R -t httpd_sys_content_t /home/michael/public_html
yum install mod_ssl squid
7. 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:
pirut
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
dumpe2fs
/etc/squid/
8. You can check the status of your share. If it's working - you should see the contents of the /etc/exports directory when you run the following command:
showmount -e
dumpe2fs
ErrorLog
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
9. 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 ____
elinks
ServerName
dd if=./diskboot.img of=/dev/sdc
htpasswd -c /etc/httpd/webpass e
10. _____ will change the size of /dev/rootvg/tmplv to 4 gig
fdisk
showmount -e
rpm -Va
lvextend -L4G /dev/rootvg/tmplv
11. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
bootable partitions
CustomLog
DocumentRoot
ServerAdmin
12. The rpm ____ option installs the package - if it isn't already installed.
-i
rpm -Va
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
13. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
parted /dev/hda print
ErrorLog
arted; mklabel k
yum -y update httpd
14. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
NameVirtualHost
iptables
parted /dev/hda print
setsebool -P htttpd.enable.homedirs 1
15. 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
fdisk
telnetd : ALL EXCEPT 192.168.1.10
/etc/lvmtab
e2fsadm
16. 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
yum update kernel
arted; mklabel k
parted /dev/hda print
17. for http - if you implement "UserDir public_html" - you need to also ____ /home/michael if you want /home/michael/public_html accessible
AllowOverride
chmod 701
mke2fs
wget (http://devmon.dev.schwab.com/index.html)
18. how to install both mod_ssl and squid packages
showmount -a
ErrorLog
yum install mod_ssl squid
ls -Z
19. Virtual Host Configuration: Sets a root directory for the virtual host.
ServerTokens OS from http.conf
DocumentRoot
yum install httpd
yum install mod_ssl squid
20. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
-K
tune2fs
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
21. This line: in /etc/hosts.allow: telnetd : 172.16.72.0/255.255.254.0 is ____
ok
mke2fs
ls -Z
--import file
22. 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.
yum -y update httpd
5
lvextend -L4G /dev/rootvg/tmplv
iptables -F
23. ___ shows me what config files were installed when the httpd package was installed
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
rpm -qc httpd
resize2fs
-K
24. To list under which run levels the web service will start
-l
iptables
hkconfig --list httpd
bootable partitions
25. The main Squid configuration file is ____/squid.conf
showmount -e
ServerTokens OS from http.conf
showmount -a
/etc/squid/
26. ;'___ /var/www' will tell you the ACL settings of /var/www
chmod 701
showmount -e
squid -z
ls -Z
27. You can use the ____ tool after installation to add any package groups that you missed.
pirut
AllowOverride
yum clean all
showmount -e
28. rpm ____ to install kernel updates
-i (do not use -U or -F!)
nfs
DocumentRoot
select (followed by the device name such as /dev/hdb)
29. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
-K
rpm -Va
select (followed by the device name such as /dev/hdb)
wget (http://devmon.dev.schwab.com/index.html)
30. Create a disk label for the partition table called k
parted; check x
wget (http://devmon.dev.schwab.com/index.html)
yum clean all
arted; mklabel k
31. after extending file system "homevol" - unmount it and then run _____ to make the filesystem size match the new larger volume.
e2fsadm
resize2fs /dev/myvg/homevol
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
ServerAdmin
32. ____ configuration is not available via text mode RHEL installation.
LVM
lvdisplay -D /dev/rootvg/tmplv
chcon -R -t httpd_sys_content_t /home/michael/public_html
fdisk -l
33. rpm ____ [name of package] to verify the package - once you have manually imported the key
mke2fs
iptables
-K
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
34. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
fdisk -l
nfs
NameVirtualHost
htpasswd -c /etc/httpd/webpass e
35. To check status of ftp daemon
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
service vsftpd status
yum update kernel
LVM
36. 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)
bootable partitions
-K
e2fsadm
NameVirtualHost
37. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
chkconfig --level 35 httpd on
squid -z
tune2fs
bootable partitions
38. The file that might contain: oldvg - rootvg - etc.
chmod 701
rpm -V pam
dumpe2fs
/etc/lvmtab
39. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
setsebool -P htttpd.enable.homedirs 1
--import file
fdisk
mke2fs
40. 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
dumpe2fs
/boot
ServerTokens OS from http.conf
rpm -qc httpd
41. rpm option to show me the package files
chmod 701
ServerAdmin
-l
-K
42. 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
showmount -e
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
yum update kernel
lvextend -L4G /dev/rootvg/tmplv
43. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
e2fsadm
yum install mod_ssl squid
NameVirtualHost
rpm -V
44. The simplest way to install Apache
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
yum install httpd
/etc/lvmtab
rpm -qc httpd
45. ____ is used to modify file system parameters
bootable partitions
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
tune2fs
setsebool -P squid_connect_any 1
46. 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
5
yum update kernel
lvdisplay -D /dev/rootvg/tmplv
chcon -R -t httpd_sys_content_t /home/michael/public_html
47. Virtual Host Configuration: Names the URL for the virtual host.
-l
ServerName
resize2fs /dev/myvg/homevol
nfs
48. rpm ____ verifies all installed rpms against the rpm database
rpm -Va
example
showmount -e
-i (do not use -U or -F!)
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
dumpe2fs
setsebool -P squid_connect_any 1
dd if=./diskboot.img of=/dev/sdc
NameVirtualHost
50. after you edit /etc/exports - run service ___ stop...
nfs
ServerAdmin
AllowOverride
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
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