SP.I · Security+ SY0-701 practice question

When selecting an appropriate cryptographic solution for data in transit, an administrator must weigh confidentiality against other security goals. Which cryptographic mechanism primarily ensures that data has not been altered during transmission, while potentially being confused with a mechanism that ensures data originates from a trusted source?

Choose one answer
Check answer and explanation

Correct answer: A cryptographic hash (for example SHA-256)

Explanation

A Message Authentication Code (MAC) ensures data integrity and authenticity by providing a tag that verifies the data hasn't been tampered with and usually verifies it came from someone possessing the shared secret key. A Digital Signature (B) also provides authenticity and integrity, but it typically relies on asymmetric cryptography (private/public keys) to prove non-repudiation, which is a stronger claim than just verifying the sender held the shared secret.

Common trap

Candidates might confuse the integrity provided by a MAC with the non-repudiation/origin verification provided by a Digital Signature.

Source: NIST Special Publication 800-57 Part 1 Revision 5 (Understanding cryptographic key management and usage guidelines) - https://csrc.nist.gov/pubs/sp/800/57/pt1/r5/final
Checked against the cited text on 2026-11-27.

Report an error in this question