exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 365 discussion

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

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?

  • A. firewall-cmd –-set-default-zone
  • B. firewall-cmd –-runtime-to-permanent
  • C. firewall-cmd –-reload
  • D. firewall-cmd –-complete-reload
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
HappyDay030303
6 days, 21 hours ago
Selected Answer: D
D. firewall-cmd --complete-reload Safely removes all non-permanent (runtime) firewall rules Fully reloads the firewall configuration from permanent settings Safest way to clear temporary rules
upvoted 1 times
...
lexdaniel
1 month, 1 week ago
Selected Answer: C
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.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago