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. ___________ can be on a RAID device
bootable partitions
elinks
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
yum clean all
2. use grep to count how many repositories have been configured in the file server1.repo
bootable partitions
grep "[.*]" server1.repo
htpasswd -c /etc/httpd/webpass e
filesystem type is not ext2 or ext3
3. 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
setsebool -P squid_connect_any 1
filesystem type is not ext2 or ext3
LVM
wget (http://devmon.dev.schwab.com/index.html)
4. rpm ____ [name of package] to verify the package - once you have manually imported the key
setsebool -P htttpd.enable.homedirs 1
LVM
chkconfig --level 35 httpd on
-K
5. _____ will change the size of /dev/rootvg/tmplv to 4 gig
lvextend -L4G /dev/rootvg/tmplv
resize2fs
ServerAdmin
parted /dev/hda print
6. This line placed in /etc/hosts.deny denies all services except TFTP to computers in the example.org domain
rpm -ivh --replacepkgs xxxx*
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
setsebool -P htttpd.enable.homedirs 1
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
7. 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
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
setsebool -P htttpd.enable.homedirs 1
yum update kernel
showmount -a
8. SELinux must be configured to Allow HTTPD To Read Home Directories. (Alternatively - activate the httpd_enable_homedirs boolean with the __ command.)
chmod 705
ok
parted /dev/hda print
setsebool -P htttpd.enable.homedirs 1
9. 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:
rpm -V pam
chkconfig --level 35 httpd on
htpasswd -c /etc/httpd/webpass e
chmod 705
10. ___ will tell me if any files in the pam package have changed since it was first installed
--import file
nfs
rpm -V pam
wget (http://devmon.dev.schwab.com/index.html)
11. 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
CustomLog
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
showmount -e
12. The simplest way to install Apache
--import file
ServerTokens OS from http.conf
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 3128
yum install httpd
13. ___ to update the httpd package - automatically answering yes to all the questions
-i (do not use -U or -F!)
-K
elinks
yum -y update httpd
14. after you edit /etc/exports - run service ___ stop...
nfs
dumpe2fs
-i (do not use -U or -F!)
filesystem type is not ext2 or ext3
15. 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 ____
select (followed by the device name such as /dev/hdb)
elinks
(rpm -q)p file (for rpmfile name)
grep "[.*]" server1.repo
16. ______ will show me volume info including vg - size - etc of /dev/rootvg/tmplv
chkconfig --level 35 httpd on
ErrorLog
lvdisplay -D /dev/rootvg/tmplv
/etc/lvmtab
17. Create a disk label for the partition table called k
rpm -V
resize2fs
arted; mklabel k
tune2fs
18. when an rpm install fails for xxxx because the same version is already apparently installed - run ____ to just install it all again
select (followed by the device name such as /dev/hdb)
iptables
ServerAdmin
rpm -ivh --replacepkgs xxxx*
19. To check status of ftp daemon
nfs
parted /dev/hda print
--import file
service vsftpd status
20. rpm ____ verifies all installed rpms against the rpm database
rpm -Va
AllowOverride
tune2fs
bootable partitions
21. create a usb boot disk if the usb stick is /dev/sdc and the file you need is in your present directory
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
/etc/lvmtab
dd if=./diskboot.img of=/dev/sdc
-K
22. Virtual Host Configuration: Creates an error log; the location is based on the DocumentRoot.
ErrorLog
yum clean all
DocumentRoot
resize2fs
23. 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
ServerAdmin
lvdisplay -D /dev/rootvg/tmplv
iptables
pirut
24. create the basic cache directories in /var/spool/squid with the following command:
htpasswd -c /etc/httpd/webpass e
squid -z
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
-i (do not use -U or -F!)
25. ___ shows me what config files were installed when the httpd package was installed
tune2fs
rpm -qc httpd
rpm -Va
wget (http://devmon.dev.schwab.com/index.html)
26. Run the ____ command to find the device associated with the USB key.
fdisk -l
telnetd : ALL EXCEPT 192.168.1.10
(rpm -q)p file (for rpmfile name)
iptables
27. Virtual Host Configuration: Sets a root directory for the virtual host.
setsebool -P htttpd.enable.homedirs 1
DocumentRoot
rpm -Va
wget (http://devmon.dev.schwab.com/index.html)
28. how to install both mod_ssl and squid packages
ok
chkconfig --level 35 httpd on
DocumentRoot
yum install mod_ssl squid
29. rpm option to show me the package files
chkconfig --level 35 httpd on
ErrorLog
-l
telnetd : ALL EXCEPT 192.168.1.10
30. To list under which run levels the web service will start
/etc/lvmtab
hkconfig --list httpd
tune2fs
chcon -R -t httpd_sys_content_t /home/michael/public_html
31. 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/
yum -y update httpd
rpm --import /etc/pki(/rpm-gpg/RPM-GPG-KEY-redhat-release)
telnetd : .crack.org : twist /bin/echo Sorry %c - access denied (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
32. You ran "e2label /dev/sda" and got "bad magic number" Why?
chmod 705
iptables
filesystem type is not ext2 or ext3
/etc/lvmtab
33. ____ can expand and shrink ext2 and ext3 file systems
resize2fs
NameVirtualHost
/etc/lvmtab
pirut
34. rpm ____ to install kernel updates
select (followed by the device name such as /dev/hdb)
-i (do not use -U or -F!)
resize2fs
-i
35. It's much more difficult and much more time-consuming to revise partitions with utilities such as ____ or parted after RHEL is installed.
resize2fs
wget (http://devmon.dev.schwab.com/index.html)
yum install mod_ssl squid
fdisk
36. Virtual Host Configuration: Specifies an IP address for multiple virtual hosts.
pirut
fdisk -l
NameVirtualHost
fdisk
37. use parted to display disk geometry for /dev/hda and end up in shell
LVM
tune2fs
parted /dev/hda print
ALL EXCEPT in.tftpd : .example.org (http://books24x7.com/viewer.asp?bookid=18196&chunkid=908275044)
38. The main Squid configuration file is ____/squid.conf
/etc/squid/
NameVirtualHost
rpm -V
lvdisplay -D /dev/rootvg/tmplv
39. rpm options include rpm -q [package name] or rpm -qf [path/file] or rmp -q____
LVM
(rpm -q)p file (for rpmfile name)
/etc/lvmtab
nfs
40. 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
yum -y update httpd
wget (http://devmon.dev.schwab.com/index.html)
yum update kernel
41. after extending file system "homevol" - unmount it and then run _____ to make the filesystem size match the new larger volume.
resize2fs /dev/myvg/homevol
rpm -Va
NameVirtualHost
yum clean all
42. ____ is used for creating ext2 and ext3 file systems
mke2fs
AllowOverride
pirut
rpm -V pam
43. logical partitions on a hard drive always start with number ____; on the first PATA/IDE hard drive on a PC - that is hda____.
(rpm -q)p file (for rpmfile name)
NameVirtualHost
5
resize2fs /dev/myvg/homevol
44. The rpm ____ option installs the package - if it isn't already installed.
NameVirtualHost
DocumentRoot
-i
parted /dev/hda print
45. ____ is used to modify file system parameters
fdisk
tune2fs
pirut
setsebool -P htttpd.enable.homedirs 1
46. 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
telnetd : ALL EXCEPT 192.168.1.10
AllowOverride
NameVirtualHost
resize2fs
47. You can use the ____ tool after installation to add any package groups that you missed.
wget (http://devmon.dev.schwab.com/index.html)
-i
squid -z
pirut
48. output from ____ is: Disk /dev/cciss/c0d0: 36.4 GB - 36414750720 bytes... plus listing of partitions - for each physical drive
AllowOverride
yum install httpd
setsebool -P htttpd.enable.homedirs 1
fdisk -l
49. 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:
DocumentRoot
chcon -R -u system_u /www/; chcon -R -t httpd_sys_content_t /www/
elinks
rpm -V pam
50. ___ http://devmon.dev.schwab.com/index.html will make a local copy of the index.html file from devmon
showmount -e
wget (http://devmon.dev.schwab.com/index.html)
-i (do not use -U or -F!)
setsebool -P htttpd.enable.homedirs 1
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