Red Hat Certified System Administration 8



Quizz

Question 1

Which command shows all service unit files on your system that are currently loaded?

a. systemctl --type=service
b. systemctl --type=service --all
c. systemctl --list-services
d. systemctl --show-units | grep services

A. The --type=service argument shows all currently loaded services only.

Question 2

What is the best solution to avoid conflicts between incompatible units?

a. Nothing; the unit files have defined for themselves which units they are not compatible with.
b. Disable the service using systemctl disable.
c. Unmask the service using systemctl unmask.
d. Mask the service using systemctl mask.

D. Masking a service makes it impossible to enable it.

Question 3

Which of the following is not a valid status for Systemd services?

a. Running(active)
b. Running(exited)
c. Running(waiting)
d. Running(dead)

D. Running(dead) is not a valid status for systemd services. You see (dead) for units that currently are not active.

Question 4

Which of the following is not a valid command while working with units in systemctl?

a. systemctl unit start
b. systemctl status -l unit
c. systemctl mask unit
d. systemctl disable unit

A. The word order is wrong. It should be systemctl start unit, not systemctl unit start.

Question 5




Question 6









+ Correction


---------------------------------------------------------- A-
B-
C-
D-


Eninam BAGNABANA     |         |     bagnadavid@outlook.fr     |