XK0-005 Domain 2: Security

Which fail2ban action modifies firewall?

Multiple choice — select one answer

Answer choices

  1. a. net.ipv4.ip_forward=0
  2. b. ban IP via iptables/nftables integration
  3. c. /etc/passwd and critical system files
  4. d. update-ca-trust

Architectural breakdown & explanation

fail2ban triggers firewall blocks on abuse.

Correct answer(s): b. ban IP via iptables/nftables integration

Exam domain: Domain 2: Security (21% weight on the official guide).

Official documentation & study links

Practice this certification

This page is one question from the CompTIA Linux+ bank. Run a full timed practice exam with domain-weighted random questions in your browser.