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. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
parted /dev/hda print
iptables
e2fsadm
fdisk
2. 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
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
ls -Z
setsebool -P squid_connect_any 1
iptables -F
3. The most straightforward way to make sure Apache starts in bootlevels 3 and 5
telnetd : ALL EXCEPT 192.168.1.10
chkconfig --level 35 httpd on
showmount -a
parted; check x
4. Virtual Host Configuration: Assigns an e-mail address for the specified virtual host.
LVM
dd if=./diskboot.img of=/dev/sdc
chmod 701
ServerAdmin
5. Perform a simple check of the file system. minor-num is x.
parted; check x
rpm -qc httpd
yum install mod_ssl squid
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
6. create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
chkconfig --level 35 httpd on
parted /dev/hda print
resize2fs /dev/myvg/homevol
dd if=./diskboot.img of=/dev/sdc
7. 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.
nfs
rpm -V
filesystem type is not ext2 or ext3
fdisk -l
8. Create a disk label for the partition table called k
elinks
rpm -ivh --replacepkgs xxxx*
-i
arted; mklabel k
9. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
lvdisplay -D /dev/rootvg/tmplv
squid -z
rpm -Va
resize2fs
10. This line: in /etc/hosts.allow: telnetd : 172.16.72.0/255.255.254.0 is ____
rpm -V pam
ok
resize2fs /dev/myvg/homevol
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
11. To list under which run levels the web service will start
rpm -qc httpd
DocumentRoot
hkconfig --list httpd
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
12. List sboth the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable.
showmount -a
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
fdisk -l
chcon -R -t httpd_sys_content_t /home/michael/public_html
13. If you want to add an iptables command to forward TCP port 80 traffic to TCP port 3128 - you would use the following:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
showmount -e
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
ServerAdmin
14. rpm ____ [name of package] to verify the package - once you have manually imported the key
fdisk -l
NameVirtualHost
-K
lvdisplay -D /dev/rootvg/tmplv
15. 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 install mod_ssl squid
iptables -F
DocumentRoot
chkconfig --level 35 httpd on
16. when an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
ServerName
rpm -Va
pirut
rpm -ivh --replacepkgs xxxx*
17. logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
NameVirtualHost
5
NameVirtualHost
ErrorLog
18. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
AllowOverride
rpm -qc httpd
NameVirtualHost
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
19. 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
chmod 705
iptables
5
parted /dev/hda print
20. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
lvextend -L4G /dev/rootvg/tmplv
ServerName
--import file
wget (http://devmon.dev.schwab.com/index.html)
21. ____ is used for creating ext2 and ext3 file systems
mke2fs
--import file
ok
ServerAdmin
22. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
wget (http://devmon.dev.schwab.com/index.html)
elinks
(rpm -q)p file (for rpmfile name)
parted /dev/hda print
23. ____ is used to modify file system parameters
yum -y update httpd
tune2fs
fdisk
ServerName
24. use parted to display disk geometry for /dev/hda and end up in shell
yum install httpd
parted /dev/hda print
resize2fs
5
25. ___________ can be on a RAID device
yum install httpd
bootable partitions
squid -z
mke2fs
26. To check status of ftp daemon
-i
-l
example
service vsftpd status
27. create the basic cache directories in /var/spool/squid with the following command:
yum install mod_ssl squid
-i
yum update kernel
squid -z
28. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
showmount -a
/boot
ok
fdisk -l
29. rpm option to show me the package files
rpm -ivh --replacepkgs xxxx*
-l
setsebool -P htttpd.enable.homedirs 1
NameVirtualHost
30. use grep to count how many repositories have been configured in the file server1.repo
grep "[.*]" server1.repo
yum update kernel
ServerName
fdisk -l
31. for http - if you implement "UserDir public_html" - you need to also ____ /home/michael/public_html if you want /home/michael/public_html accessible
/boot
ServerAdmin
pirut
chmod 705
32. rpm ____ verifies all installed rpms against the rpm database
rpm -Va
mke2fs
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
DocumentRoot
33. 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
-i
CustomLog
ServerAdmin
ServerTokens OS from http.conf
34. 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
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
/etc/lvmtab
35. rpm ____ to import the rpm key for integrity checking
yum -y update httpd
yum install mod_ssl squid
NameVirtualHost
--import file
36. The main Squid configuration file is ____/squid.conf
/etc/squid/
-i (do not use -U or -F!)
ok
mke2fs
37. rpm ____ to install kernel updates
iptables -F
-i (do not use -U or -F!)
telnetd : ALL EXCEPT 192.168.1.10
yum install mod_ssl squid
38. 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
CustomLog
-K
/boot
fdisk -l
39. 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:
elinks
dumpe2fs
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
parted; check x
40. ___ will tell me if any files in the pam package have changed since it was first installed
/boot
bootable partitions
rpm -V pam
service vsftpd status
41. how to install both mod_ssl and squid packages
rpm -ivh --replacepkgs xxxx*
fdisk -l
showmount -e
yum install mod_ssl squid
42. The rpm ____ option installs the package - if it isn't already installed.
-i
yum -y update httpd
yum update kernel
resize2fs /dev/myvg/homevol
43. after extending file system "homevol" - unmount it and then run _____ to make the filesystem size match the new larger volume.
fdisk -l
squid -z
resize2fs /dev/myvg/homevol
e2fsadm
44. 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
squid -z
dumpe2fs
chcon -R -t httpd_sys_content_t /home/michael/public_html
yum install httpd
45. 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 ____
fdisk -l
ok
lvextend -L4G /dev/rootvg/tmplv
elinks
46. _____ will change the size of /dev/rootvg/tmplv to 4 gig
--import file
chmod 701
-l
lvextend -L4G /dev/rootvg/tmplv
47. rpm ____ verifies the installed zip rpm against the rpm database
lvdisplay -D /dev/rootvg/tmplv
yum update kernel
rpm -V zip
rpm -qc httpd
48. ;'___ /var/www' will tell you the ACL settings of /var/www
yum update kernel
rpm -V
ls -Z
arted; mklabel k
49. You can use the ____ tool after installation to add any package groups that you missed.
yum clean all
grep "[.*]" server1.repo
bootable partitions
pirut
50. ____ prints superblock and block group information.
ServerTokens OS from http.conf
dumpe2fs
CustomLog
NameVirtualHost
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