Examlex

Solved

A Linux Administrator Has Installed a Web Application Firewall in Front

question 52

Multiple Choice

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: 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:   iptables -L   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 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 Edit /etc/sysctl.conf file and add net.ipv4.ip_forward = 1 sysctl -p /etc/sysctl.conf C)  Add iptables rule iptables -A INPUT -m state --state NEW -p tcp --dport 8080 -j then restart httpd daemon 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 iptables -A FORWARD-m state --state NEW -p tcp --dport 8080 -j ACCEPT iptables -L 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:   iptables -L   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 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 Edit /etc/sysctl.conf file and add net.ipv4.ip_forward = 1 sysctl -p /etc/sysctl.conf C)  Add iptables rule iptables -A INPUT -m state --state NEW -p tcp --dport 8080 -j then restart httpd daemon 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 iptables -A FORWARD-m state --state NEW -p tcp --dport 8080 -j ACCEPT netstat -nltop | grep "8080" : 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:   iptables -L   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 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 Edit /etc/sysctl.conf file and add net.ipv4.ip_forward = 1 sysctl -p /etc/sysctl.conf C)  Add iptables rule iptables -A INPUT -m state --state NEW -p tcp --dport 8080 -j then restart httpd daemon 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 iptables -A FORWARD-m state --state NEW -p tcp --dport 8080 -j ACCEPT Which of the following is the NEXT step the administrator should perform to permanently fix the issue at the kernel level?


Definitions:

Risk Averse

A preference for guaranteed outcomes over those with uncertainty, even if the uncertain outcomes might offer a higher expected return.

Coin-Flip Bet

A gambling proposition where the outcome is determined by the flip of a coin, representing a 50/50 chance of winning or losing.

Wealth

The abundance of valuable financial assets or physical possessions which can be converted into a form that can be used for transactions.

Interest Rate

The proportion, typically expressed as a percentage, that is charged for the use of borrowed money or paid on deposited funds.

Related Questions