CompTIA Linux+ Exam XK0-005 Question # 52 Topic 6 Discussion

CompTIA Linux+ Exam XK0-005 Question # 52 Topic 6 Discussion

XK0-005 Exam Topic 6 Question 52 Discussion:
Question #: 52
Topic #: 6

A Linux engineer needs to block an incoming connection from the IP address 2.2.2.2 to a secure shell server and ensure the originating IP address receives a response that a firewall is blocking the connection. Which of the following commands can be used to accomplish this task?


A.

iptables -A INPUT -p tcp -- dport ssh -s 2.2.2.2 -j DROP


B.

iptables -A INPUT -p tcp -- dport ssh -s 2.2.2.2 -j RETURN


C.

iptables -A INPUT -p tcp -- dport ssh -s 2.2.2.2 -j REJECT


D.

iptables -A INPUT -p tcp -- dport ssh -s 2.2.2.2 -j QUEUE


Get Premium XK0-005 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.