Cryptography is the topic a lot of Security+ students worry about most. The good news: you don't need to do any math. You need to know what each tool does and when to use it.
These 15 questions cover encryption, hashing, digital signatures, PKI and certificates, and key management.
-
Question 1 of 15
In a PKI trust model, what serves as the root of trust for certificate validation on a client device?
Show answerHide answer
Answer: A. Trusted root CA certificates in the client’s trust store
Trusted root CA certificates in the client’s trust store act as the trust anchors for chain validation. SKI identifies keys, CSR is not used during validation, and escrow is unrelated to trust decisions.
-
Question 2 of 15
A company deploys full-disk encryption on employee laptops but is concerned about data loss if users forget their credentials or devices fail. Which control BEST addresses this risk?
Show answerHide answer
Answer: B. Implement a centralized key escrow or recovery key management system
Key escrow or recovery key management ensures encrypted data can be recovered if users forget credentials or devices fail, without weakening encryption controls.
-
Question 3 of 15
A product team is securing communications for low-power IoT sensors that must establish a secret over the Internet, then send frequent encrypted telemetry. Which key exchange is MOST appropriate?
Show answerHide answer
Answer: C. ECDH to derive a shared secret, then use a symmetric cipher for data
ECDH provides efficient key agreement for constrained devices; the derived secret is then used with a symmetric cipher for telemetry. RSA key transport and DHE are more CPU-intensive; a universal PSK is risky and hard to manage securely.
-
Question 4 of 15
A call center application must display only the last four digits of customers’ credit card numbers to agents while retaining the full value in the database. Which technique should be implemented?
Show answerHide answer
Answer: B. Masking
Masking hides portions of sensitive data for display purposes while keeping the underlying data intact for authorized processes.
-
Question 5 of 15
During an audit, you find multiple accounts with the same password have identical stored values. Documentation states SHA-1 is used for password storage. Which issue is MOST likely?
Show answerHide answer
Answer: A. No per-user salt is being applied
Identical hashes for identical passwords indicate the lack of unique per-user salts. With proper salting, the same password should yield different stored values.
-
Question 6 of 15
Users report that a public website’s TLS certificate appears invalid on several workstations, even though the certificate is current and the full chain is installed correctly. Investigation shows the affected clients have their system clocks set to 2010. What is the MOST likely fix?
Show answerHide answer
Answer: B. Correct the client system date and time
Clients validate certificates against their local system time. If the clock is far outside the certificate’s valid-from and valid-to dates, the certificate will appear invalid even when the certificate and chain are correct.
-
Question 7 of 15
A mail administrator wants to opportunistically encrypt server-to-server SMTP traffic across the internet without requiring new user workflows. What should be enabled?
Show answerHide answer
Answer: B. STARTTLS for SMTP
SMTP with STARTTLS negotiates TLS for mail transfer between servers when supported, encrypting data in transit opportunistically.
-
Question 8 of 15
Which of the following is an asymmetric algorithm used in public-key cryptography?
Show answerHide answer
Answer: C. RSA
RSA is an asymmetric algorithm. AES, ChaCha20, and 3DES are symmetric ciphers.
-
Question 9 of 15
An enterprise wants laptops to automatically unlock full-disk encryption only when system integrity checks pass and the device’s hardware-bound keys are available. Which component enables this capability?
Show answerHide answer
Answer: B. A TPM on the laptop motherboard
A TPM stores and seals disk encryption keys bound to platform measurements, allowing automatic unlock only when integrity checks match expected values.
-
Question 10 of 15
A user receives an email that is S/MIME-signed but not encrypted. What security assurance does the digital signature provide in this case?
Show answerHide answer
Answer: D. Integrity and sender authentication; the contents remain readable to anyone who intercepts it
A digital signature confirms the message’s integrity and authenticates the sender (supporting non-repudiation). Without encryption, the content is not confidential.
-
Question 11 of 15
After a web server’s private key is suspected to be compromised, the certificate is revoked. What is the MOST appropriate next step to restore secure service?
Show answerHide answer
Answer: A. Generate a new key pair and submit a new CSR for a replacement certificate.
A new key pair and CSR are required after key compromise. Renewing or enabling stapling does not resolve a compromised key, and a revoked certificate cannot be removed from the CRL.
-
Question 12 of 15
An application server connects to a database in another subnet. Security wants to protect credentials and queries in transit with minimal application changes. What should the DBA enable?
Show answerHide answer
Answer: C. TLS for database connections with server certificates
Enabling TLS on the database listener protects credentials and query data in transit without major application changes.
-
Question 13 of 15
An application must store third-party API tokens so the server can later retrieve and use them for outbound calls. Performance matters, and the server alone should be able to decrypt the tokens. Which is the BEST approach?
Show answerHide answer
Answer: C. Encrypt tokens with AES-256-GCM using a key protected by an HSM/KMS; rotate the KEK periodically.
Use symmetric encryption (AES-GCM) with keys safeguarded in an HSM/KMS for efficient decryption and strong integrity; asymmetric or hashing does not meet the performance or recoverability needs.
-
Question 14 of 15
Which capability allows a remote verifier to confirm a system’s boot measurements and configuration integrity before releasing secrets?
Show answerHide answer
Answer: D. Remote attestation using a TPM quote of PCRs
Remote attestation uses a TPM to provide signed PCR measurements (quotes) so a verifier can assess platform integrity before granting access to secrets.
-
Question 15 of 15
Which control is MOST effective at reducing the risk of online password guessing attacks against an authentication system?
Show answerHide answer
Answer: B. Implementing account lockout or rate limiting after repeated failed attempts
Account lockout or rate limiting directly mitigates online brute-force attacks by limiting repeated authentication attempts, unlike hashing improvements which primarily protect against offline attacks.
The big one: know which key does what in asymmetric encryption and digital signatures. That alone answers a lot of questions.
Hashing vs encryption is another favorite. Hashing is one-way. Encryption can be reversed with the key.
Want more questions like these?
Security+ Practice Test 701 has 1,100 practice questions with explanations, timed practice exams, and weak-area drills.