- Home
- All questions
- Cryptography
CompTIA Security+ study material: Cryptography
62 questions of the 611 in the CompTIA Security+ quiz. Each opens with its answer, the reasoning and where that is written down.
Challenge yourself on this topic → Study as cards
The questions
- 158. An administrator raises the password hashing work factor until each login takes three seconds. What new risk has been introduced?
- 185. A self-encrypting drive must be sanitised in minutes rather than hours. Which technique achieves this?
- 191. Which protection applies to data in use, as distinct from data at rest or in transit?
- 202. Which property ensures a sender cannot credibly deny having sent a message?
- 219. What distinguishes a hardware security module from software key storage?
- 220. Which component anchors full-disk encryption and boot integrity to one specific machine?
- 225. What does code signing let an organisation verify, and what does it enable operationally?
- 247. A team encrypts every secret in its vault at rest. What problem does this leave unsolved?
- 251. A developer replaces sensitive identifiers with a reversible transformation and calls the data protected. What is the correct assessment?
- 263. How must a verifier store passwords so they resist offline attack?
- 264. What is the minimum salt length NIST specifies for stored passwords, and what does the salt achieve?
- 265. NIST suggests an additional keyed operation over the stored password hash. Where should that secret key live?
- 307. Why does certificate-based authentication resist network capture better than a password?
- 312. Why must AAL3 authenticators use public-key cryptography to protect the authentication secret?
- 391. An organisation terminates TLS at its load balancer. What is the security trade-off?
- 393. Why does every TLS 1.3 handshake provide forward secrecy?
- 394. Which two features were removed in TLS 1.3? Choose two.
- 398. A phishing site presents a valid domain-validated certificate. What does this certificate actually prove?
- 399. What risk does a wildcard certificate concentrate?
- 400. What does a certificate signing request contain?
- 401. A browser warns about a self-signed certificate on an internal site. What is actually missing?
- 458. An attacker steals a password hash file. Why does the login endpoint's rate limiting no longer help?
- 459. Which defence makes rainbow tables useless against a stolen password database?
- 460. Why is SHA-256 unsuitable for storing passwords even when salted?
- 461. A team pre-hashes passwords with plain SHA-512 before passing them to bcrypt. Which attack does this enable?
- 486. Why is disabling old TLS versions on the server necessary rather than merely deprioritising them?
- 487. Which property of a hash function does a birthday attack exploit?
- 488. A collision is found in the hash function underlying a signature scheme. What has been broken, even though no key was compromised?
- 489. An attacker recovers a key by measuring how long cryptographic operations take. What class of attack is this?
- 507. What does recomputing a hash of an evidence image months after acquisition demonstrate?
- 531. Why is hashing rather than encryption the right tool for storing passwords?
- 532. How does a pepper differ from a salt?
- 533. A pepper is compromised. Why can it not simply be rotated?
- 534. Which password hashing algorithm does OWASP recommend first, and why?
- 535. An organisation must use FIPS-140 validated implementations. Which password hashing algorithm should it choose?
- 536. An application uses bcrypt and accepts passwords of any length. What must it also enforce?
- 537. When is the usual moment to re-hash a user's password with an increased work factor?
- 538. A team refuses to document which password hashing algorithm it uses, calling it sensitive. What is the correct position?
- 539. What determines the appropriate cryptoperiod for a key?
- 540. Why does a signing key's usage period end well before the period during which its signatures must still verify?
- 541. Why should the same key not be used both to sign and to encrypt?
- 542. An implementation seeds its key generation from the system clock. What is the consequence?
- 543. An organisation wants to rotate its encryption key without re-encrypting terabytes of stored data. Which technique achieves this?
- 544. What is the trade-off of escrowing an encryption key?
- 545. Why do protocols such as TLS use asymmetric cryptography only to establish a symmetric session key?
- 546. An adversary records encrypted sessions today and obtains the server's long-term private key next year. Which property prevents them decrypting the recordings?
- 547. Which two properties does a digital signature provide that an HMAC does not? Choose two.
- 548. What problem does a public key infrastructure solve?
- 549. In a public key infrastructure, which component verifies the requester's identity?
- 550. A mobile application pins the certificate of its backend. What does this prevent, and what does it complicate?
- 551. What security property does a blockchain provide?
- 552. A laptop with full-disk encryption is stolen while running and unlocked. What protection remains?
- 553. How does steganography differ from encryption?
- 554. What does key stretching achieve against an offline attacker?
- 555. What is the difference between using an approved algorithm and using a FIPS 140 validated module?
- 556. Why does NIST apply stricter FIPS 140 requirements to verifiers than to authenticators?
- 557. Why can a protocol using only static long-term keys not provide forward secrecy?
- 558. Why does SHA-1 still appear in some systems despite being unsuitable for new designs?
- 559. An attacker obtains valid query access to a database whose files are encrypted at rest. What still protects individual sensitive fields?
- 560. An attacker steals a table of salted password hashes. What can they do with it directly?
- 561. Beyond choosing an algorithm, which two concerns does key management cover? Choose two.
- 608. Besides forward secrecy, what did TLS 1.3 improve about the handshake?