Courseiva
CryptographyhardMultiple ChoiceObjective-mapped

SSCP Cryptography Practice Question

A security auditor reviews a system that uses HMAC-SHA256 for message authentication. Which property does HMAC provide that a simple hash of the message does not?

⚠ Common exam trap

Watch out — candidates often confuse integrity (provided by any hash) with authentication (which requires a shared secret), leading them to think a simple hash is sufficient for message authentication, but HMAC specifically adds the keyed property.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Integrity and authentication using a shared secret

HMAC-SHA256 uses a shared secret key combined with the message before hashing, which provides both integrity (detecting tampering) and authentication (verifying the sender knows the secret). A simple hash of the message alone offers integrity but no authentication, because anyone can compute the same hash without a secret. Thus, HMAC adds authentication via the shared secret, making option C correct.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Confidentiality

    Why it's wrong here

    HMAC does not encrypt the message; it only provides authentication.

  • Non-repudiation

    Why it's wrong here

    Non-repudiation typically requires digital signatures, not symmetric HMAC.

  • Integrity and authentication using a shared secret

    Why this is correct

    HMAC ensures the message has not been altered and verifies the sender's possession of the secret key.

  • Forward secrecy

    Why it's wrong here

    Forward secrecy relates to key exchange, not HMAC.

About these practice questions

One of 920 original SSCP practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way this is tested on SSCP

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Which of the following best describes the difference between HMAC and a simple hash function like SHA-256 when used for message authentication?

hard
  • A.HMAC is faster than SHA-256
  • B.SHA-256 produces a larger digest than HMAC
  • C.HMAC provides integrity and authentication; SHA-256 provides only integrity
  • D.HMAC is used for encryption, not hashing

Why C: HMAC incorporates a secret key into the hash process, providing authentication that a simple hash cannot.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SSCP practice question is part of Courseiva's free ISC2 certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SSCP exam.