Skip to content

All certifications

XK0-006 practice question on Firewalls, 2026-11-03

Archived question for 2026-11-03. Domain: Security. Objective 3.2: Firewalls. Original SecLern question, written for practice.

Firewall rules set on a Debian-family server are gone after a reboot. ``` $ sudo iptables -S INPUT -P INPUT ACCEPT ``` Which step makes iptables rules persistent on that server?

Show the explanation

The package restores saved rules at boot and the command saves the current ones.

Each option

  • A. -F flushes rules and does not save them. It would be right for clearing the chain.
  • B. That file belongs to TCP wrappers and not to iptables. It would be right for old wrapper rules.
  • C. ufw reset removes ufw rules and saves nothing. It would be right for clearing ufw.
  • D (correct). Correct: The package restores saved rules at boot and the command saves the current ones.

What this question tests

It maps to XK0-006 objective 3.2, Firewalls: Firewalls Related ideas: iptables, persistence.

The published topics under this objective, so you can check what you have covered:

  • Zones and services
  • Rich rules
  • nftables and iptables

More from the archive

Start a daily session

Several questions at a time, aimed at your gaps.