CompTIA Linux+ (XK0-005) — Question 256

A Linux administrator is removing non-permanent rules from the system firewall. Which of the following commands will allow the administrator to achieve this goal in the safest way possible?

Answer options

Correct answer: C

Explanation

The correct command, 'firewall-cmd --reload', safely removes non-permanent rules by reloading the firewall configuration without affecting the default settings. The other options either set default zones, make runtime changes permanent, or perform a complete reload, which may not specifically target the removal of non-permanent rules.