100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

RHCSA Exam Study Guide with Complete Solutions

Puntuación
-
Vendido
-
Páginas
20
Grado
A+
Subido en
28-08-2024
Escrito en
2024/2025

RHCSA Exam Study Guide with Complete Solutions commands/process to reset root password - Answer️️ -on boot: select most recent kernel `e` to edit goto line with linux16, add `` 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) - Answer️️ -edit boot config confirm boot config is correct and make changes (spelling errors, etc) ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 2 add `=t` to the end of the linux16 line regenerate grub config with the following command: `grub2-mkconfig -o /boot/grub2/` 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? - Answer️️ -Edit the 'GRUB_CMDLINE_LINUX' line in '/etc/default/grub' then regenerate the bootloader config using 'grub2- mkconfig -o /boot/grub2/'. Under normal circumstances, what is systemd's PID (Process ID)? - Answer️️ -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? - Answer️️ -=t 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 '' 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 ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 3 (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? - Answer️️ -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? - Answer️️ -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? - Answer️️ -systemctl reload ce persistent hostname change with systemd - Answer️️ -hostnamectl set- hostname command to show open/listening ports - Answer️️ -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) ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 4 replacement for nslookup - Answer️️ -dig replacement for traceroute - Answer️️ -tracepath use mtr for real time updates (may need a yum install) replacement for netstat - Answer️️ -ss create a second connection profile for device enp0s8 named STATIC - Answer️️ -nmcli connection add con-name STATIC sses 192.168.58.1/24 if name enp0s8 type ethernet #verify: nmcli connection show STATIC | less #add an additional dns server (172.16.58.254) - will require route to 172.16.0.0/16 subnet nmcli connection modify STATIC +s "172.16.0.0/16

Mostrar más Leer menos
Institución
RHCSA
Grado
RHCSA

Vista previa del contenido

©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

RHCSA Exam Study Guide with Complete Solutions

commands/process to reset root password - Answer✔️✔️-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) - Answer✔️✔️-edit boot config

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




1

,©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

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? -
Answer✔️✔️-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)? -
Answer✔️✔️-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? - Answer✔️✔️-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



2

, ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

(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? - Answer✔️✔️-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? - Answer✔️✔️-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? - Answer✔️✔️-systemctl reload sshd.service

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

command to show open/listening ports - Answer✔️✔️-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)


3

Escuela, estudio y materia

Institución
RHCSA
Grado
RHCSA

Información del documento

Subido en
28 de agosto de 2024
Número de páginas
20
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$12.99
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada


Documento también disponible en un lote

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
SophiaBennett Howard Community College
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
140
Miembro desde
1 año
Número de seguidores
5
Documentos
9098
Última venta
2 semanas hace
EXAM GAME-CHANGER

Exam Questions and Answers Section : Study Like a Pro, Study Smart, Study with Sophia.

3.7

26 reseñas

5
10
4
5
3
7
2
1
1
3

Documentos populares

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes