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: in /etc/hosts.allow: telnetd : 172.16.72.0/255.255.254.0 is ____
ok
e2fsadm
showmount -a
-i (do not use -U or -F!)
2. ____ can expand and shrink ext2 and ext3 file systems
ServerName
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
fdisk -l
resize2fs
3. The file that might contain: oldvg - rootvg - etc.
CustomLog
fdisk -l
select (followed by the device name such as /dev/hdb)
/etc/lvmtab
4. Apache supports security by specifying active ports through the Listen and ____ directives.
ok
NameVirtualHost
--import file
DocumentRoot
5. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
dd if=./diskboot.img of=/dev/sdc
yum install httpd
chmod 701
NameVirtualHost
6. 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
NameVirtualHost
iptables
dd if=./diskboot.img of=/dev/sdc
e2fsadm
7. 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)
telnetd : ALL EXCEPT 192.168.1.10
e2fsadm
yum install mod_ssl squid
-i (do not use -U or -F!)
8. for http - if you implement "UserDir public_html" - you need to also ____ /home/michael if you want /home/michael/public_html accessible
NameVirtualHost
ErrorLog
LVM
chmod 701
9. 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)
CustomLog
parted; check x
yum install httpd
10. after extending file system "homevol" - unmount it and then run _____ to make the filesystem size match the new larger volume.
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
telnetd : ALL EXCEPT 192.168.1.10
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
resize2fs /dev/myvg/homevol
11. To check status of ftp daemon
-i (do not use -U or -F!)
service vsftpd status
-l
lvdisplay -D /dev/rootvg/tmplv
12. 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:
htpasswd -c /etc/httpd/webpass e
nfs
chkconfig --level 35 httpd on
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
13. ____ is used to modify file system parameters
telnetd : ALL EXCEPT 192.168.1.10
tune2fs
-K
DocumentRoot
14. for http - if you implement "UserDir public_html" - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
chmod 705
fdisk -l
rpm -V zip
showmount -e
15. You can use the ____ tool after installation to add any package groups that you missed.
pirut
NameVirtualHost
-l
chkconfig --level 35 httpd on
16. 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:
bootable partitions
NameVirtualHost
NameVirtualHost
showmount -e
17. rpm option to show me the package files
parted /dev/hda print
-l
rpm -V
ok
18. 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.
chmod 701
yum -y update httpd
rpm -Va
rpm -V
19. 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)
CustomLog
bootable partitions
yum install mod_ssl squid
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
20. rpm ____ to import the rpm key for integrity checking
mke2fs
service vsftpd status
bootable partitions
--import file
21. after you edit /etc/exports - run service ___ stop...
yum install mod_ssl squid
nfs
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
lvdisplay -D /dev/rootvg/tmplv
22. ____ prints superblock and block group information.
dumpe2fs
chmod 701
telnetd : ALL EXCEPT 192.168.1.10
parted; check x
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
yum update kernel
ServerTokens OS from http.conf
fdisk -l
setsebool -P htttpd.enable.homedirs 1
24. ____ configuration is not available via text mode RHEL installation.
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
LVM
/boot
yum install httpd
25. 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
fdisk -l
fdisk
ls -Z
26. Perform a simple check of the file system. minor-num is x.
resize2fs
parted; check x
squid -z
rpm -qc httpd
27. create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
NameVirtualHost
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
dd if=./diskboot.img of=/dev/sdc
iptables
28. use parted to display disk geometry for /dev/hda and end up in shell
wget (http://devmon.dev.schwab.com/index.html)
DocumentRoot
ServerName
parted /dev/hda print
29. 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.
iptables -F
example
arted; mklabel k
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
30. 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
iptables -F
setsebool -P squid_connect_any 1
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
31. use grep to count how many repositories have been configured in the file server1.repo
ls -Z
-i
grep "[.*]" server1.repo
fdisk
32. The rpm ____ option installs the package - if it isn't already installed.
/etc/lvmtab
chmod 705
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
-i
33. ___ to update the httpd package - automatically answering yes to all the questions
yum -y update httpd
/boot
select (followed by the device name such as /dev/hdb)
e2fsadm
34. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
elinks
ErrorLog
/etc/squid/
yum update kernel
35. rpm ____ [name of package] to verify the package - once you have manually imported the key
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
-K
fdisk -l
yum install mod_ssl squid
36. ____.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.
yum install httpd
ServerTokens OS from http.conf
example
arted; mklabel k
37. ;'___ /var/www' will tell you the ACL settings of /var/www
ls -Z
ServerName
telnetd : ALL EXCEPT 192.168.1.10
example
38. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
pirut
mke2fs
(rpm -q)p file (for rpmfile name)
resize2fs
39. rpm ____ verifies the installed zip rpm against the rpm database
rpm -V pam
-i (do not use -U or -F!)
LVM
rpm -V zip
40. logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
bootable partitions
lvdisplay -D /dev/rootvg/tmplv
5
fdisk
41. 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
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
setsebool -P squid_connect_any 1
hkconfig --list httpd
fdisk -l
42. 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:
ServerAdmin
lvdisplay -D /dev/rootvg/tmplv
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
elinks
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 ____
/boot
ServerName
yum -y update httpd
elinks
44. ___________ can be on a RAID device
dd if=./diskboot.img of=/dev/sdc
(rpm -q)p file (for rpmfile name)
setsebool -P htttpd.enable.homedirs 1
bootable partitions
45. how to install both mod_ssl and squid packages
yum install mod_ssl squid
telnetd : ALL EXCEPT 192.168.1.10
htpasswd -c /etc/httpd/webpass e
rpm -ivh --replacepkgs xxxx*
46. Virtual Host Configuration: Sets a root directory for the virtual host.
DocumentRoot
showmount -e
chmod 705
yum update kernel
47. ___ shows me what config files were installed when the httpd package was installed
lvextend -L4G /dev/rootvg/tmplv
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
rpm -qc httpd
iptables -F
48. To verify integrity of an rpm package - ____/rpm-gpg/RPM-GPG-KEY-redhat-release
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
squid -z
mke2fs
49. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
rpm -qc httpd
tune2fs
chkconfig --level 35 httpd on
chmod 701
50. rpm ____ to install kernel updates
chmod 701
-K
select (followed by the device name such as /dev/hdb)
-i (do not use -U or -F!)
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