nerdexam
ExamsXK0-004Questions#508
CompTIA

XK0-004 · Question #508

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

The correct answer is A: setfacl u:user:w /etc/hosts.allow; vi hosts.allow. See the full explanation below for the reasoning.

Question

A technician wants to update the contents of the /etc/hosts.allow file. The technician reviews the following output: According to best practice, which of the following commands should the technician use?

Exhibit

XK0-004 question #508 exhibit

Options

  • Asetfacl u:user:w /etc/hosts.allow; vi hosts.allow
  • Bvisudo /etc/hosts.allow
  • Cchgrp user /etc/hosts.allow; vi /etc/hosts.allow
  • Dsudo vi /etc/hosts.allow
  • Echown user /etc/hosts.allow; vi /etc/hosts.allow

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice