CompTIA Exam Questions

Which of the following commands would accomplish this?

The administrator wants to deny ICMP traffic from being forwarded. Which of the following commands would accomplish this?

A.
iptables -A FORWARD -p icmp -j DROP

B.
iptables -A FORWARD -a all -proto ICMP -j REJECT

C.
iptables -A FORWARD -p icmp -j DENY

D.
iptables -A FORWARD -p udp –dport icmp -j DROP