Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA Exam XK0-005 Topic 3 Question 45 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 45
Topic #: 3
[All XK0-005 Questions]

A Linux administrator needs to remove all local firewall rules on a Linux system. Which of the following commands should the administrator run?

Show Suggested Answer Hide Answer
Suggested Answer: C

The iptables -F command flushes all the firewall rules, effectively removing them from the system. This command clears out all existing rules from all chains (INPUT, OUTPUT, and FORWARD), leaving the system with no active iptables rules.


Contribute your Thoughts:

Alaine
3 days ago
iptables -F is the way to go! It's the simplest and most straightforward command to clear all the firewall rules.
upvoted 0 times
...
Georgiana
11 days ago
I'm not sure, but I think iptables -L lists the rules, not remove them
upvoted 0 times
...
Felton
11 days ago
I think the correct answer is C) iptables -F. This command will flush all the firewall rules, effectively removing them.
upvoted 0 times
...
Clarinda
14 days ago
I agree with Nikita, iptables -F will flush all the firewall rules
upvoted 0 times
...
Nikita
15 days ago
I think the answer is C) iptables -F
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77