Which of the following is the NEXT step the administrator should perform to permanently fix the issue at the kernel level?

A Linux administrator has installed a web application firewall in front of a web server running on HTTP port 8080 and successfully started the HTTP server.
However, after opening the application URL in an Internet browser, the administrator discovered that the application does not work. The administrator performed the following diagnostic steps:
Output of sysctl -a command:

Output of iptables -L command:

Output of netstat -nltop | grep "8080":

Which of the following is the NEXT step the administrator should perform to permanently fix the issue at the kernel level?
A. sysctl -w net.ipv4.ip_forward=1 then run sysctl -w /etc/sysctl.conf to enable the change
B. Edit /etc/sysctl.conf file and add net.ipv4.ip_forward = 1 then run sysctl -p /etc/sysctl.conf to enable the change
C. Add iptables rule iptables -A INPUT -m state –state NEW -p tcp –dport 8080 -j then restart httpd daemon
D. Add iptables rule iptables -A FORWARD-m state –state NEW -p tcp –dport 8080 -j ACCEPT then restart httpd daemon

comptia-exams

One thought on “Which of the following is the NEXT step the administrator should perform to permanently fix the issue at the kernel level?

  1. This answer is wrong, that rule already exists. Because they used -L flag on iptables it didnt translate what we bcache is, and it’s port 8080 so c and d are basically already covered, and sysctl – w makes a change not enable them which is the point of the -p flag. So the other option is for it to be B.
    Oh an dpt is dport and that is destination port in case that’s confusing.
    B is the answer.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.