RHCSA System Exam Questions with Answers
What command would you execute to display all units that failed at the last system boot? - Answer-systemctl --failed
What command would you execute to check the current operational status of the sshd service and its location in the cgroup subtree? - ...
RHCSA System Exam Questions
with Answers
What command would you execute to display all units that failed at the last system
boot? - Answer-systemctl --failed
What command would you execute to check the current operational status of the sshd
service and its location in the cgroup subtree? - Answer-systemctl status sshd
What command would you execute to prevent the crond service from starting at system
boot? - Answer-systemctl disable crond
What command would you execute to see if the rsyslog service is running? - Answer-
systemctl is-active rsyslog
What command would you execute to start the cups service - Answer-systemctl start
cups
What command would you execute to display details for the libvirtd service? - Answer-
systemctl show libvirtd
What command would you execute to transition into the multi-user target, equivalent to
switching to runlevel 3? - Answer-systemctl isolate multi-user.target
What command would you execute to reboot the system? - Answer-systemctl reboot
What command would you execute to power off the system? - Answer-systemctl
poweroff
What command would you execute to display the total amount of time that the last boot
process had taken? - Answer-systemd-analyze
What command would you execute to display the amount of time it had taken to start
each service during the last system boot? - Answer-systemd-analyze blame
What command would you execute to display the cgroup hierarchy of Systemd
processes? - Answer-systemd-cgls
What command would you execute to display resource consumption by cgroup, which is
constantly updated? - Answer-systemd-cgtop
, What command would you execute to set the CPUShares property for the rsyslog
service to 2048?? - Answer-systemctl set-propery rsyslog CPUShares=2048
What command would you execute to list all journal messages that have been
generated since system boot? - Answer-journalctl
What command would you execute to display all journal log messages in verbose
format? - Answer-journalctl -o verbose
What command would you execute to display all journal log messages from the
previous boot? - Answer-journalctl -b -1
What command would you execute to display only kernel-generated journal messages?
- Answer-journalctl -k
What command would you execute to only display the last fifteen journal messages for
the NetworkManager unit? - Answer-journalctl -u NetworkManager -n 15
What command would you execute to only display journal messages for the
/sbin/dnsmasq executable? - Answer-journalctl dnsmasq
What command would you execute to only display journal messages for PID 1773? -
Answer-journalctl _PID=1773
What command would you execute to display all journal error messages that occurred
between 11/15/2015 and 11/15/2015? - Answer-journalctl --since 2015-11-15 --until
2015-11-16 -p err
What command would you execute to display all journal warning messages that have
been generated today? - Answer-journalctl --since=today -p warning
What command would you execute to display that last ten journal messages, and
continuously display them as they're being generated? - Answer-journalctl -f
What commands would you execute to enable persistent journal logging? - Answer-
mkdir -pv /var/log/journal
systemctl restart systemd-journald
What command would you execute to view the default systemd target / runlevel? -
Answer-systemctl get-default
What command would you execute to set the default systemd target to the functional
equivalent of runlevel 3? - Answer-systemctl set-default multi-user
The benefits of buying summaries with Stuvia:
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
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
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 $13.09. You're not tied to anything after your purchase.