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

RHCSA Practice Exam | Questions And Answers Latest {} A+ Graded | 100% Verified

Rating
-
Sold
-
Pages
14
Grade
A+
Uploaded on
25-08-2024
Written in
2024/2025

RHCSA Practice Exam | Questions And Answers Latest {} A+ Graded | 100% Verified

Institution
Top Academic Resources 2024/2025
Course
Top Academic Resources 2024/2025









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

Written for

Institution
Top Academic Resources 2024/2025
Course
Top Academic Resources 2024/2025

Document information

Uploaded on
August 25, 2024
Number of pages
14
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

RHCSA Practice Exam | Questions And Answers Latest {2024- 2025} A+ Graded | 100%
Verified




commands/process to reset root password - on boot:

select most recent kernel

`e` to edit

goto line with linux16, add `rd.break` to end of line

`ctrl+x` to continue boot to rd rescue mode

remount /sysroot as readable (defaults to read only in rd rescue mode):

`mount -o remount,rw /sysroot`

load the target env with:

`chroot /sysroot`

reset the password with:

`passwd root`

fix selinux context with (instructs selinux to perform full relabel on next reboot):

`touch /.autorelabel`



fix bootloader config issues

(kernel not found or similar error) - edit boot config

confirm boot config is correct and make changes (spelling errors, etc)

add `systemd.unit=rescue.target` to the end of the linux16 line

regenerate grub config with the following command:

`grub2-mkconfig -o /boot/grub2/grub.cfg`



To diagnose boot issues more easily, you decide to disable 'quiet boot' and 'graphical boot' by removing
'quiet' and 'rhgb' from the kernel boot parameters. How would you accomplish this so it's persistent? -
Edit the 'GRUB_CMDLINE_LINUX' line in '/etc/default/grub' then regenerate the bootloader config using
'grub2-mkconfig -o /boot/grub2/grub.cfg'.

, Under normal circumstances, what is systemd's PID (Process ID)? - PID 1 - because it's the very first
binary called by the kernel at boot, and is responsible for starting up all other processes.



Which rescue parameter would you pass to the kernel from the grub2 menu if your system was failing to
boot because a filesystem check was failing? - systemd.unit=emergency.target



Booting to the emergency target state drops to a rescue shell after the 'root' filesystem has been
mounted readonly, but BEFORE other FS checks are carried out. Although you could do the same with
'rd.break' it would require considerably more effort.



You are a member of a team of admins who are responsible for a critical system. This system has two
different web servers installed: The first (Nginx) is used to serve content, the other (httpd) is installed
only to satisfy dependencies and should never be started as it causes a conflict. What command could
you run to ensure that 'httpd' is never accidentally started or enabled by another admin? - systemctl
mask httpd



You're having a bad day and accidentally delete the 'initramfs' file in /boot that matches your current
kernel. Which command would you run to recover from this? - dracut



You've just made a configuration change to the 'SSHD' service and want to daemon to reload it's
configuration without disconnecting anyone. How could you accomplish this? - systemctl reload
sshd.service



persistent hostname change with systemd - hostnamectl set-hostname your.host.name



command to show open/listening ports - ss -taupen



t = tcp

a = all types of connections (sending as well as listening)

u = udp

p = process ids (and information about the processes that are holding those ports

e = extra information

n = numbers only (don't resolve the hostnames)

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.
SpencerHenderson Walden University
View profile
Follow You need to be logged in order to follow users or courses
Sold
225
Member since
2 year
Number of followers
115
Documents
30185
Last sold
3 weeks ago
Spencer Henderson

Spencer Henderson I offer updated and 100% verified exam materials for ATI, Nursing, PMHNP, TNCC, USMLE, ACLS, WGU, and more. Success is guaranteed. You’ll find everything you need for nursing exams and test banks here. If you don’t see what you’re looking for, just contact me— I will get it for you within minutes. Shop with confidence! And please remember to leave a review after your purchase to help ensure all our customers stay satisfied.

Read more Read less
3.7

46 reviews

5
18
4
9
3
12
2
1
1
6

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