exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 396 discussion

Actual exam question from CompTIA's XK0-005
Question #: 396
Topic #: 1
[All XK0-005 Questions]

A Linux administrator is configuring network traffic forwarding. Despite having proper iptables rules, the traffic forwarding is not working. Which of the following commands will allow Linux to pass network traffic between different interfaces?

  • A. nmcli allow-forwarding eth0
  • B. echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.conf ; sysctl -p
  • C. ip route forward allow --all-interfaces ; systemctl restart network
  • D. modprobe ip_forward
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
boxafrica
2 days, 5 hours ago
Selected Answer: B
B. Final answer.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...