Multiple Choice
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?
A) iptables -A INPUT -p tcp --dport 80 -J LOG iptables -A INPUT -p tcp --dport 443 -J LOG iptables -I INPUT -p tcp --dport 80 -J ACCEPT iptables -I INPUT -p tcp --dport 443 -J ACCEPT
B) iptables -I INPUT -m multiport -p tcp --dports 80,443 -J LOG iptables -I INPUT -m multiport -p tcp --dports 80,443 -J ACCEPT
C) iptables -A INPUT -m multiport -p tcp --dports 80,443 -J LOG iptables -A INPUT -m multiport -p tcp --dports 80,443 -J ACCEPT
D) iptables -A INPUT -p tcp --dport 80 -J ACCEPT iptables -A INPUT -p tcp --dport 443 -J ACCEPT
Correct Answer:

Verified
Correct Answer:
Verified
Q242: A Linux administrator is testing a new
Q243: A site reliability engineer updated the latest
Q244: The following represents a partial listing of
Q245: A Linux administrator needs to take stock
Q246: An administrator needs to change the IP
Q247: An administrator needs to change the IP
Q249: Joe, a user, creates a short shell
Q250: An administrator receives a warning about a
Q251: A member of the production group issues
Q252: A systems administrator is troubleshooting an intermittent