nerdexam
CompTIACompTIA

XK0-005 · Question #1217

XK0-005 Question #1217: Real Exam Question with Answer & Explanation

Sign in or unlock XK0-005 to reveal the answer and full explanation for question #1217. The question stem and answer options stay visible for context.

Security

Question

A Linux administrator needs to configure a new firewall without an existing ACL to allow incoming web traffic. The firewall must log the allowed network traffic. Which of the following command sequences would accomplish this task when they are executed in order?

Options

  • Aiptables -A INPUT -p tcp --dport 80 -J LOG
  • Biptables -I INPUT -m multiport -p tcp --dports 80,443 -J LOG
  • Ciptables -A INPUT -m multiport -p tcp --dports 80,443 -J LOG
  • Diptables -A INPUT -p tcp --dport 80 -J ACCEPT

Unlock XK0-005 to see the answer

You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#iptables#firewall configuration#network security#logging
Full XK0-005 PracticeBrowse All XK0-005 Questions