Courseiva
Container Operations And LifecyclehardMultiple ChoiceObjective-mapped

EX188 Container Operations And Lifecycle Practice Question

An administrator is managing rootless containers and wants to enable systemd linger for their user account so that user-level container services continue running after the user logs out. Which command should be run?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

loginctl enable-linger

loginctl enable-linger enables systemd user services to persist after logout for rootless users.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • systemctl enable --user --linger

    Why it's wrong here

    systemctl does not take a --linger flag; linger is managed via loginctl.

  • podman system linger enable

    Why it's wrong here

    podman has no linger subcommand.

  • usermod --linger=true $USER

    Why it's wrong here

    usermod does not configure systemd linger.

  • loginctl enable-linger

    Why this is correct

    loginctl enable-linger allows a user's systemd instance to run persistently even when logged out.

About these practice questions

Courseiva writes every EX188 question from scratch — 301 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official Red Hat exam blueprint

This EX188 practice question is part of Courseiva's free Red Hat certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the EX188 exam.