Questions
- How does
systemd
handle a service that still uses an old-fashionedinit
script?a. It just uses the
init
scripts directly.b. It creates and saves a service unit file in the
/etc/systemd/system/
directory.c. It dynamically generates a service unit file in the
/run/systemd/generator.late/
directory.d. It won't run a service that only has an
init
script. - What is the recommended way of configuring disk partitions on a
systemd
machine?a. Manually create a mount unit file for each partition.
b. Edit the
/etc/fstab
file as you normally would.c. Manually create partition device files in the
/dev/
directory.d. Use the
mount
utility. - Which of the following files represents the root filesystem?
a.
root.mount
b.
-.mount
c.
/.mount
d.
rootfs.mount
- Which of the following commands would show you how long each service takes to start during bootup?
a.
systemctl blame
b.
systemctl time
c.
systemd-analyze
d.
systemd-analyze time
e.
systemd-analyze blame