CompTIA Security+ - Cryptography and PKI

By Jordan Blake · Updated May 25, 2026

Questions23
Passing Score75%
Format52% Multiple Choice
Sessions Logged616
Your progressLog in / Register to track times taken, best score, questions mastered, and coverage on this quiz.
Rating
Community rating 4.4 out of 5 from 40 ratings.
4.4 (40)

Topics covered

This quiz

Uncategorized23 (100%)

Uncategorized23 questions

Discussion

Log in to post a comment, reply, or expand a question.

Q-5962

Question Q-5962 Which key exchange algorithm provides perfect forward secrecy while being…

2 comments · last active May 23, 2026

  • isimi · May 5, 1:48 PM

    AES modes: GCM gives confidentiality + authenticity. ECB is insecure for patterns — exam still mentions it as wrong answer.

  • notorioususb · May 23, 10:33 PM

    CBC needs proper IV handling; padding oracle attacks are why GCM/ChaCha20-Poly1305 won.

Q-5968

Question Q-5968 Elliptic Curve Cryptography (ECC) provides equivalent security to RSA with…

2 comments · last active May 21, 2026

  • donkim1153 · May 5, 4:38 AM

    TLS 1.3 dropped a lot of weak ciphers. Perfect forward secrecy = ephemeral DH keys per session.

  • FieldEnthusiast · May 21, 3:33 AM

    Certificate pinning stops rogue CA issuing valid-looking certs for your app — mobile apps use this a lot.

Q-5953

Question Q-5953 A digital signature is created using the sender's private key…

2 comments · last active May 16, 2026

  • sergiodxd · May 16, 1:56 AM

    Digital signature: private key signs, public key verifies. Opposite of confidentiality (encrypt with public, decrypt with private).

  • starshipheartofgold · May 16, 9:56 AM

    Non-repudiation = signatures. Integrity often = hash. Know which property each control gives you.

Q-5958

Question Q-5958 In TLS (Transport Layer Security), what is the purpose of…

2 comments · last active May 15, 2026

  • no_dingdang · May 14, 5:49 PM

    CA signs subscriber certs; CRL/OCSP handles revocation. Expired cert = browser warning even if key is fine.

  • iTzExalted · May 15, 12:49 PM

    Self-signed is OK for labs; production needs trusted chain to a public root in the trust store.

Q-5952

Question Q-5952 Which hashing algorithm is considered outdated and insecure due to…

2 comments · last active May 14, 2026

  • _nine_ · May 13, 11:14 AM

    MD5 is broken for security — collisions since mid-2000s. SHA-256/SHA-3 are the safe picks on the exam.

    +2 votes
  • Cupboard500 · May 14, 1:14 AM

    SHA-1 also deprecated (SHAttered). If they ask 'still used where?' — legacy compatibility, not new designs.

Q-5973

Question Q-5973 Sequencing (Medium) Arrange the steps of creating and verifying a…

2 comments · last active May 13, 2026

  • Malcom_Gold · May 12, 3:26 AM

    Steganography hides data in media; obfuscation ≠ encryption. Low and slow exfil sometimes uses both.

  • saltybone1 · May 13, 7:26 AM

    Quantum-resistant algorithms are awareness-level on Sec+ — know NIST is standardizing PQC, not memorize math.

Q-5965

Question Q-5965 In a Diffie-Hellman key exchange, both parties send their public…

2 comments · last active May 13, 2026

  • AreWe_WeAre · May 12, 1:50 PM

    Key escrow vs key recovery — government/compliance scenarios. HSM = keys never leave hardware in plaintext.

  • EndersValentine · May 13, 1:50 AM

    Rotation schedule depends on data classification and compliance, not 'never rotate asymmetric keys' myth.

Q-5951

Question Q-5951 What is the difference between symmetric and asymmetric encryption?

2 comments · last active May 7, 2026

  • Meese057 · May 7, 1:09 AM

    Symmetric = one shared secret, fast. Asymmetric = key pair, solves distribution. TLS uses both (hybrid).

  • Pirate-AdmiralWalrus · May 7, 11:09 AM

    AES for bulk data, RSA/ECC for key exchange and signatures — that's the practical split.

Q-5970

Question Q-5970 Which algorithm is used in ECDSA (Elliptic Curve Digital Signature…

2 comments · last active May 4, 2026

  • xopurrthrowaway · May 3, 10:49 PM

    Wildcard cert (*.example.com) is convenient but blast radius if compromised — SAN certs more granular.

  • PocusFocus · May 4, 4:49 AM

    EV certs barely matter in browsers now; know the concept for legacy questions only.

Question catalog for this preview

Catalog listing of the 5 preview questions for this quiz.

Question 1

?? True/False (Medium)

A self-signed certificate provides the same level of trust as a CA-signed certificate.

Answer choices

  • A. True

  • B. False (Correct)

Explanation

A self-signed certificate is signed by the same entity whose identity it certifies — like writing your own reference letter. There is no third-party verification of identity. Browsers display security warnings for self-signed certificates because users cannot verify the issuer's identity. CA-signed certificates are trusted because browsers pre-installed trusted CA root certificates.

Question 2

?? Multiple Choice (Easy)

What is the difference between symmetric and asymmetric encryption?

Answer choices

  • A. Symmetric uses two keys; asymmetric uses one key

  • B. Symmetric uses the same key for encryption/decryption; asymmetric uses a key pair (public/private) (Correct)

  • C. Symmetric is for web traffic; asymmetric is for files

  • D. Symmetric is slower; asymmetric is faster

Explanation

Symmetric encryption (AES, DES, 3DES): same key encrypts and decrypts — fast but key distribution is a challenge. Asymmetric encryption (RSA, ECC): public key encrypts, private key decrypts (or private signs, public verifies) — slow but solves key distribution. In practice, asymmetric exchanges a symmetric session key (hybrid approach used in TLS).

Question 3

?? True/False (Hard)

The process of key escrow involves storing a copy of encryption keys with a trusted third party, allowing authorized recovery if the original key is lost.

Answer choices

  • A. True (Correct)

  • B. False

Explanation

Key escrow is required in some enterprise and government environments. An encrypted copy of private keys is held by an escrow agent (trusted third party or the organization's IT department). This allows recovery of encrypted data if employees leave or keys are lost. It is controversial in government use (Clipper Chip proposal) due to privacy implications.

Question 4

?? Multiple Choice (Easy)

What does PKI stand for?

Answer choices

  • A. Private Key Infrastructure

  • B. Public Key Infrastructure (Correct)

  • C. Protected Key Integration

  • D. Public Keychain Interface

Explanation

PKI is a framework of policies, procedures, hardware, software, and people for creating, managing, distributing, and revoking digital certificates. Key PKI components: Certificate Authority (CA), Registration Authority (RA), Certificate Revocation Lists (CRL), OCSP, and digital certificates (X.509 standard).

Question 5

?? Multiple Choice (Hard)

Which algorithm is used in ECDSA (Elliptic Curve Digital Signature Algorithm) that makes random nonce (k) reuse catastrophic?

Answer choices

  • A. If k is reused, both the signature and plaintext are revealed

  • B. If k is reused, the private key can be mathematically recovered (Correct)

  • C. If k is reused, the public key changes

  • D. If k is reused, the hash of the message is exposed

Explanation

In ECDSA, if the same nonce k is used to sign two different messages, an attacker with both signatures can solve a system of equations to recover the private key. This happened to Sony PlayStation 3 (same k used for all code signing) and Bitcoin wallets that reused nonces. RFC 6979 uses deterministic k generation to prevent this.