CompTIA Linux+ (XK0-004) — Question 277
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:
5a5bc8e45b1a345f0e98b3ca5ff591a2 corpapp.tar.gz
Which of the following should the administrator run to verify the archive copied correctly without corruption?
Answer options
- A. md5sum corpapp.tar.gz
- B. sha256sum corpapp.tar.gz
- C. shasum corpapp.tar.gz
- D. base64 corpapp.tar.gz
Correct answer: D
Explanation
The correct answer is D because using base64 will encode the file, which is not a method for verifying integrity. The other options (A, B, and C) involve checksum algorithms that are specifically designed to validate file integrity, with A (md5sum) and B (sha256sum) being the most common methods for this purpose.