CompTIA Linux+ Exam XK0-005 Question # 16 Topic 2 Discussion

CompTIA Linux+ Exam XK0-005 Question # 16 Topic 2 Discussion

XK0-005 Exam Topic 2 Question 16 Discussion:
Question #: 16
Topic #: 2

A DevOps engineer needs to allow incoming traffic to ports in the range of 4000 to 5000 on a Linux server. Which of the following commands will enforce this rule?


A.

iptables -f filter -I INPUT -p tcp --dport 4000:5000 -A ACCEPT


B.

iptables -t filter -A INPUT -p tcp --dport 4000:5000 -j ACCEPT


C.

iptables filter -A INPUT -p tcp --dport 4000:5000 -D ACCEPT


D.

iptables filter -S INPUT -p tcp --dport 4000:5000 -A ACCEPT


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.