Skip to content

All certifications

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

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

A server with this ruleset can be reached by ssh, but its own DNS lookups time out. ``` table inet filter { chain input { type filter hook input priority filter; policy drop; tcp dport 22 accept } } ``` Which rule fixes the lookups?

Show the explanation

The replies to the server's own queries are inbound packets that the input policy drops.

Each option

  • A. The output chain is not restricted here and the replies come in. It would be right if outgoing traffic were dropped.
  • B. The forward chain handles routed traffic and not local replies. It would be right on a router.
  • C (correct). Correct: The replies to the server's own queries are inbound packets that the input policy drops.
  • D. Invalid packets are not valid replies. It would be right for no normal case.

What this question tests

It maps to XK0-006 objective 3.2, Firewalls: Firewalls Related ideas: nftables, conntrack.

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.