100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCSA – Systemd: Questions And Correct Answers $9.99   Add to cart

Exam (elaborations)

RHCSA – Systemd: Questions And Correct Answers

 6 views  0 purchase
  • Course
  • RHCSA
  • Institution
  • RHCSA

RHCSA – Systemd: Questions And Correct Answers

Preview 2 out of 6  pages

  • October 24, 2024
  • 6
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHCSA
  • RHCSA
avatar-seller
LeCrae
RHCSA – Systemd: Questions And Correct Answers

What command would you execute to view the default systemd target /
runlevel? Right Ans - systemctl get-default

What command would you execute to set the default systemd target to the
functional equivalent of runlevel 3? Right Ans - systemctl set-default multi-
user

What command would you execute to set the default systemd target to the
functional equivalent of runlevel 5? Right Ans - systemctl set-default
graphical.target

When using the "systemctl" utility, what is the default systemd type if
omitted? Right Ans - service

What would you append to the end of the default Linux kernel entry in order
to boot to the "emergency" Systemd target, and what key combination would
you press to proceed with booting? Right Ans -
systemd.unit=emergency.target

What would you append to the end of the default Linux kernel entry in order
to boot to the "Rescue" Systemd target, which is equivalent to runlevel 1
(single user mode)? Right Ans - systemd.unit=rescue.target

What command would you execute to see whether or not the sshd service is
enabled? Right Ans - systemctl is-enabled sshd

What command would you execute to disable the Apache service? Right
Ans - systemctl disable httpd

What command would you execute to display all services present on the
system and whether or not they are enabled? Right Ans - systemctl list-
unit-files --type=service

What command would you execute to display the hostname and other
pertinent information via systemd? Right Ans - hostnamectl

, What command would you execute to set the hostname to
i.can.has.cheezburger via systemd? Right Ans - hostnamectl set-hostname
i.can.has.cheezburger

What file is the system's hostname stored in? Right Ans - /etc/hostname

What command would you execute to activate any manual updates made
directly to /etc/hostname? Right Ans - systemctl restart systemd-
hostnamed

Where are Systemd system unit files located, and what command could you
execute to derive this information? Right Ans - /usr/lib/systemd/system
pkg-config systemd --variable systemdsystemunitdir

Where are Systemd user unit files located, and what command could you
execute to derive this information? Right Ans - /etc/systemd/user
pkg-config systemd --variable systemduserconfdir

Where are Systemd units located that are effectively created at boot and
destroyed when no longer needed? Right Ans - /run/systemd/system

What are the twelve unit types included in Systemd and their respective
descriptions? Right Ans - service - Manages service daemons and their
respective processes

socket - Manages IPC or network socket or a file system FIFO controlled and
supervised by systemd, for socket-based activation

device - Manages kernel device units as exposed in the sysfs/udev(7) device
tree

mount - Manages file system mount points

automount - Manages file system automount points

swap - Manages swap devices or files for memory paging

target - Manages target units of systemd, which are used for grouping units
and as well-known synchronization points during start-up

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 LeCrae. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $9.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
$9.99
  • (0)
  Add to cart