RHEL6 RHCSA Sample exam 1

Share this link

RHCSA 1

This is a RHCSA sample exam. You’ve got 2 hours and half.

Prerequisites:
– a file system of 1GB for /home,
– 2GB of free space.

One precision: nobody checks your answers but solutions are provided.

1 Star2 Stars3 Stars4 Stars5 Stars (28 votes, average: 3.29 out of 5)
Loading...

Leave a Reply

43 Comments on "RHEL6 RHCSA Sample exam 1"

Notify of
Sort by:   newest | oldest
Ernesto Diaz
Guest
Ernesto Diaz

Thanks!…

mfaiello
Guest
mfaiello

To prevent users from deleting a file belonging to another user, I had to use the recursive option on the Directory….

chmod -R +t /home/rhce

mike
Member
mike

there’s no need in -R because it makes sticky bit on files inside folder, and there’s no point doing that (sticky bit on files is just ignored). ONLY sticky bit on folder is important (people inside folder will be able delete only owned files) 🙂

P.S. -> proof also on cbt nuggets lesson about chmod 😉

I did this task without -R. all worked as needed.

Thanks.

Cerdocan
Guest
Cerdocan

I took the exam the last week and the Q&A were almost the same!Thank you so much for this help-

Solo
Guest
Solo

Hi for q6 (httpd)

shouldn’t the access rule be :

Order Deny,Allow
Deny from all
Allow from 127.0.0.1 server1.example.com

mike
Member
mike
on “Create a new user “bob”. Give bob, not in the rhce group, read and write access to /home/rhce.” the solution gives bob rwx access to all files inside too, but maybe ‘x’ should not be granted? also any new file created by other guys in rhce group – are not accessible for bob 🙁 . how can we make that bob will have rw but not ‘x’ access on all files inside? (rwx for folder of course, to list it) who knows if giving extra permissions (too much for example, more than what asked) can lead to lose score?… Read more »
mike
Member
mike

bobs account expire in 1 week:
# usermod -e “date+1week” bob –> Gives error on my centos 6.5.

sherzod
Member
sherzod

On question 10, I’m a bit confused by “regular files”….does that mean we should omit the hidden ones? If so, I’d go by

30 8 2 * * /bin/find /home/bob -not -path ‘*/\.*’ -type f -delete

Looks like a trick question to me 😉

dirkxxvi
Member
dirkxxvi
I was wondering the same thing. Theres actually a similar question on Michael Jangs practice exam where you’re to set up a Cron Job every Sunday to delete ‘regular files’ in the /encrypt folder. Now that I think about it the rm command most of the time will ask you something to the effect of “rm: remove regular file ‘blahblahblah.txt” provided you don’t use rm -f. Personally I set it up as 30 8 2 * * /bin/find /home/bob -type f | xargs rm -vf Right now I’m reading it that as long as I search using “-type f” I… Read more »
Matthew4912
Member
Matthew4912

Which part of the httpd.conf file does this directive go for Question 1?
———————————————–
# vi /etc/httpd/conf/httpd.conf
Order allow,deny
Allow from 127.0.0.1 server1.example.com
——————————————————–

Is it around this section?
——————————
# This controls which options the .htaccess files in directories can
# override. Can also be “All”, or any combination of “Options”, “FileInfo”,
# “AuthConfig”, and “Limit”
#
AllowOverride None

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all

———————-

Pinoy Linux
Member
Pinoy Linux

I think double quote (“) in echo “This is a Test!” will give you an error, it should be single quote to treat everything inside as text ‘This is a Test!’

Pinoy Linux
Member
Pinoy Linux

Thank you for sharing this wonderful website!

Neeraj
Member
Neeraj

Exam 1 , question 7
Why are we allowing port 20 in addition to port 21 for a default FTP server config ? It is not mentioned in the question about the need to allow dport 20 . I believe we dont need to run the below command. Pls confirm …
“# iptables -I INPUT -m state –state NEW -m tcp -p tcp –dport 20 -j ACCEPT “

DarioInv
Member
DarioInv

Thanks for sharing this great website. I was able to pass my rhcsa also thanks to this great resource site. Keep up the great work man!

DarioInv
Member
DarioInv

I think wget with an (*) asterisk at the end of the link will not allow you to download multiple files as in your example: kernel* it will just give you an error. You will have to download both the kernel firmware dependency and the kernel one by one.

tuxadmin
Member
tuxadmin

Sitting for the RHCSA & RHCE exams next week. Thanks for this great resource website!

Neeraj
Member
Neeraj

why are none of the QUIZ links working ?

afrojereshma
Member
afrojereshma

Does anybody know how to differentiate the VM and desktop terminal on ex200(RHCSA)? I am going to take the exam soon and I know somebody who could not find VM or didn’t understand how to differentiate the VM and the desktop terminal when he took the exam. It was on kiosk. If anybody can provide answer for this then it would be really helpful.

afrojereshma
Member
afrojereshma

Thank you for your answer. I didn’t know about this. I have found it really helpful to differentiate the VM and the desktop terminal once I have both. Is the VM going to be open on the screen beforehand or the candidates need to open it through application toolbar? I am asking this because I heard from a candidate who could not even find anything else than a desktop terminal (which has no console). I am getting a bit confused about that so if someone can give some ideas that will be great.

afrojereshma
Member
afrojereshma

does any one have idea if I need to reduce a lv to 200MiB then how I am supposed to do it. I know how to do it in 200M or 200G but not sure about MiB.

wpDiscuz

RHCSA7: Task of the day

Allowed time: 3 minutes.
Check that you've got no SELinux policy violations.

RHCE7: Task of the day

Allowed time: 8 minutes.
Set up an iScsi target based on a fileio backstore of 100MB called /opt/shareddata with CHAP authentication (username=usr/password=pwd), xfs filesystem and standard firewall configuration.

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...