nerdexam
IBM

C2150-196 · Question #109

Given that ICMP pings from all hosts are dropped, which rule(s) allows ICMP pings and responses only from and to host 10.35.100.23?

The correct answer is D. iptables -A INPUT-s 10.35.100.23 -p icmp --icmp-type echo-request-i ACCEPT. See the full explanation below for the reasoning.

Question

Given that ICMP pings from all hosts are dropped, which rule(s) allows ICMP pings and responses only from and to host 10.35.100.23?

Options

  • Aiptables -A INPUT-p icmp -j ACCEPT
  • Bi ptables -A OUTPUT-s 10.35.100.23-p i cmp -j ACCEPT
  • Ciptables -A OUTPUT-p icmp--icmp-type echo-reply-j ACCEPT
  • Diptables -A INPUT-s 10.35.100.23 -p icmp --icmp-type echo-request-i ACCEPT

How the community answered

(34 responses)
  • A
    15% (5)
  • B
    6% (2)
  • C
    6% (2)
  • D
    74% (25)

Community Discussion

No community discussion yet for this question.

Full C2150-196 Practice