100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

RHCSA II- Questions and Answers 100% Pass

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
12-11-2024
Written in
2024/2025

RHCSA II- Questions and Answers 100% Pass

Institution
RHCSA
Course
RHCSA









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
RHCSA
Course
RHCSA

Document information

Uploaded on
November 12, 2024
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

RHCSA II- Questions and Answers 100%
Pass
Set the appropriate SELinux Boolean setting on serverb, so that production5 can log in to
serverb using the SSH public key-based authentication and use the home directory Correct
Ans-on server b as root:

1. setsebool -P use_nfs_home-dirs true

2. ssh -o pubkeyauthentication=yes -o passwordauthentication=no production5@serverb



On serverb, adjust the firewall settings so that SSH connections originating from servera are
rejected. The servera system uses the IPv4 address 172.25.250.10 Correct Ans-1. firewall-
cmd --add-source=172.25.250.10/32 --zone=block --permanent

2. firewall-cmd --reload




On serverb, investigate and fix the issue with the Apache HTTPD daemon, which is configured to
listen on port 30080/TCP, bit which fails to start. Adjust the firewall settings appropriately so
that port 30080/TCP is open for incoming connections. Correct Ans-1. systemctl status
httpd.service

2. sealert -a /var/log/audit/audit.log

3. semanage port -a -t http_port_t -p tcp 30080

4. systemctl restart httpd

5. firewall-cmd --add-port=30080/tcp --permanent

6. firewall-cmd --reload

, On serverb create the /srv/web directory, and then extract the /home/containers/rhcsa-
compreview4/web-content.tgz archive in that directory. Configure the directory so that a
rootless container can use it for persistent storage. Correct Ans-As root on serverb:

1. mkdir /srv/web/

2. cd /srv/web/

4. tar xvf /home/containers/rhcsa-compreview4/web-content.tgz

5. chown -R containers: /srv/web




On serverb install the container tools Correct Ans-1. yum module install container-tools




On serverb, as the containers user, create a detached container named web. Use the
rhel8/httpd-24 image with the tag 1-105 from the registry.lab.example registry. Map port 8080
in the container to port 8888 on the host. Mount the /srv/web directory on the host as
/var/www in the container. Declare the environment variable HTTPD_MPM with a value of
event Correct Ans-1. podman login registry.lab.example.com

2. podman run-d --name web -p 8888:8080 -v /srv/web:/var/www:Z -e HTTPD_MPM=event
registry.lab.example.com/rhel8/httpd-24:1-105

3. curl http://localhost:8888/



On serverb, as the containers user, configure systemsd so that the web container starts
automatically with the server Correct Ans-1. mkdir -p ~/.config/systemd/user/

2. cd ~/.config/systemd/user/

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TheeGrades NEWCASTLE UNIVERSITY
View profile
Follow You need to be logged in order to follow users or courses
Sold
98
Member since
1 year
Number of followers
5
Documents
13139
Last sold
2 weeks ago
THEEGRADES

Ace Your Exams with Premium Study Guides! Unlock your full potential with our expertly crafted revision materials. Whether you're prepping for exams, quizzes, or looking to solidify your understanding, we've got you covered. Our study guides, summaries, and test banks are designed to simplify complex topics and enhance your knowledge retention. What We Offer: Comprehensive Summaries: Key points made easy for quick revision. Test Banks: Practice with real exam-like questions. Exam Prep Guides: Focused content to boost your scores. Instant Access: Download and start studying immediately! Don’t just study harder—study smarter! Excel in your exams with our trusted materials. You are Welcome. SUCCESS!!!

Read more Read less
3.3

24 reviews

5
9
4
4
3
3
2
1
1
7

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions