nerdexam
CompTIACompTIA

XK0-005 · Question #848

XK0-005 Question #848: Real Exam Question with Answer & Explanation

The correct answer is B: xz. Among the common Linux compression utilities, xz provides the highest compression ratio, leading to the most significant space savings for old log files.

System Management

Question

A systems administrator is compressing old log files in order to save space. Which of the following commands will allow the administrator to save the most space?

Options

  • Abzip2
  • Bxz
  • Ctar
  • Dgzip

Explanation

Among the common Linux compression utilities, xz provides the highest compression ratio, leading to the most significant space savings for old log files.

Common mistakes.

  • A. bzip2 offers better compression than gzip but is generally less efficient in terms of compression ratio compared to xz.
  • C. tar is an archiving utility used to combine multiple files into a single archive, but it does not perform compression itself.
  • D. gzip is a widely used compression utility, but it typically provides the lowest compression ratio among the three mentioned compression tools (gzip, bzip2, xz).

Concept tested. Linux compression utilities efficiency

Reference. https://man7.org/linux/man-pages/man1/xz.1.html

Topics

#File compression#Linux utilities#Storage optimization

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions