nerdexam
ExamsXK0-004Questions#440
CompTIA

XK0-004 · Question #440

XK0-004 Question #440: Real Exam Question with Answer & Explanation

The correct answer is D: firewall-csid --permanent --ipset=badip --add-entries-from-files=opt/webapp/sec.log. See the full explanation below for the reasoning.

Question

An administrator is reviewing web application logs and discovers several external addresses are trying to perform port scans, SQL injections, or URL oVectory traversal attacks. The administrator is able to create an automated security log for malicious traffic IP addresses and requests. The secunty administrator then uses the following information to protect the server: Which of the following actions should the security administrator recommend to protect the server?

Exhibit

XK0-004 question #440 exhibit

Options

  • Aipaat create badip /opt'webapp/sec.log && ipaat add badip huh lip
  • Bipaat create hash badip:ip I firewall-cmd reload
  • Cfirewall-cmd --permanent --zone"public ipset create badip hash:ip
  • Dfirewall-csid --permanent --ipset=badip --add-entries-from-files=opt/webapp/sec.log

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice
An administrator is reviewing web application logs and discovers... | XK0-004 Q#440 Answer | NerdExam