nerdexam
Oracle

1Z0-100 · Question #86

A web server on HOST01 is listening on port 80. Examine the IPTABLES rule shown: [root@host01 ~] # iptables -L INPUT Chain INPUT (policy ACCEPT) targetportoptsourcedestination ACCEPTtcp…

The correct answer is A. New connection attempts timeout. See the full explanation below for the reasoning.

Question

A web server on HOST01 is listening on port 80. Examine the IPTABLES rule shown:

[root@host01 ~] # iptables -L INPUT Chain INPUT (policy ACCEPT) targetportoptsourcedestination ACCEPTtcp- - anywhereanywheretcp dpt:http Another rule is then added:

[root@host01 ~] # iptables -A INPUT -P tcp - - dport 80 -j REJECT What is the effect of this command on subsequent attempts to access the web server on HOST01 using port 80?

Options

  • ANew connection attempts timeout.
  • BNew connection attempts are refused and the client informed of the refusal.
  • CNew connection attempts always succeed.
  • DNew connection attempts succeed until a reload of the firewall rules.

How the community answered

(42 responses)
  • A
    83% (35)
  • B
    5% (2)
  • C
    10% (4)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-100 Practice