XK0-005 · Question #797
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?
The correct answer is C. firewall-cmd --reload. firewall-cmd --runtime-to-permanent sets the current rules to permanent, it doesn't remove non- permanent rules. --reload will reload the firewall config and remove any non-persistent rules that were added during the current session.
Question
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?
Options
- Afirewall-cmd --set-default-zone
- Bfirewall-cmd --runtime-to-permanent
- Cfirewall-cmd --reload
- Dfirewall-cmd --complete-reload
How the community answered
(54 responses)- A2% (1)
- B4% (2)
- C93% (50)
- D2% (1)
Explanation
firewall-cmd --runtime-to-permanent sets the current rules to permanent, it doesn't remove non- permanent rules. --reload will reload the firewall config and remove any non-persistent rules that were added during the current session.
Topics
Community Discussion
No community discussion yet for this question.