100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCSA Part 2 Test Questions with Correct Answers $12.99   Add to cart

Exam (elaborations)

RHCSA Part 2 Test Questions with Correct Answers

 11 views  0 purchase
  • Course
  • RHCSA
  • Institution
  • RHCSA

RHCSA Part 2 Test Questions with Correct Answers Command to switch to a different runtime target on a running system - Answer-systemctl isolate TARGET (i.e. systemctl isolate t) Command to set default target to the graphical target - Answer-systemctl set-default t Content to add to the li...

[Show more]

Preview 2 out of 6  pages

  • August 18, 2024
  • 6
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHCSA
  • RHCSA
avatar-seller
Scholarsstudyguide
RHCSA Part 2 Test Questions with
Correct Answers

Command to switch to a different runtime target on a running system - Answer-
systemctl isolate TARGET

(i.e. systemctl isolate multi-user.target)

Command to set default target to the graphical target - Answer-systemctl set-default
graphical.target

Content to add to the linux line during a system boot to change the target to the rescue
target - Answer-systemd.unit=rescue.target

Content to add to the linux line during a system boot to get a root shell

(used when resetting the root password) - Answer-rd.break

4 commands to use when resetting the root password during a system boot - Answer-
mount -o remount,rw /sysroot
chroot /sysroot
passwd root
touch /.autorelabel

(then type exit twice)

File to edit to change journalctl config - Answer-/etc/systemd/journald.conf

(**must run systemctl restart systemd-journald.service after changing this file)

Line to change in /etc/systemd/journald.conf to make system journals persistent across
reboots - Answer-Storage=persistent

(**must run systemctl restart systemd-journald.service after changing this file)

Command to inspect errors in logs from a previous boot - Answer-journalctl -b -1 -p err

(with a negative number after the -b option, it will display the logs of previous boots)

Command to set default firewall zone - Answer-firewall-cmd --set-default-zone=ZONE

, Command to permanently open the network ports for mysql on the internal zone -
Answer-firewall-cmd --permanent --zone=internal --add-service=mysql

Command to get an overview of all of the current port label assignments - Answer-
semanage port -l

(the -l lists the ports in the order port_label_t, tcp|udp, comma separated list of ports)

Command to add an existing port label gopher_port_t of type tcp on the port 71 -
Answer-semanage port -a -t gopher_port_t -p tcp 71

Command to validate a kickstart file - Answer-ksvalidator FILENAME

Command to install packages needed to make a system a virtualization host - Answer-
yum module install virt

Command to validate system requirements for KVM - Answer-virt-host-validate

Command to install necessary package to run and manage containers on a system -
Answer-yum module install container-tools

Command to pull a container image onto your system - Answer-podman pull
CONTAINER_IMAGE

(after pulling an image, the image is stored locally)

Command to list locally stored container images - Answer-podman images

Command to run a container from a container image - Answer-podman run -it
CONTAINER_IMAGE

Location of container registry information - Answer-/etc/containers/registries.conf

Command that displays configuration information for podman - Answer-podman info

Command to search for container registries for a specific container - Answer-podman
search REGISTRY/IMAGE_NAME

(i.e. podman search registry.redhat.io/rhel8)

Command to inspect container images from remote registries OR local directories -
Answer-skopeo inspect IMAGE

Command to inspect locally stored images - Answer-podman inspect IMAGE

Command to remove locally stored images - Answer-podman rmi IMAGE

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Scholarsstudyguide. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

72042 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.99
  • (0)
  Add to cart