nerdexam
CompTIA

XK0-004 · Question #409

A systems administrator copied the latest archive of the corporate application, corpapp.tar.gz, to a new server. The backup software lists the following entry in the log file: Which of the following s

The correct answer is D. Option D. Verifying a copied archive for corruption requires running a checksum command against the file and comparing the result to the hash recorded in the backup log.

Troubleshooting and Diagnostics

Question

A systems administrator copied the latest archive of the corporate application, corpapp.tar.gz, to a new server. The backup software lists the following entry in the log file:

Which of the following should the administrator run to verify the archive copied correctly without corruption?

Exhibit

XK0-004 question #409 exhibit

Options

  • AOption A
  • BOption B
  • COption C
  • DOption D

How the community answered

(33 responses)
  • A
    3% (1)
  • B
    3% (1)
  • D
    94% (31)

Why each option

Verifying a copied archive for corruption requires running a checksum command against the file and comparing the result to the hash recorded in the backup log.

AOption A

Option A does not perform a hash comparison against the value recorded in the backup log, so it cannot confirm the file is free from corruption introduced during the copy.

BOption B

Option B does not correctly validate the archive's integrity against the backup log's recorded checksum, which is the required step to verify an uncorrupted transfer.

COption C

Option C fails to compare the archive's hash to the original logged value, making it insufficient to confirm the file was not corrupted during the copy operation.

DOption DCorrect

Option D likely involves running a checksum verification utility such as md5sum or sha256sum on corpapp.tar.gz and comparing the output to the hash value listed in the backup software's log entry. This is the standard method to confirm bitwise integrity - if the hashes match, the file was copied without corruption or data loss.

Concept tested: File integrity verification using checksum after archive copy

Source: https://man7.org/linux/man-pages/man1/md5sum.1.html

Topics

#file integrity#checksum verification#tar archive#data validation

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice