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

RHCSA Exam with Complete Solutions

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

RHCSA Exam with Complete Solutions

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
32
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

RHCSA Exam with Complete Solutions
What is the syntax to make a logical volume named backup on a volume group called
servera_group. It needs to have a size of 400MB Correct Ans-lvcreate -n backup --size 400M
servera_group




What command, option, and argument would you use to log into a registry for podman. What is
at the end you can't forget for it to search the path correctly? Correct Ans-podman login
<registry address>/




Don't forget the trailing "/"



Ex: podman login registry.lab.example.com/




What command, subcommand, and argument is used to download a container image from a
registry? Correct Ans-podman pull <url to container>:<tag>




Ex: podman pull registry.lab/ubi8/python-38:latest




What command will start a container in detached mode Correct Ans-podman run -d --name
<container name> <container image>:<tag>



podman run -d --name web apache:latest

,What command, subcommand, option and argument do you use to create a container image
from a Containerfile file Correct Ans-podman build -t <image name>:<tag>
/path/to/Containerfile




podman build -t python39:latest .




What command, subcommand and argument will delete a container Correct Ans-podman rm
<container name>



Ex: podman rm web_01




If you want to grant permissions to a folder on a host system for a container you need to do
what two things? Correct Ans-Get the uid and gid of the user account from the container




podman exec -it whoami

podman exec -it grep <username> /etc/passwd




Then use podman unshare chown to modify the permissions with the uid:gid from the previous
step



podman unshare chown 27:27 /path/to/host/folder

,What command and subcommand list the repos added a server Correct Ans-dnf repolist all




After using the dnf config-manager --add-repo command if you are using a insecure repo (over
http for example) what do you need to add to the repo file created in
/etc/yum.repos.d/ Correct Ans-gpgcheck=0




What command, subcommand, and option would you use to disable a repo Correct Ans-dnf
config-manager --disable <repo name>



What command, subcommand, and argument will list the repos that have a package available
for install or will also tell you the install status of a package Correct Ans-dnf list <package
name>



Ex: dnf list bzip2




What command is like traceroute for Linux Correct Ans-tracepath




tracepath google.com




What command and options can be used to list all listening tcp ports Correct Ans-ss -lt




What property of a nmcli connection do you have to set to no to prevent it from auto starting
with the system Correct Ans-connection.autoconnect

, Ex: connection.autoconnect no



What command will copy the ssh public key of a user's profile to a remote systems allowed
connections for that user Correct Ans-ssh-copy-id




Ex: ssh-copy-id operator1@server

What two commands can be used to manage password properties Correct Ans-passwd

chage




What chmod option need to be used to add delete only files they own Correct Ans-o+t




What command is use to create symlinks between files Correct Ans-ln




Command to create tar files Correct Ans-tar




What command is used to create a log entry Correct Ans-logger




What command is used to modify the timezone Correct Ans-timedatectl




What two commands can be used to modify the network settings Correct Ans-nmcli

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