Skip to content

All certifications

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

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

Which command lists ufw rules with numbers so that one can be deleted by number?

Show the explanation

numbered adds an index to each rule for ufw delete.

Each option

  • A (correct). Correct: numbered adds an index to each rule for ufw delete.
  • B. show logging-rules prints the logging rules without numbers. It would be right for the logging rules.
  • C. app info prints one application profile. It would be right for profile details.
  • D. verbose adds defaults and logging and has no numbers. It would be right for the default policy.

What this question tests

It maps to XK0-006 objective 3.2, Firewalls: Firewalls Related ideas: ufw, rule management.

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.