LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-13-2012, 04:56 AM   #1
WFR65
LQ Newbie
 
Registered: Nov 2012
Location: My sweet country
Distribution: RHEL6
Posts: 17

Rep: Reputation: Disabled
RHCSA exam sample


Hi All,

I'm preparing to take my RHCSA exam within a month I'm a self study one and need your help in getting some questions sample which helps me to success in this exam isA
 
Old 11-13-2012, 04:59 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
there are no official "sample" papers. The exam only has a few tasks on it, it's not a long list of questions, and there are no set answers for them, only objectives to achieve. Just know the syllabus and you;ll be fine.
 
Old 11-13-2012, 05:09 AM   #3
WFR65
LQ Newbie
 
Registered: Nov 2012
Location: My sweet country
Distribution: RHEL6
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thanks Cris, you mean I should study the objectives which are explained in the rapid track course RH200 only?
 
Old 11-13-2012, 07:42 AM   #4
Alvin88
LQ Newbie
 
Registered: Mar 2012
Posts: 14

Rep: Reputation: Disabled
First - take a look at this book - it is really good: http://www.amazon.co.uk/RHCSA-Linux-.../dp/0071765654 - you should have a cople of test question there.

Learn and practice is the key to the exam - there is not much time on the exam, and you cannot ask uncle google and aunt wikipedia.

Well, couple of mine questions from the book - as I remember them now - notes are from me - PLS double check them, as they might be wrong!:

Question. - Scrypt – prints ‘kernel’ or ‘user’
Write a script – in /root/programs, which prints a word “kernel”, when the parameter is user, prints the word “kernel”, when the parameter is user, and when the parameter is not user or kernel prints “/root/programs user|kernel”

Manual, reference & learning materials
http://www.gentoo.org/doc/pl/article...example-p2.xml

Example – answer no 1:
vi /root/programs
##### script here #####
#!/bin/bash

case $1 in
user) echo "kernel";;
kernel) echo "user";;
*) echo "/root/programs user|kernel";;
esac
##### script here #####
chmod 700 /root/programs

Example – answer no 2:
vim /root/programs
##### script here #####
#!/bin/bash

if [ "$1" = "kernel" ]
then
echo "user";
elif [ "$1" = "user" ]
then
echo "kernel";
elif [ "$1" != "user" ] || [ "$1" != "kernel" ]
then
echo "/root/programs user|kernel";
fi
##### script here #####
chmod 700 /root/programs

*******************************************************************

Question. Uses the command find
Find ALL files owned by user jacquiline and copy those files only to the directory /var/findfiles

*******************************************************************

Question. Server ftp with anonymous access
Setup ftp server, when you will grant anonymous access to read data from location /var/ftp/pub only from domain service40.example.com

Explain the difference between active and passive ftp.

*******************************************************************

Question. SELinux – enforcing system
Make sure that SELinux will be working in enforcing mode after reboot.
Manual, reference & learning materials
Manual: http://www.crypt.gen.nz/selinux/disable_selinux.html

Example – answer no 1:
Edit /etc/selinux/config and change the line SELINUX= according to your needs...
SELinux will be disabled after reboot. To turn selinux off immediately, without rebooting use:
sudo setenforce 0

To automatically relabel the complete filesystem upon reboot, do:
touch /.autorelabel && reboot

*******************************************************************

Question. Enable IP forwarding
Enable IP Forwarding on the machine.

Example – answer no 1:
Add ‘net.ipv4.ip_forward=1’ to /etc/sysctl.conf
echo “1” > /proc/sys/net/ipv4/ip_forward

*******************************************************************

Question. SSH Service accessible from certain locations
Run ssh service with is accessible from any user from local domain (service40.example.com), but not from network my1328t.net (172.25.0.0/16)

*******************************************************************

Question.
Setup www website 1 www.server.example.com (/var/www/html) another www.server40.example.com (/var/html/virtual)

*******************************************************************

Last edited by Alvin88; 11-13-2012 at 07:47 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHCSA EXAm pubudumj Linux - Newbie 7 10-26-2012 02:30 PM
Regarding RHCSA EX200 Exam rohancmr Linux - Certification 3 08-08-2012 09:58 AM
RHCSA Exam parkarnoor Linux - Newbie 7 03-23-2012 12:02 PM
about the new RHCSA exam Ahmed ezz Linux - Certification 20 05-24-2011 04:50 PM
RHCSA Exam in RHEL6 rhel6_user123 Linux - Newbie 7 04-06-2011 11:45 PM


All times are GMT -5. The time now is 01:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration