Exam XK0-005 Topic 5 Question 458 Discussion
Actual exam question for CompTIA's XK0-005 exam
Question #: 458
Topic #: 5
Question #: 458
Topic #: 5
Some servers in an organization have been compromised. Users are unable to access to the organization's web page and other services. While reviewing the system log, a systems administrator notices messages from the kernel regarding firewall rules:

Which of the following commands will remediate and help resolve the issue?

Which of the following commands will remediate and help resolve the issue?
Suggested Answer: A Vote an answer
The command iptables -F will remediate and help resolve the issue. The issue is caused by the firewall rules that block the access to the organization's web page and other services. The output of dmesg | grep firewall shows that the kernel has dropped packets from the source IP address
192.168.1.100 to the destination port 80, which is the default port for HTTP. The command iptables - F will flush all the firewall rules and allow the traffic to pass through. This command will resolve the issue and restore the access to the web page and other services. The other options are incorrect because they either do not affect the firewall rules (ip route flush or ip addr flush) or do not exist (iptables -R).
192.168.1.100 to the destination port 80, which is the default port for HTTP. The command iptables - F will flush all the firewall rules and allow the traffic to pass through. This command will resolve the issue and restore the access to the web page and other services. The other options are incorrect because they either do not affect the firewall rules (ip route flush or ip addr flush) or do not exist (iptables -R).
by totoro86 at Jun 16, 2025, 02:35 AM
0
0
0
10
Comments
totoro86
2025-06-16 02:35:38Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).