CompTIACompTIA
XK0-005 · Question #574
XK0-005 Question #574: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-005 to reveal the answer and full explanation for question #574. The question stem and answer options stay visible for context.
Security
Question
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?
Options
- Aiptables -A INPUT -p tcp --dport ssh -s 2.2.2.2 -j DROP
- Biptables -A INPUT -p tcp --dport ssh -s 2.2.2.2 -j RETURN
- Ciptables -A INPUT -p tcp --dport ssh -s 2.2.2.2 -j REJECT
- Diptables -A INPUT -p tcp --dport ssh -s 2.2.2.2 -j QUEUE
Unlock XK0-005 to see the answer
You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#iptables#Firewall#Network Security#Linux Networking