nerdexam
ExamsXK0-004Questions#294
CompTIA

XK0-004 · Question #294

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

The correct answer is A: tar -zcvf backup.tar.gz /employee. See the full explanation below for the reasoning.

Question

A directory called /employee is shared with many employees in a company. New hardware was acquired, and the systems administrator needs to back up all files in /employee before the server is replaced. Which of the following commands should be used to back up all the files and compress them to use little space in the filesystem?

Options

  • Atar -zcvf backup.tar.gz /employee
  • Btar -zxvf backup.tar.gz /employee
  • Ctar -Cvf backup.tar.gz /employee
  • Dtar -Tpf backup.tar.gz /employee

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice