CompTIA Security+ · Domain 1 of 5 · 12% of the exam

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

  1. Question 1. A company installs bollards in front of its data center entrance. Which control category does this BEST represent?

    1. Physical
    2. Managerial
    3. Operational
    4. Technical
    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.

  2. Question 2. A security team writes an acceptable use policy that staff must sign. Which control category is this?

    1. Technical
    2. Physical
    3. Managerial
    4. Compensating
    Show answer

    Answer: C. Managerial

    Policies and governance documents are managerial (administrative) controls. Compensating describes a control's purpose, not its category.

  3. 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?

    1. Compensating
    2. Directive
    3. Deterrent
    4. Corrective
    Show answer

    Answer: A. Compensating

    A compensating control provides alternative protection when the preferred control, here patching, isn't feasible.

  4. Question 4. Which control type is a warning sign stating that trespassers will be prosecuted?

    1. Detective
    2. Deterrent
    3. Corrective
    4. Preventive
    Show answer

    Answer: B. Deterrent

    Deterrent controls discourage an attacker from trying. The sign doesn't stop, detect, or fix anything by itself.

  5. Question 5. After ransomware encrypts a file server, the team restores data from backups. Which control type is the restore process?

    1. Deterrent
    2. Corrective
    3. Directive
    4. Detective
    Show answer

    Answer: B. Corrective

    Corrective controls fix or limit damage after an incident has occurred, such as restoring from backup.

  6. Question 6. Which principle of the CIA triad is MOST directly protected by hashing a file and comparing the result later?

    1. Confidentiality
    2. Availability
    3. Non-repudiation
    4. Integrity
    Show answer

    Answer: D. Integrity

    Comparing hashes shows whether data has changed, which is integrity. Hashing doesn't hide data or keep it available.

  7. Question 7. A sender signs an email with their private key. Which security goal does this MAINLY provide to the recipient?

    1. Confidentiality
    2. Availability
    3. Obfuscation
    4. Non-repudiation
    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.

  8. Question 8. In the AAA framework, which function records what a user did after logging in?

    1. Accounting
    2. Authentication
    3. Authorization
    4. Attestation
    Show answer

    Answer: A. Accounting

    Accounting tracks user activity, such as logs of commands and resource use. Authentication proves identity and authorization grants permissions.

  9. Question 9. In a zero trust architecture, which component makes the decision to grant or deny access to a resource?

    1. The implicit trust zone in the data plane
    2. The subject requesting the resource
    3. The policy engine in the control plane
    4. The perimeter firewall at the network edge
    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.

  10. Question 10. Which statement BEST describes the zero trust principle of "never trust, always verify"?

    1. Every access request is authenticated and authorized regardless of network location
    2. Devices inside the corporate network are trusted after a single login
    3. VPN users receive full access once their tunnel is established
    4. Access decisions are made once per day and then cached for users
    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.

  11. Question 11. A security team deploys a fake database server with no business purpose to detect attackers moving laterally. What is this?

    1. A jump server
    2. A proxy server
    3. A honeypot
    4. A bastion host
    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.

  12. Question 12. Which deception technique places fake credentials or records in real systems so their use triggers an alert?

    1. Honeynets
    2. Sinkholes
    3. Honeytokens
    4. Tarpits
    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.

  13. Question 13. Before a firewall rule change is made in production, which change management element confirms the business owner agrees with the change?

    1. A backout plan that reverses the change
    2. A maintenance window scheduled for off-peak hours
    3. Approval from stakeholders or a change advisory board
    4. An updated network diagram showing 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.

  14. Question 14. Why should a change request include a backout plan?

    1. To prove the change was approved by management
    2. To restore the previous state if the change causes problems
    3. To list the users who will be notified of the change
    4. To reduce the time needed to test the change
    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.

  15. Question 15. A company wants to encrypt large volumes of data quickly. Which type of algorithm is BEST suited?

    1. Symmetric encryption such as AES
    2. Asymmetric encryption such as RSA
    3. A hashing algorithm such as SHA-256
    4. A key-stretching algorithm such as PBKDF2
    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.

  16. 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?

    1. MD5 hashing of the key
    2. Base64 encoding of the key
    3. Diffie-Hellman key exchange
    4. Steganography inside an image
    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.

  17. Question 17. Why are passwords salted before they are hashed?

    1. So the original password can be recovered if the user forgets it
    2. So the hash is shorter and faster to store in the database
    3. So the password can be shared securely with other systems
    4. So identical passwords produce different hashes, defeating precomputed tables
    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.

  18. Question 18. Which technique makes a stored password hash slower to crack by running the hashing function many thousands of times?

    1. Tokenization
    2. Key stretching
    3. Data masking
    4. Key escrow
    Show answer

    Answer: B. Key stretching

    Key stretching (for example PBKDF2, bcrypt, or Argon2) increases the work factor for each guess.

  19. Question 19. A payment system replaces card numbers with random values and keeps the mapping in a secure vault. What is this technique?

    1. Tokenization
    2. Hashing
    3. Salting
    4. Steganography
    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.

  20. Question 20. Which hardware component in a laptop stores keys used for full-disk encryption and supports measured boot?

    1. Trusted Platform Module (TPM)
    2. Hardware security module cluster
    3. Baseboard management controller
    4. Secure enclave on a remote server
    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.

  21. Question 21. A bank needs dedicated, tamper-resistant appliances to generate and protect keys for millions of transactions. What should it use?

    1. Trusted Platform Modules in each server
    2. Software key stores on the application servers
    3. Self-signed certificates on each client
    4. Hardware security modules (HSMs)
    Show answer

    Answer: D. Hardware security modules (HSMs)

    HSMs are purpose-built devices for secure, high-performance key generation, storage, and cryptographic operations.

  22. 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?

    1. OCSP stapling
    2. A certificate signing request
    3. Key escrow
    4. Certificate pinning
    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.

  23. Question 23. Which type of certificate can secure www.example.com, mail.example.com, and shop.example.com with one certificate?

    1. A self-signed root certificate
    2. A code-signing certificate
    3. A wildcard certificate for *.example.com
    4. A user email 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.

  24. Question 24. What is the purpose of key escrow?

    1. Keys are split into pieces that are stored on different servers
    2. Keys are rotated automatically every time they are used
    3. A trusted third party holds a copy of keys so data can be recovered
    4. Keys are destroyed securely when a certificate expires
    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.