exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 237 discussion

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

A systems administrator is working on a security report from the Linux servers. Which of the following commands can the administrator use to display all the firewall rules applied to the Linux servers? (Choose two.)

  • A. ufw limit
  • B. iptables -F
  • C. systemctl status firewalld
  • D. firewall-cmd --list-all
  • E. ufw status
  • F. iptables -A
Show Suggested Answer Hide Answer
Suggested Answer: DE 🗳️

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
makuziker
8 months, 4 weeks ago
Selected Answer: DE
A: `ufw limit` applies rate limiting to a given port. It is meant to prevent an IP from attacking the system, such as an overwhelming amount of SSH login attempts. Typically for Debian systems. B: `iptables -F` means to flush all the chains in the table, with no chain specified. This would delete all firewalls rules. C: `systemctl status firewalld` would tell you if the firewall daemon is running, but wouldn't show you any firewall rules. D: `firewall-cmd --list-all` does as it says. It will list its firewall rules. E: `ufw status` would show you whether ufw is active or not, and also an "uncomplicated" list of its firewall rules. Typically for Debian systems. F: `iptables -A` is meant for appending a new firewall rule. It not not a complete command.
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago