nerdexam
ExamsXK0-004Questions#10
CompTIA

XK0-004 · Question #10

XK0-004 Question #10: Real Exam Question with Answer & Explanation

The correct answer is A: echo "1" > /proc/sys/net/ipv4/ip_forward. IP forwarding is often used in conjunction with iptables firewall configuration. In order to leverage IP forwarding, you must first enable it in the kernel. change from 0 to 1 to enable IP forwarding in the kernel echo "1" > /proc/sys/net/ipv4/ip_forward

Question

A Linux administrator has configured a Linux system to be used as a router. The administrator confirms that two network adapters are properly installed and functioning correctly. In addition, the output of the iptables -L command appears to contain a complete firewall configuration. Which of the following commands does the administrator need to issue for the router to be fully functional?

Options

  • Aecho "1" > /proc/sys/net/ipv4/ip_forward
  • Becho "0" > /proc/sys/net/ipv4/tcp_abort_on_overflow
  • Cecho "0" > /proc/sys/net/ipv4/max_connections
  • Decho "1" > /proc/sys/net/ipv4/ip_default_ttl

Explanation

IP forwarding is often used in conjunction with iptables firewall configuration. In order to leverage IP forwarding, you must first enable it in the kernel. change from 0 to 1 to enable IP forwarding in the kernel echo "1" > /proc/sys/net/ipv4/ip_forward

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice