nerdexam
CompTIA

XK0-004 · Question #322

A systems administrator has retrieved the latest copy of the system backup files, which had been stored offsite at a third-party vendor. The systems administrator wants to validate that the data was…

The correct answer is A. Perform a MD5 hash on the data. A cryptographic hash like MD5 produces a fixed-length digest that uniquely represents file contents, making it the standard method for verifying data integrity after storage or transfer.

Security

Question

A systems administrator has retrieved the latest copy of the system backup files, which had been stored offsite at a third-party vendor. The systems administrator wants to validate that the data was not modified since the backup. Which of the following would BEST verify that the data remained the same?

Options

  • APerform a MD5 hash on the data.
  • BPerform a SCP from the backup.
  • CPerform rsync.
  • DRestore from the last full backup.

How the community answered

(32 responses)
  • A
    91% (29)
  • C
    6% (2)
  • D
    3% (1)

Why each option

A cryptographic hash like MD5 produces a fixed-length digest that uniquely represents file contents, making it the standard method for verifying data integrity after storage or transfer.

APerform a MD5 hash on the data.Correct

MD5 generates a 128-bit hash value that acts as a unique fingerprint for the data. If the backup files were altered in any way since the original hash was recorded, the MD5 computed after retrieval will differ, immediately flagging tampering or corruption. This is the industry-standard approach for backup integrity validation because it is deterministic and detects even single-bit changes.

BPerform a SCP from the backup.

SCP is a secure file transfer protocol; using it copies files but does not validate whether their contents were modified since the backup was originally created.

CPerform rsync.

rsync synchronizes files between locations but does not provide cryptographic proof of integrity - it identifies differences based on size or modification timestamps, which can be bypassed or missed.

DRestore from the last full backup.

Restoring from the last full backup replaces current data rather than verifying integrity, and does not confirm whether the retrieved backup files themselves were modified while offsite.

Concept tested: Data integrity verification using cryptographic hashing

Source: https://linux.die.net/man/1/md5sum

Topics

#data integrity#MD5 hash#backup verification#checksums

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice