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