Website Vidya

General Knowledge / MEDIUM

Systemd Services, Units and Journalctl Quiz: 100 Linux System Questions

Test your mastery of systemd service units, targets, timer automation, journalctl log queries, and daemon troubleshooting with 100 practical questions.

100Questions
90mDuration
+1Marks / Q
NoneNegative Marks

Systemd Services, Units, Timers and Journalctl Comprehensive Exam

Master the modern Linux init system and service manager with this 100-question systemd practice test. Designed for systems engineers, DevOps professionals, and Linux administrators, this assessment covers unit file authoring, dependency management, daemon lifecycles, timer-based automation, and central log inspection with journalctl.

Systemd Architecture & Topic Domains

The questions evaluate in-depth knowledge of systemd's operational features:

  • Systemctl Management Commands: Managing unit states (start, stop, restart, reload, try-restart), boot configuration (enable, disable, is-enabled), checking statuses (status, is-active, is-failed), and completely preventing service activation with systemctl mask.
  • Unit File Authoring & Structure: Configuring the [Unit] section (Description, Documentation, After, Before, Requires, Wants, Conflicts), [Service] execution parameters (Type=simple/forking/oneshot/notify, ExecStart, ExecReload, Restart=always/on-failure, User, Group, WorkingDirectory, EnvironmentFile), and [Install] section (WantedBy=multi-user.target).
  • Process Supervision & Sandboxing Directives: RestartSec delays, StartLimitIntervalSec, ProtectSystem, ProtectHome, PrivateTmp, CapabilityBoundingSet, and enforcing resource limits using cgroups v2 integration (MemoryMax, CPUQuota).
  • Targets & Boot Milestones: Understanding systemd targets as runlevel replacements (graphical.target, multi-user.target, rescue.target, emergency.target), changing active targets (systemctl isolate), and analyzing boot critical paths using systemd-analyze blame and systemd-analyze plot.
  • Systemd Timers & Scheduled Automation: Creating .timer units to replace legacy cron jobs, OnCalendar monotonic vs realtime event specifications, Persistent=true behavior following system downtime, and listing active timers with systemctl list-timers.
  • Log Management with Journalctl: Querying system logs using journalctl, filtering by unit (-u service), priority (-p err), boot instance (-b), time windows (--since, --until), streaming live logs (-f), kernel logs (-k), and managing journal disk size with --vacuum-size and --vacuum-time.

Realistic Service Troubleshooting Scenarios

Questions challenge you to diagnose why a custom Node.js, Python, or Go daemon fails on startup, resolve circular service dependency deadlocks, debug forking service PID tracking failures, and optimize slow server boots.

Assessment Rules

Standardized testing rules & scoring benchmarks

Questions 100 multiple-choice questions.
Pass Threshold 70% passing grade.
Feedback Instant detailed explanations with unit file syntax validation and best practice guidelines.
Keep Practicing

Related Quizzes & Challenges

Strengthen your understanding with more interactive technical tests in this domain.

Showing 4 of 8 related tests
Featured Infrastructure PartnerUp to 75% OFF + 3 Months Free

Supercharge Your Linux & Cloud Workloads with Hostinger

Deploy high-speed NVMe KVM VPS, Docker containers, and LiteSpeed-accelerated WordPress servers in under 60 seconds with full root access, dedicated IPv4, and 24/7 technical support.

Pure NVMe SSD StorageFull Root Access & SSHFree Domain & Unlimited SSL99.9% Uptime SLA
Plans from$2.99/mo
Claim Hostinger DealAffiliate link • Special discount applied at checkout