nerdexam
CompTIA

XK0-005 · Question #891

A security technician receives a report of a suspected phishing email with an attachment named payroll.csv. The technician downloads and saves the attachment but wants to verify the attachment type…

The correct answer is A. file payroll.csv. The file utility examines a file’s contents (via magic numbers and headers) and reports its true type, letting you confirm whether payroll.csv is really plain text, a renamed executable, or

Security

Question

A security technician receives a report of a suspected phishing email with an attachment named payroll.csv. The technician downloads and saves the attachment but wants to verify the attachment type before opening it. Which of the following commands should the technician use to verify the attachment type?

Options

  • Afile payroll.csv
  • Bdf payroll.csv
  • Ccat payroll.csv
  • Dtree payroll.csv

How the community answered

(35 responses)
  • A
    89% (31)
  • B
    3% (1)
  • C
    3% (1)
  • D
    6% (2)

Explanation

The file utility examines a file’s contents (via magic numbers and headers) and reports its true type, letting you confirm whether payroll.csv is really plain text, a renamed executable, or

Topics

#Linux commands#File type identification#Security best practices#`file` command

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice