CompTIA Security+ Domain 1: General Security Concepts
24 free practice questions for General Security Concepts in the CompTIA Security+ (SY0-701) exam. Try each question first, then open "Show answer" for the correct option and explanation.
General Security Concepts practice questions
-
Question 1. A company installs bollards in front of its data center entrance. Which control category does this BEST represent?
Show answer
Answer: A. Physical
Bollards are physical barriers. Managerial controls are policies and risk decisions, operational controls are carried out by people, and technical controls are enforced by systems.
-
Question 2. A security team writes an acceptable use policy that staff must sign. Which control category is this?
Show answer
Answer: C. Managerial
Policies and governance documents are managerial (administrative) controls. Compensating describes a control's purpose, not its category.
-
Question 3. An organization cannot patch a legacy system, so it isolates the system on a separate VLAN with strict ACLs. What type of control is the network isolation?
Show answer
Answer: A. Compensating
A compensating control provides alternative protection when the preferred control, here patching, isn't feasible.
-
Question 4. Which control type is a warning sign stating that trespassers will be prosecuted?
Show answer
Answer: B. Deterrent
Deterrent controls discourage an attacker from trying. The sign doesn't stop, detect, or fix anything by itself.
-
Question 5. After ransomware encrypts a file server, the team restores data from backups. Which control type is the restore process?
Show answer
Answer: B. Corrective
Corrective controls fix or limit damage after an incident has occurred, such as restoring from backup.
-
Question 6. Which principle of the CIA triad is MOST directly protected by hashing a file and comparing the result later?
Show answer
Answer: D. Integrity
Comparing hashes shows whether data has changed, which is integrity. Hashing doesn't hide data or keep it available.
-
Question 7. A sender signs an email with their private key. Which security goal does this MAINLY provide to the recipient?
Show answer
Answer: D. Non-repudiation
A digital signature proves the message came from the holder of the private key and wasn't altered, so the sender can't credibly deny sending it.
-
Question 8. In the AAA framework, which function records what a user did after logging in?
Show answer
Answer: A. Accounting
Accounting tracks user activity, such as logs of commands and resource use. Authentication proves identity and authorization grants permissions.
-
Question 9. In a zero trust architecture, which component makes the decision to grant or deny access to a resource?
Show answer
Answer: C. The policy engine in the control plane
The control plane's policy engine (with the policy administrator) decides access. The policy enforcement point in the data plane then applies the decision.
-
Question 10. Which statement BEST describes the zero trust principle of "never trust, always verify"?
Show answer
Answer: A. Every access request is authenticated and authorized regardless of network location
Zero trust removes implicit trust based on location and evaluates each request using identity, device posture, and context.
-
Question 11. A security team deploys a fake database server with no business purpose to detect attackers moving laterally. What is this?
Show answer
Answer: C. A honeypot
A honeypot is a decoy system. Any interaction with it is suspicious, which makes it a useful detection tool.
-
Question 12. Which deception technique places fake credentials or records in real systems so their use triggers an alert?
Show answer
Answer: C. Honeytokens
Honeytokens are fake data, such as a decoy API key or user record. Any attempt to use them indicates compromise.
-
Question 13. Before a firewall rule change is made in production, which change management element confirms the business owner agrees with the change?
Show answer
Answer: C. Approval from stakeholders or a change advisory board
Approval captures agreement from owners and stakeholders. A backout plan, maintenance window, and documentation are also needed but serve other purposes.
-
Question 14. Why should a change request include a backout plan?
Show answer
Answer: B. To restore the previous state if the change causes problems
A backout (rollback) plan defines how to reverse a change that fails or causes unexpected impact.
-
Question 15. A company wants to encrypt large volumes of data quickly. Which type of algorithm is BEST suited?
Show answer
Answer: A. Symmetric encryption such as AES
Symmetric ciphers are far faster than asymmetric ones for bulk data. Hashing and key stretching don't provide reversible encryption.
-
Question 16. Two parties need to agree on a shared secret key over an untrusted network without sending the key itself. Which method should they use?
Show answer
Answer: C. Diffie-Hellman key exchange
Diffie-Hellman lets two parties derive the same secret over a public channel. Encoding and steganography don't protect a key cryptographically.
-
Question 17. Why are passwords salted before they are hashed?
Show answer
Answer: D. So identical passwords produce different hashes, defeating precomputed tables
A unique random salt makes rainbow tables useless and ensures two users with the same password have different hashes.
-
Question 18. Which technique makes a stored password hash slower to crack by running the hashing function many thousands of times?
Show answer
Answer: B. Key stretching
Key stretching (for example PBKDF2, bcrypt, or Argon2) increases the work factor for each guess.
-
Question 19. A payment system replaces card numbers with random values and keeps the mapping in a secure vault. What is this technique?
Show answer
Answer: A. Tokenization
Tokenization substitutes sensitive data with a non-sensitive token. Only the vault can map a token back to the original value.
-
Question 20. Which hardware component in a laptop stores keys used for full-disk encryption and supports measured boot?
Show answer
Answer: A. Trusted Platform Module (TPM)
A TPM is a chip on the motherboard that protects keys and records boot measurements. HSMs are dedicated appliances for high-volume key operations.
-
Question 21. A bank needs dedicated, tamper-resistant appliances to generate and protect keys for millions of transactions. What should it use?
Show answer
Answer: D. Hardware security modules (HSMs)
HSMs are purpose-built devices for secure, high-performance key generation, storage, and cryptographic operations.
-
Question 22. A certificate authority needs to tell browsers that a certificate was revoked, and the web server staples the status to its TLS handshake. Which mechanism is this?
Show answer
Answer: A. OCSP stapling
With OCSP stapling, the server includes a signed, time-stamped OCSP response, so clients don't have to query the CA themselves.
-
Question 23. Which type of certificate can secure www.example.com, mail.example.com, and shop.example.com with one certificate?
Show answer
Answer: C. A wildcard certificate for *.example.com
A wildcard certificate covers all first-level subdomains of the named domain. A SAN certificate could also list each name individually.
-
Question 24. What is the purpose of key escrow?
Show answer
Answer: C. A trusted third party holds a copy of keys so data can be recovered
Key escrow keeps a copy of keys with a trusted party so encrypted data can be recovered, for example if an employee leaves.
CompTIA and Security+ are trademarks or registered trademarks of CompTIA, Inc. These questions are original study material, not questions from the real exam.