SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
RHCSA Commands
Start Test
Study First
Subjects
:
certifications
,
it-skills
,
rhcsa
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. Restart vnc and persist on boot
service vncserver restart chkconfig vncserver on
# ls -l /usr/share/doc | grep httpd
# star -xattr -H=exustar -c -f=home.star /home/
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
2. Documentation about sysconfig network scripts
rpm --import [public key location]
tar cxtv
# cat /var/log/messages | grep [Ff]ailed | less
/usr/share/doc/initscripts-*/sysconfig.txt
3. Authentication related messages log
[repo identifier] name=[repo name] baseurl=[repo url] enabled = 1 gpgcheck = 1 (0 for local system) gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release -file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
yum info firefox4
/var/log/secure
rsync -a /home/test1.html root@server6.example.com:/var/pub
4. File containing information to create rpm package - RPM packages contain these files: libraries or application - any documentation - any configuration files
#virsh list
nautilus
# grep -i
.spec
5. Create a tar ball with gzip compression of the home dir
$ tar czvf home.tar.gz /home
/var/log/cron
rpm -ql vsftpd
insert as opposed to append
6. Adjust the persistent runlevel
# vi /etc/inittab change - id:3:initdefault:
[repo identifier] name=[repo name] baseurl=[repo url] enabled = 1 gpgcheck = 1 (0 for local system) gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release -file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
# yum
/etc/sysconfig/iptables
7. List installed and available packages
rhn_register
#iptables -I INPUT -p tcp --dport 21 -j Accept
rpm -ql vsftpd
yum list
8. Restart ssh services
service sshd restart
/usr/share/doc/initscripts-*/sysconfig.txt
logwatch
#iptables -I INPUT -p tcp --dport 21 -j Accept
9. Where are HTML pages hosted?
ntpdate -b instructor
/var/www/html/
# vi /etc/inittab change - id:3:initdefault:
insert as opposed to append
10. Messages related to cron log
# renice -10 proc-id
/etc/sysconfig/vncservers rpm -ql tigervnc-server
[repo identifier] name=[repo name] baseurl=[repo url] enabled = 1 gpgcheck = 1 (0 for local system) gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release -file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
/var/log/cron
11. Program to analyze standard log files and send a summary email to root
vncviewer -via student@server6 localhost:2
#rpm -qac [package name]
logwatch
.spec
12. Basic add rule for iptables not persistant unless saved with #/etc/init.d/iptables save
#iptables -I INPUT -p tcp --dport 21 -j Accept
#virsh destroy domain-id
IPtables input chain
yum list
13. Extract a star compressed file
yum install tigervnc-server
# star -x -f=home.star
nautilus
# vi /etc/inittab change - id:3:initdefault:
14. Determine which package provides SSH
/etc/services
# ls -l /usr/share/doc | grep httpd
# vi /etc/inittab change - id:3:initdefault:
yum provides "*/sbin/sshd"
15. Gets kernel version and release number
/etc/sysconfig/network
#virsh destroy domain-id
#uname -r
/etc/ssh/sshd_config
16. Redirect errors to std out
tar cxtv
ssh-keygen
2>&1
rsync -a /home/test1.html root@server6.example.com:/var/pub
17. Search for a package within all packages
#yum
tar xvzf /tmp/etc.tar.gz /etc
#rpm -qa | grep [package name]
yum update
18. Backup a home directory on desktop6 to /tmp on server6
rsync /home root@server6.example.com:/tmp
#iptables -L
#ip addr show
cat >> some_file << _EOF
19. File holding services - ports - protocols assoicated
logwatch
add/remove software GUI
#rpm -qad [package name]
/etc/services
20. Query information files with RPM
rpm -qp pkg.rpm
#rpm -qi [package name]
#yum grouplist
service sshd restart
21. Extract /tmp/etc.tar.gz to /etc
yum search firefox
yum list
2>&1
tar xvzf /tmp/etc.tar.gz /etc
22. Query configuration files with RPM
#rpm -qac [package name]
2>&1
chkconfig httpd on
#rpm -qa | grep [package name]
23. An example of searching through system logs with interpretation.
/etc/rsyslog.conf
chkconfig vsftpd on
# cat /var/log/messages | grep [Ff]ailed | less
updating the kernel
24. fqdn
add/remove software GUI
insert as opposed to append
GUI menu system/administratrion/firewall
Fully Qualified Domain Name
25. Persist the web server on boot
MailTo=student@server6.example.com
yum update
chkconfig httpd on
cat >> some_file << _EOF
26. Sync ntp time with the instructor
tar xvzf /tmp/etc.tar.gz /etc
# virsh create /etc/libvert/qemu/vm_file_name.xml
ntpdate -b instructor
nautilus
27. Send all debug level messages to /var/log/debug.log
yum list
*.debug /var/log/debug.log service rsyslog restart
#yum grouplist
IPtables forward chain
28. System config firewall
GUI menu system/administratrion/firewall
#iptables -F
chkconfig httpd on
service vncserver restart chkconfig vncserver on
29. tar options for file name - gzip - and bzip2
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
tar fzj
# star -xattr -H=exustar -c -f=home.star /home/
# virsh create /etc/libvert/qemu/vm_file_name.xml
30. Configuration file for system logs
ln -s /pub /var/www/html/pub
yum remove firefox4
/etc/rsyslog.conf
#iptables -F
31. Acting as a router with forwarding
rhn_register
yum info firefox4
ip masqu
rpm localinstall pkg.rpm --nogpgcheck
32. Copy a public ssh key to server6
ssh-copy-id root@server6.example.com
/etc/sysconfig/iptables
.spec
/dev
33. Install a package with yum
yum install tigervnc-server
#yum install [package name]
2>&1
#rpm -qi [package name]
34. Query all documentation with RPM
system-config-firewall tui
/etc/services
/usr/share/doc/initscripts-*/sysconfig.txt
#rpm -qad [package name]
35. Install the VNC server package
yum install tigervnc-server
#yum grouplist
palimpsest
yum provides
36. Primary configuration of ssh
/etc/rsyslog.conf
/usr/share/doc/initscripts-*/sysconfig.txt
/etc/sysconfig/network
/etc/ssh/sshd_config
37. Start vsftp service
vsftpd restart
rpm --import [public key location]
GUI menu system/administratrion/firewall
# star -x -f=home.star
38. GUI install / uninstall with yum
system-config-firewall (Push the enable button and check the appropriate boxes. Check.)
/var/lib/rpm
vncpasswd
add/remove software GUI
39. Flush the firewall of all rules
/etc/rsyslog.conf
#iptables -F
# yum
/etc/hosts
40. Remote file copy /home/test1.html to the /var/pub directory on server6
service sshd restart
/var/log/messages
/etc/yum.repos.d
rsync /home/test1.html root@server6.example.com:/var/pub
41. Get information about a package named firefox4
# star -x -f=home.star
yum info firefox4
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
rpm -q pkg.rpm --scripts
42. Set a VNC password
system-config-firewall tui
ip masqu
vncpasswd
# grep -i
43. Process packets coming out of the system
tar fzj
$ tar czvf home.tar.gz /home
IPtables output chain
/var/log/maillog
44. Location of repo's
2>&1
vncviewer -via student@server6 localhost:2
#rpm -qa | grep [package name]
/etc/yum.repos.d/
45. Show IP address with the IP command
#ip addr show
Fully Qualified Domain Name
yum search firefox
#rpm -qa | grep [package name]
46. Connect with VNC viewer securely
vncviewer -via student@server6 localhost:2
#iptables -I INPUT -p tcp --dport 21 -j Accept
rpm -ql vsftpd
/etc/sysconfig/resolv.conf
47. Kill a VM
#virsh destroy domain-id
/dev
*.debug /var/log/debug.log service rsyslog restart
rsync /home/test1.html root@server6.example.com:/var/pub
48. Update a package
#iptables -D INPUT -p tcp --dport 21 -j accpet
[repo identifier] name=[repo name] baseurl=[repo url] enabled = 1 gpgcheck = 1 (0 for local system) gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release -file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
.spec
yum update
49. Remote copy /home/test1.html to the /var/pub directory on server6 with progress - preserving hard links - and using relative path names
#rpm -qi [package name]
IPtables input chain
rsync -PHR /home/test1.html root@server6.example.com:/var/pub
#iptables -L
50. Shows network / global network variables: NETWORKING=yes HOSTNAME=shuttlehosti GATEWAY=192.168.88.1
/usr/share/doc/initscripts-*/sysconfig.txt
yum provides
tar cxtv
/etc/sysconfig/network
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