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: B 🗳️

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
lexdaniel
1 week, 1 day 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 2 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