SUSE Administrator Systemd Service Management Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Questions: 20 | Updated: Aug 16, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. What does 'systemctl isolate graphical.target' accomplish?

Explanation

`systemctl isolate graphical.target` changes the system’s active target to `graphical.target`, starting the services needed for a graphical environment, such as a display manager. It may also stop services that aren’t required by that target.

Submit
Please wait...
About This Quiz
SUSE Administrator Systemd Service Management Quiz - Quiz

This quiz evaluates your understanding of systemd service management on SUSE Linux systems. It covers essential topics including unit files, service states, dependency management, and common administrative tasks. Mastering these concepts is critical for SUSE administrators who need to configure, monitor, and troubleshoot system services in production environments.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Which systemd feature allows services to be started on-demand when accessed?

Explanation

Socket activation lets systemd listen on a socket and start the associated service when a client attempts to connect. This avoids running the service continuously when it is not needed, while allowing it to respond as soon as it is accessed.

Submit

3. What is the difference between 'systemctl stop' and 'systemctl disable'?

Explanation

`systemctl stop` immediately stops a running service but does not change whether it starts at boot. `systemctl disable` removes the service’s boot-time autostart configuration but does not stop it if it is currently running.

Submit

4. Which command permanently disables a service from starting on boot?

Explanation

`systemctl disable service-name` removes the service’s boot-time enablement links, preventing it from starting automatically at boot. It does not stop a currently running service; use `systemctl stop service-name` for that. To block the service from being started manually or by dependencies, use `systemctl mask` instead.

Submit

5. In systemd, what is the 'After' directive used for?

Explanation

The `After` directive sets startup ordering: the service is started only after the specified unit has been started. It does not, by itself, create a dependency or ensure that the other unit is started; directives such as `Requires` or `Wants` handle dependencies.

Submit

6. What does the 'RestartSec' parameter define in a systemd unit file?

Explanation

`RestartSec` specifies how long systemd waits after a service exits or fails before attempting to restart it. This delay helps prevent rapid, repeated restart attempts.

Submit

7. How do you view the journal logs for a specific service in SUSE?

Explanation

Use `journalctl -u service-name` to display the systemd journal entries associated with a specific service. Replace `service-name` with the unit’s name, such as `sshd`, to inspect its logs.

Submit

8. What is the purpose of the 'Restart=always' setting in a systemd unit?

Explanation

`Restart=always` tells systemd to start the service again whenever its process exits, whether it stopped normally or crashed. This helps keep services continuously running without requiring manual intervention.

Submit

9. Which command lists all active services on a SUSE system?

Explanation

`systemctl list-units --type=service` filters systemd’s currently loaded units to services. By default, `list-units` shows active units, pending jobs, and failed units, so it provides a view of service units currently relevant to systemd. Add `--all` to include inactive loaded units; the command does not list every installed service file.

Submit

10. In systemd, what is the 'ExecStart' directive used for?

Explanation

`ExecStart` specifies the executable and any arguments that systemd runs to start a service. It appears in a service unit’s `[Service]` section and is invoked when the service is started. It does not define pre-start commands, restart behavior, or execution priority.

Submit

11. What is the primary purpose of systemd in SUSE Linux?

Explanation

systemd is the init system used by SUSE Linux to initialize the system during boot and manage services throughout operation. It starts, stops, and monitors services, while handling dependencies between them. Package installation, firewall configuration, and network interface management are handled by other tools.

Submit

12. Which systemd target is equivalent to traditional runlevel 3 (multi-user mode)?

Explanation

`multi-user.target` corresponds to traditional runlevel 3: it starts a multi-user system with networking and services, but without a graphical desktop. `graphical.target` builds on this mode and adds a graphical login environment. `rescue.target` and `emergency.target` are limited troubleshooting modes.

Submit

13. How do you reload systemd configuration after editing unit files?

Explanation

Run `systemctl daemon-reload` to make systemd reread unit files after they have been edited or added. This updates systemd’s configuration without restarting the system or its services.

Submit

14. What is the function of the 'Type=forking' setting in a service unit file?

Explanation

With `Type=forking`, systemd expects the service’s startup process to fork a child into the background and then exit. The child continues running as the service, and systemd tracks it—often using a PID file to identify the main process.

Submit

15. Which command displays the status of a service in SUSE systemd?

Explanation

`systemctl status service-name` displays a service’s current state, along with details such as whether it is active, recent log messages, and process information. Replace `service-name` with the name of the service you want to inspect.

Submit

16. In systemd, what is the purpose of the 'Wants' dependency?

Explanation

`Wants=` creates a weak dependency: when a unit starts, systemd also tries to start the units it wants. However, failure of a wanted unit does not normally prevent the requesting unit from starting or continuing. Use `Requires=` when a stronger dependency is needed.

Submit

17. What does the 'Before' directive in a systemd unit file specify?

Explanation

The `Before` directive defines ordering between systemd units: it tells systemd to start the specified unit after this service. It does not make that unit a dependency; use directives such as `Requires` or `Wants` to express dependencies.

Submit

18. Which systemd unit type is used for mount points?

Explanation

systemd uses `.mount` units to define and manage filesystem mount points. These units specify the source, target directory, and mount options, allowing systemd to mount or unmount filesystems and coordinate them with other services during system startup.

Submit

19. What command enables a service to start automatically on boot in SUSE?

Explanation

`systemctl enable service-name` configures the service to start automatically during boot by creating the necessary systemd links. In contrast, `systemctl start service-name` starts it immediately but does not make it persist across reboots.

Submit

20. Which directory contains systemd unit files for user services in SUSE?

Explanation

User-specific systemd unit files are stored in the user’s configuration directory, `~/.config/systemd/user` (shown here as `/home/user/.config/systemd/user`). This location lets each user manage services independently, without placing them in system-wide unit directories such as `/etc/systemd/system` or `/usr/lib/systemd/system`.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What does 'systemctl isolate graphical.target' accomplish?
Which systemd feature allows services to be started on-demand when...
What is the difference between 'systemctl stop' and 'systemctl...
Which command permanently disables a service from starting on boot?
In systemd, what is the 'After' directive used for?
What does the 'RestartSec' parameter define in a systemd unit file?
How do you view the journal logs for a specific service in SUSE?
What is the purpose of the 'Restart=always' setting in a systemd unit?
Which command lists all active services on a SUSE system?
In systemd, what is the 'ExecStart' directive used for?
What is the primary purpose of systemd in SUSE Linux?
Which systemd target is equivalent to traditional runlevel 3...
How do you reload systemd configuration after editing unit files?
What is the function of the 'Type=forking' setting in a service unit...
Which command displays the status of a service in SUSE systemd?
In systemd, what is the purpose of the 'Wants' dependency?
What does the 'Before' directive in a systemd unit file specify?
Which systemd unit type is used for mount points?
What command enables a service to start automatically on boot in SUSE?
Which directory contains systemd unit files for user services in SUSE?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!