CompTIA Security+ SY0-701 · General Security Concepts · hard

Which two mechanisms protect stored user password hashes against precomputed rainbow-table lookups and high-speed GPU brute-force cracking? (Select two.)

Published · Last updated · checked before publication — how we verify questions

Options

  • APrepending a unique cryptographically random salt to each passwordCorrect answer
  • BHashing passwords with unsalted MD5 to minimize CPU login latency
  • CApplying a slow key-stretching function such as Argon2id or bcryptCorrect answer
  • DEncoding plaintext passwords with Base64 before database insertion

Answers: A. Prepending a unique cryptographically random salt to each password; C. Applying a slow key-stretching function such as Argon2id or bcrypt

Generating a unique cryptographic random Salt per user prevents precomputed rainbow-table attacks and ensures identical passwords produce different hashes (A). Using a memory-hard or computationally slow key-stretching KDF such as Argon2id, bcrypt, or PBKDF2 throttles GPU cracking throughput (C).

Why the other options are wrong

  • B. Hashing passwords with unsalted MD5 to minimize CPU login latency — Unsalted MD5 is extremely fast to compute on GPUs and vulnerable to rainbow tables.
  • D. Encoding plaintext passwords with Base64 before database insertion — Base64 is a reversible binary-to-text encoding scheme, not a cryptographic hash or encryption.

All General Security Concepts questions and the topic overview →

CompTIA and Security+ are trademarks of the Computing Technology Industry Association. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by CompTIA.