exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 71 discussion

Actual exam question from CompTIA's XK0-005
Question #: 71
Topic #: 1
[All XK0-005 Questions]

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?

  • A.
  • B.
  • C.
  • D.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
IFBBPROSALCEDO
7 months ago
Selected Answer: B
To resolve the issue where incoming connections to ports 80 and 22 are being denied, you need to add rules to the INPUT chain of iptables to accept TCP traffic on these ports. This will allow the firewall to accept incoming HTTP and SSH connections, thus restoring access to the organization's web page and other services
upvoted 3 times
...
linux_admin
1 year, 10 months ago
This iptables command is adding a new rule to the INPUT chain in the iptables firewall. The rule allows incoming traffic on interface "eth0" using the TCP protocol, destined for port 80, to be accepted. The "-A" option is used to append the rule to the end of the chain, and the "-j" option specifies the target action for the rule, in this case ACCEPT. This command is typically used to configure a firewall to allow specific types of traffic to enter the system.
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting 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.

SaveCancel
Loading ...