XK0-005 Domain 2: Security

Which kernel parameter hardens IP forwarding when not router?

Multiple choice — select one answer

Answer choices

  1. a. auditd
  2. b. user ALL=(ALL) ALL carefully scoped
  3. c. net.ipv4.ip_forward=0
  4. d. ban IP via iptables/nftables integration

Architectural breakdown & explanation

Disable forwarding on non-router hosts.

Correct answer(s): c. net.ipv4.ip_forward=0

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.