Questions
- What is the default location of the cgroup filesystem?
a.
/proc/fs/cgroup/
b.
/sys/cgroup/
c.
/sys/fs/cgroup/
d.
/proc/cgroup/
- What must you do to see user slices with
systemd-cgls
?a. Run the command only from the local terminal.
b. Run the command only from outside the cgroup filesystem.
c. Run the command with root privileges.
d. You can't. User slices never show up.
- How can you create your own cgroup scope?
a. Use
systemctl edit --full --force
, just as you would with other systemd units.b. Manually create a unit file in the
/etc/systemd/system/
directory.c. You can't. Scopes are created programmatically, and there are no
.scope
unit files.d. Manually create a unit file in the
/lib/systemd/system/
directory. - What does a slice do?
a. It directly manages user mode processes.
b. It directly manages system mode processes.
c. It manages processes that are in either scopes or services.
d. It manages user login sessions.