nerdexam
CompTIA

SY0-301 · Question #623

Which of the following would a security administrator use to verify the integrity of a file?

The correct answer is D. Hash. A cryptographic hash generates a unique fixed-length digest of a file's contents, so any modification - however small - produces a different hash, making it the standard tool for integrity verification.

General security concepts

Question

Which of the following would a security administrator use to verify the integrity of a file?

Options

  • ATime stamp
  • BMAC times
  • CFile descriptor
  • DHash

How the community answered

(25 responses)
  • A
    4% (1)
  • C
    8% (2)
  • D
    88% (22)

Why each option

A cryptographic hash generates a unique fixed-length digest of a file's contents, so any modification - however small - produces a different hash, making it the standard tool for integrity verification.

ATime stamp

A timestamp records when a file was last modified but can be easily manipulated and does not prove the content is unchanged.

BMAC times

MAC times (Modified, Accessed, Created) are forensic metadata used for timeline analysis, not cryptographic proof of content integrity.

CFile descriptor

A file descriptor is an operating system handle to an open file and has no bearing on verifying file integrity.

DHashCorrect

Hashing algorithms such as SHA-256 produce a deterministic, fixed-length value tied to the exact bit-level content of a file. A security administrator computes and stores the hash at a known-good state, then recomputes it later; any mismatch proves the file has been altered, which is the definition of integrity verification.

Concept tested: Cryptographic hashing for file integrity verification

Source: https://csrc.nist.gov/publications/detail/fips/180/4/final

Topics

#hashing#file integrity#cryptography#data verification

Community Discussion

No community discussion yet for this question.

Full SY0-301 Practice