RHEL6 RHCSA Sample exam 2

Share this link

RHCSA 2

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

Prerequisites:
– 1GB of free space.

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

(5 votes, average: 3.20 out of 5)
Loading...

Leave a Reply

33 Comments on "RHEL6 RHCSA Sample exam 2"

Sort by:   newest | oldest
Guest
Matt

You are setting/adding SELINUX contexts to the new /www/html folder….

Couldn’t you have also used…

chcon -R –reference=/var/www/html /www/html

Guest
Gianluca

Hi, first thank you for your work on this site. It is very helpful
On question 8, RHCSA sample 2, you suggest:
1. # cd /home/tom
2. # echo “/bin/echo Hello!” > cmd
3. # setfacl -m u:steven:r-x cmd;
4. # setfacl -m u:steven:–x ../tom
5. # setfacl -m u:tom:— cmd
6. # setfacl -m u:andrew:— cmd
Since i’m using CentOS 6.4, the home directories are being created with 700 default permissions.
For this reason, when another user try to access or execute a file inside tom’s directory, a “Permission denied” is received. Hence i think step 6 is useless.
Correct me if i’m wrong.
Best regards

Guest
Saint

An addition to meet the requirement “belonging to user and group root in tom‘s directory ”
chown tom:root cmd

Also we could alternatively use
chmod 070 /home/tom/cmd in place of step 5.

Guest
Ndi eddy

A little bit confuse here. Is it chattr -d /root/dontcopy or chattr +d /root/dontcopy

Thanks

Guest
Saint

For question 5, I am a little confused on size.
what did you mean by 180PE (is it physical extents?)
How is that size achieved with the command lvcreate –name lv_vol -l 180 vg?
man page for lvcreate says that the default for size is megabytes.

Member
barks

First, a big thanks for the work put into this web page. It’s a great resource.
Question 9 in Quiz 2
The setfacl for access to Tom’s home dir for Steven; # setfacl -m u:steven:–x ../tom
shouldn’t the command include r (read) so the files can be listed?
# setfacl -m u:steven:r-x ../tom

Member
bazimov

Hi, I would like to thank you for this website and your hard work. I have passed the RHCSA recently. I do not want to lay out the questions here but I had hard time on finding the device for creating Volume group plus swap. I was clearly good at LVM and Swap creation, but could not locate the device. Do you think device block is hidden or did I need special skills to locate the device?

Member
kyle.r

Likely a preference, but instead of a REJECT statement in the iptables rules, you could have simply specified a source subnet from which to accept SSH traffic on port 22

-A INPUT -s sourceCIDR -m tcp -p tcp –dport 22 -j ACCEPT

Member
sherzod

For question 5, if you need to find the location of the file, issue

rpm -ql (lower case L) vsftpd | grep TUNING

Member
Neeraj

Question 8: This command at line # 4 in the hint ” # cp -rp /var/www /www” seems to be incorrect.
This is because when you do this, it copies the www directory as well to the destination “/www” directory. So the dir structure ends up becoming “/www/www” at the destination end. IT should instead of
cp -rp /var/www/* /www

Member
jayc

I passed my RHCSA recently with a score of 283/300. I just wanted to thank you for the many resources that you have available on your site. They helped me out tremendously.

Member

# echo “Hello world!” >/www/html/index.html —that doesn’t work on my rhel-6 machine but > /var/www/html/index.html is working.
thanks

Member

QU-6
an easy way—
#yum install httpd -y
#yum install elinks -y
#cd /var/www/html
#vim index.html
“hello world”
#service httpd reload
#elinks http://localhost

Upcoming Events (CET)

There are no events.

RHCSA7: Task of the day

Allowed time: 15 minutes.
Get an iso image of CentOS 7 (or a DVD) and set up a local repository.

RHCE7: Task of the day

Allowed time: 3 minutes.
Configure your machine to be a router.

Poll for favorite RHEL 7 book

 Loading ...

Poll for most difficult RHCSA 7 topic

 Loading ...

Poll for most difficult RHCE 7 topic

 Loading ...
vceplus-200-125    | boson-200-125    | training-cissp    | actualtests-cissp    | techexams-cissp    | gratisexams-300-075    | pearsonitcertification-210-260    | examsboost-210-260    | examsforall-210-260    | dumps4free-210-260    | reddit-210-260    | cisexams-352-001    | itexamfox-352-001    | passguaranteed-352-001    | passeasily-352-001    | freeccnastudyguide-200-120    | gocertify-200-120    | passcerty-200-120    | certifyguide-70-980    | dumpscollection-70-980    | examcollection-70-534    | cbtnuggets-210-065    | examfiles-400-051    | passitdump-400-051    | pearsonitcertification-70-462    | anderseide-70-347    | thomas-70-533    | research-1V0-605    | topix-102-400    | certdepot-EX200    | pearsonit-640-916    | itproguru-70-533    | reddit-100-105    | channel9-70-346    | anderseide-70-346    | theiia-IIA-CIA-PART3    | certificationHP-hp0-s41    | pearsonitcertification-640-916    | anderMicrosoft-70-534    | cathMicrosoft-70-462    | examcollection-cca-500    | techexams-gcih    | mslearn-70-346    | measureup-70-486    | pass4sure-hp0-s41    | iiba-640-916    | itsecurity-sscp    | cbtnuggets-300-320    | blogged-70-486    | pass4sure-IIA-CIA-PART1    | cbtnuggets-100-101    | developerhandbook-70-486    | lpicisco-101    | mylearn-1V0-605    | tomsitpro-cism    | gnosis-101    | channel9Mic-70-534    | ipass-IIA-CIA-PART1    | forcerts-70-417    | tests-sy0-401    | ipasstheciaexam-IIA-CIA-PART3    | mostcisco-300-135    | buildazure-70-533    | cloudera-cca-500    | pdf4cert-2v0-621    | f5cisco-101    | gocertify-1z0-062    | quora-640-916    | micrcosoft-70-480    | brain2pass-70-417    | examcompass-sy0-401    | global-EX200    | iassc-ICGB    | vceplus-300-115    | quizlet-810-403    | cbtnuggets-70-697    | educationOracle-1Z0-434    | channel9-70-534    | officialcerts-400-051    | examsboost-IIA-CIA-PART1    | networktut-300-135    | teststarter-300-206    | pluralsight-70-486    | coding-70-486    | freeccna-100-101    | digitaltut-300-101    | iiba-CBAP    | virtuallymikebrown-640-916    | isaca-cism    | whizlabs-pmp    | techexams-70-980    | ciscopress-300-115    | techtarget-cism    | pearsonitcertification-300-070    | testking-2v0-621    | isacaNew-cism    | simplilearn-pmi-rmp    | simplilearn-pmp    | educationOracle-1z0-809    | education-1z0-809    | teachertube-1Z0-434    | villanovau-CBAP    | quora-300-206    | certifyguide-300-208    | cbtnuggets-100-105    | flydumps-70-417    | gratisexams-1V0-605    | ituonline-1z0-062    | techexams-cas-002    | simplilearn-70-534    | pluralsight-70-697    | theiia-IIA-CIA-PART1    | itexamtips-400-051    | pearsonitcertification-EX200    | pluralsight-70-480    | learn-hp0-s42    | giac-gpen    | mindhub-102-400    | coursesmsu-CBAP    | examsforall-2v0-621    | developerhandbook-70-487    | root-EX200    | coderanch-1z0-809    | getfreedumps-1z0-062    | comptia-cas-002    | quora-1z0-809    | boson-300-135    | killtest-2v0-621    | learncia-IIA-CIA-PART3    | computer-gcih    | universitycloudera-cca-500    | itexamrun-70-410    | certificationHPv2-hp0-s41    | certskills-100-105    | skipitnow-70-417    | gocertify-sy0-401    | prep4sure-70-417    | simplilearn-cisa    |
https://sdm.mit.edu/    | https://sdm.mit.edu/    |