Home
86.
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
  • Answer & Explanation
  • Report
Answer : [A]
Explanation :
The --type=service argument shows all currently loaded services only.
Report
Name Email  
87.
Which statement about systemd wants is not true?
  • A.
    You can create wants by using the systemctl enable command.
  • B.
    The target to which a specific want applies is agnostic of the associated wants.
  • C.
    Wants are always administered in the /usr/lib/systemd/system directory.
  • D.
    Each service knows to which target its wants should be added.
  • Answer & Explanation
  • Report
Answer : [C]
Explanation :
Wants are specific to a particular system and for that reason are managed through /etc/systemd/system.
Report
Name Email  
88.
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 .
  • Answer & Explanation
  • Report
Answer : [D]
Explanation :
Masking a service makes it impossible to enable it.
Report
Name Email  
89.
Which of the following is not a valid status for systemd services?
  • A.
    Running(active)
  • B.
    Running(exited)
  • C.
    Running(waiting)
  • D.
    Running(dead)
  • Answer & Explanation
  • Report
Answer : [D]
Explanation :
Running(dead) is not a valid status for systemd services.
Report
Name Email  
90.
To allow targets to be isolated, you need a specific statement in the target unit file. Which of the following describes that statement?
  • A.
    AllowIsolate
  • B.
    Isolate
  • C.
    SetIsolate
  • D.
    Isolated
  • Answer & Explanation
  • Report
Answer : [A]
Explanation :
The required statement is AllowIsolate . All other statements mentioned here are invalid.
Report
Name Email