Skip to main content
Offline·Progress is saved on this device and syncs the next time you open the app online.
Free practice test

Free Security+ Practice Test: 30 Questions (SY0-701)

A full 30-question CompTIA Security+ SY0-701 practice test spanning all five domains, weighted like the real exam. Every question has the correct answer and a clear explanation. No account, no payment, nothing to install. Work through it, then reveal each answer.

  • 1.0 x4
  • 2.0 x7
  • 3.0 x5
  • 4.0 x8
  • 5.0 x6

Last updated August 2026

  1. Question 11.0 General Security Concepts

    A distributed denial-of-service attack overwhelms a web server so legitimate customers cannot reach the site. Which part of the CIA triad is most directly affected?

    • AConfidentiality
    • BAvailability
    • CNon-repudiation
    • DIntegrity
    Show answer and explanation

    Correct answer: B. Availability

    Availability means authorized users can access systems and data when needed. A DDoS attack denies that access. Confidentiality is about secrecy and integrity is about data not being altered, neither of which is the primary target here.

  2. Question 21.0 General Security Concepts

    A fence around a data center and a security guard at the door are examples of which category of security control?

    • AOperational
    • BManagerial
    • CTechnical
    • DPhysical
    Show answer and explanation

    Correct answer: D. Physical

    Physical controls protect people and facilities in the real world, such as fences, locks, guards, and cameras. Technical controls are implemented in hardware or software, managerial controls are policies, and operational controls are processes people carry out.

  3. Question 31.0 General Security Concepts

    A security camera records who enters a server room so footage can be reviewed after an incident. Which control function does this best describe?

    • APreventive
    • BCorrective
    • CDetective
    • DCompensating
    Show answer and explanation

    Correct answer: C. Detective

    A detective control identifies and records that an event happened so it can be investigated. A preventive control would stop the entry, a corrective control fixes damage after the fact, and a compensating control is an alternative used when the primary control is not feasible.

  4. Question 41.0 General Security Concepts

    Why does a system add a unique random salt to each password before hashing and storing it?

    • ASo identical passwords produce different hashes and precomputed (rainbow table) attacks fail
    • BTo compress the password into a smaller value
    • CSo the password can be decrypted later if needed
    • DTo make the hashing process faster
    Show answer and explanation

    Correct answer: A. So identical passwords produce different hashes and precomputed (rainbow table) attacks fail

    A salt is random data added to each password so that two users with the same password get different stored hashes, which defeats rainbow tables and makes mass cracking far harder. Hashes are one-way, so salting has nothing to do with decryption or compression.

  5. Question 52.0 Threats, Vulnerabilities, and Mitigations

    An unauthorized person follows an employee through a badge-controlled door before it closes, without presenting any credentials and while the employee is unaware. What is this called?

    • APhishing
    • BPretexting
    • CShoulder surfing
    • DTailgating
    Show answer and explanation

    Correct answer: D. Tailgating

    Tailgating is following an authorized person through a secure entry without authenticating. Shoulder surfing is observing someone enter credentials, pretexting is inventing a scenario to extract information, and phishing is a fraudulent message.

  6. Question 62.0 Threats, Vulnerabilities, and Mitigations

    An attacker submits ' OR '1'='1 into a website login field and gains access without valid credentials. Which attack is this?

    • ACross-site scripting (XSS)
    • BDirectory traversal
    • CCross-site request forgery (CSRF)
    • DSQL injection
    Show answer and explanation

    Correct answer: D. SQL injection

    SQL injection inserts crafted SQL into an input so the database executes it, here making the WHERE clause always true. XSS injects scripts that run in other browsers, CSRF abuses an authenticated session, and directory traversal reaches files outside the web root.

  7. Question 72.0 Threats, Vulnerabilities, and Mitigations

    A flaw is being actively exploited in the wild before the vendor has released any patch or even acknowledged it. What is this known as?

    • AA zero-day vulnerability
    • BA legacy vulnerability
    • CA logic bomb
    • DA race condition
    Show answer and explanation

    Correct answer: A. A zero-day vulnerability

    A zero-day is a vulnerability exploited before a fix is available, so defenders have had zero days to patch. A logic bomb triggers on a condition, a race condition is a timing flaw, and a legacy issue stems from outdated unsupported systems.

  8. Question 82.0 Threats, Vulnerabilities, and Mitigations

    An attacker secretly positions themselves between two parties, relaying and potentially altering messages while both believe they are communicating directly. Which attack is this?

    • AOn-path attack
    • BWatering hole attack
    • CAmplification attack
    • DReplay attack
    Show answer and explanation

    Correct answer: A. On-path attack

    An on-path attack (formerly man-in-the-middle) intercepts and may modify traffic between two endpoints. A replay attack resends captured data, an amplification attack inflates traffic volume for a DDoS, and a watering hole compromises a site the target visits.

  9. Question 92.0 Threats, Vulnerabilities, and Mitigations

    A disgruntled employee with valid access copies confidential customer files to sell to a competitor. Which type of threat actor is this?

    • AHacktivist
    • BNation-state actor
    • CInsider threat
    • DScript kiddie
    Show answer and explanation

    Correct answer: C. Insider threat

    An insider threat is someone with legitimate access who misuses it. Nation-state actors are well-funded and government-backed, hacktivists are driven by a cause, and script kiddies use existing tools without deep skill.

  10. Question 102.0 Threats, Vulnerabilities, and Mitigations

    After compromising a standard user account, an attacker exploits a vulnerability to gain administrator-level rights on the same system. What is this technique called?

    • APersistence
    • BReconnaissance
    • CLateral movement
    • DPrivilege escalation
    Show answer and explanation

    Correct answer: D. Privilege escalation

    Privilege escalation is gaining higher permissions than originally granted. Lateral movement is spreading to other systems, persistence is maintaining access across reboots, and reconnaissance is gathering information about a target.

  11. Question 112.0 Threats, Vulnerabilities, and Mitigations

    Which mitigation most directly reduces the risk that a single stolen password gives an attacker access to an account?

    • AMultifactor authentication
    • BA web application firewall
    • CA longer session timeout
    • DDisk encryption
    Show answer and explanation

    Correct answer: A. Multifactor authentication

    Multifactor authentication requires an additional factor beyond the password, so a stolen password alone is not enough to log in. Disk encryption protects data at rest, and a web application firewall filters web traffic, neither of which addresses a reused or stolen credential directly.

  12. Question 123.0 Security Architecture

    Layering multiple independent security controls so that if one fails the others still protect the asset is best described as which strategy?

    • ADefense in depth
    • BImplicit deny
    • CLeast privilege
    • DSeparation of duties
    Show answer and explanation

    Correct answer: A. Defense in depth

    Defense in depth uses overlapping layers so no single failure exposes the asset. Separation of duties splits a task among people, least privilege limits permissions, and implicit deny blocks anything not explicitly allowed.

  13. Question 133.0 Security Architecture

    Where should a public-facing web server be placed to keep Internet traffic away from the internal network?

    • AOn the internal LAN with the workstations
    • BOn the domain controller
    • CIn a screened subnet (DMZ)
    • DDirectly on the Internet with no firewall
    Show answer and explanation

    Correct answer: C. In a screened subnet (DMZ)

    A screened subnet (DMZ) is an isolated network segment between the Internet and the internal LAN for public-facing services, so a compromise of the web server does not directly expose internal systems. Placing it on the LAN or a domain controller would put internal resources at risk.

  14. Question 143.0 Security Architecture

    Which control best protects the confidentiality of data on a laptop if the device is lost or stolen?

    • AFull disk encryption
    • BA host-based firewall
    • CAntivirus software
    • DA screen saver password only
    Show answer and explanation

    Correct answer: A. Full disk encryption

    Full disk encryption renders the stored data unreadable without the key, so a thief who removes or boots the drive cannot read it. Antivirus, a screen saver password alone, and a firewall do not protect data that is read directly off the disk.

  15. Question 153.0 Security Architecture

    Which technique divides a network into smaller isolated zones to limit how far an attacker can move after a breach?

    • ASegmentation
    • BLink aggregation
    • CPort mirroring
    • DNetwork address translation
    Show answer and explanation

    Correct answer: A. Segmentation

    Segmentation (for example with VLANs or microsegmentation) isolates parts of the network so a compromise in one zone cannot freely reach others. Port mirroring copies traffic for monitoring, link aggregation combines links for bandwidth, and NAT maps addresses.

Halfway. Reading an answer you can already see is not the same as recalling it under a clock. A free account gives you 271 Domain 1 questions graded, plus a placement check and a dated plan.

  1. Question 163.0 Security Architecture

    A backup copies all data that has changed since the last full backup, regardless of any backups taken in between. Which backup type is this?

    • AFull
    • BIncremental
    • CDifferential
    • DSnapshot
    Show answer and explanation

    Correct answer: C. Differential

    A differential backup captures everything changed since the last full backup, so restoring needs only the full plus the latest differential. An incremental captures changes since the last backup of any type, a full copies everything, and a snapshot is a point-in-time image.

  2. Question 174.0 Security Operations

    Which tool collects and correlates log and event data from many sources to support real-time alerting and investigation?

    • AProxy server
    • BDLP
    • CLoad balancer
    • DSIEM
    Show answer and explanation

    Correct answer: D. SIEM

    A SIEM (Security Information and Event Management) aggregates logs from across the environment, correlates them, and raises alerts. DLP prevents data exfiltration, a proxy mediates web requests, and a load balancer distributes traffic.

  3. Question 184.0 Security Operations

    A user is granted only the permissions required to do their job and nothing more. Which principle does this describe?

    • ALeast privilege
    • BJob rotation
    • CSeparation of duties
    • DMandatory vacation
    Show answer and explanation

    Correct answer: A. Least privilege

    Least privilege limits each user to the minimum access needed, shrinking what an attacker gains if the account is compromised. Separation of duties splits sensitive tasks, while mandatory vacation and job rotation are controls that expose fraud over time.

  4. Question 194.0 Security Operations

    Which sequence best represents the order of the incident response process?

    • AIdentification, Preparation, Recovery, Containment, Eradication, Lessons learned
    • BContainment, Preparation, Identification, Recovery, Eradication, Lessons learned
    • CPreparation, Identification, Containment, Eradication, Recovery, Lessons learned
    • DPreparation, Recovery, Identification, Eradication, Containment, Lessons learned
    Show answer and explanation

    Correct answer: C. Preparation, Identification, Containment, Eradication, Recovery, Lessons learned

    Incident response runs preparation first, then identification (detection), containment to stop the spread, eradication to remove the cause, recovery to restore operations, and finally lessons learned to improve. Containment must come before eradication and recovery.

  5. Question 204.0 Security Operations

    Which solution is designed to detect and block sensitive information, such as credit card numbers, from leaving the organization over email or uploads?

    • AIntrusion detection system (IDS)
    • BData loss prevention (DLP)
    • CNetwork access control (NAC)
    • DSecurity orchestration (SOAR)
    Show answer and explanation

    Correct answer: B. Data loss prevention (DLP)

    DLP inspects data in use, in motion, and at rest to stop sensitive content from being exfiltrated. NAC controls device admission to the network, an IDS alerts on intrusions, and SOAR automates response workflows.

  6. Question 214.0 Security Operations

    Logging in with a fingerprint is an example of which authentication factor?

    • ASomewhere you are
    • BSomething you know
    • CSomething you have
    • DSomething you are
    Show answer and explanation

    Correct answer: D. Something you are

    A fingerprint is a biometric trait, which is the "something you are" (inherence) factor. Something you know is a password or PIN, something you have is a token or phone, and somewhere you are is location based.

  7. Question 224.0 Security Operations

    Regularly applying vendor-released updates to remediate known software vulnerabilities is known as?

    • APatch management
    • BPenetration testing
    • CTabletop exercising
    • DThreat hunting
    Show answer and explanation

    Correct answer: A. Patch management

    Patch management is the process of identifying, testing, and deploying updates that fix vulnerabilities. Penetration testing simulates attacks, threat hunting proactively searches for hidden threats, and a tabletop exercise rehearses incident response on paper.

  8. Question 234.0 Security Operations

    Which technology checks a device for compliance, such as current patches and antivirus, before allowing it to connect to the network?

    • ASingle sign-on (SSO)
    • BDomain Name System (DNS)
    • CVirtual private network (VPN)
    • DNetwork access control (NAC)
    Show answer and explanation

    Correct answer: D. Network access control (NAC)

    NAC enforces a posture check and admits, quarantines, or blocks devices based on compliance. A VPN encrypts a remote connection, DNS resolves names to addresses, and SSO lets a user authenticate once for many services.

  9. Question 244.0 Security Operations

    Which mechanism lets a client confirm that a digital certificate has not been revoked by the issuing authority?

    • AA certificate revocation list (CRL)
    • BA private key
    • CA certificate signing request (CSR)
    • DA self-signed certificate
    Show answer and explanation

    Correct answer: A. A certificate revocation list (CRL)

    A CRL is a published list of certificates the CA has revoked, so clients can reject them (OCSP is the real-time alternative). A CSR requests a new certificate, a self-signed certificate has no external trust, and a private key is the secret half of a key pair.

  10. Question 255.0 Security Program Management and Oversight

    After an organization applies controls to reduce a risk, the level of risk that still remains is called?

    • AResidual risk
    • BTransferred risk
    • CRisk appetite
    • DInherent risk
    Show answer and explanation

    Correct answer: A. Residual risk

    Residual risk is what remains after controls are applied. Inherent risk is the risk before any controls, risk appetite is how much risk the organization is willing to accept, and transferred risk is shifted to a third party such as an insurer.

  11. Question 265.0 Security Program Management and Oversight

    A company decides not to offer a new online service at all because the associated security risk is unacceptable. Which risk response is this?

    • ARisk avoidance
    • BRisk transference
    • CRisk mitigation
    • DRisk acceptance
    Show answer and explanation

    Correct answer: A. Risk avoidance

    Risk avoidance eliminates the risk by not engaging in the activity. Acceptance takes no action and absorbs the risk, transference shifts it to a third party, and mitigation reduces likelihood or impact with controls.

  12. Question 275.0 Security Program Management and Oversight

    Which agreement defines the expected level of service, including uptime and response times, between a provider and a customer?

    • AService level agreement (SLA)
    • BNon-disclosure agreement (NDA)
    • CMemorandum of understanding (MOU)
    • DBusiness partnership agreement (BPA)
    Show answer and explanation

    Correct answer: A. Service level agreement (SLA)

    An SLA specifies measurable service commitments such as uptime and response times. An MOU is a broad statement of intent, an NDA protects confidential information, and a BPA governs a partnership between businesses.

  13. Question 285.0 Security Program Management and Oversight

    Who is ultimately responsible for classifying a set of data and deciding who may access it?

    • AThe data custodian
    • BThe data owner
    • CThe data subject
    • DThe data processor
    Show answer and explanation

    Correct answer: B. The data owner

    The data owner is accountable for classifying data and authorizing access. The custodian implements and maintains the controls, the processor handles data on behalf of the controller, and the data subject is the individual the data is about.

  14. Question 295.0 Security Program Management and Oversight

    Which metric defines the maximum acceptable amount of time to restore a system or service after an outage?

    • ARecovery point objective (RPO)
    • BRecovery time objective (RTO)
    • CMean time between failures (MTBF)
    • DMaximum tolerable downtime baseline
    Show answer and explanation

    Correct answer: B. Recovery time objective (RTO)

    RTO is the target time to bring a system back after an outage. RPO is the maximum acceptable amount of data loss measured in time, and MTBF is the average time between failures of a system.

  15. Question 305.0 Security Program Management and Oversight

    Before signing with a cloud provider, an organization researches the certifications, financial health, and security posture of the vendor. This investigation is best described as?

    • ASeparation of duties
    • BChange management
    • CDue diligence
    • DAn acceptable use policy
    Show answer and explanation

    Correct answer: C. Due diligence

    Due diligence is the up-front investigation of a vendor before entering an agreement. Separation of duties splits sensitive tasks, change management governs how changes are approved, and an acceptable use policy defines proper use of systems.

Ready for the real thing?

This is a free 30-question sample with the answers next to it, which is a different exercise from being tested. A free account grades you, remembers what you missed, and brings it back when you are about to forget it.

  • All 4 Domain 1 objectives: a lesson, a hands-on lab and 57 to 77 exam-style questions each
  • A placement check that skips you past what you already know
  • A dated day-by-day plan built around your exam date
  • One timed sitting from a domain you have not paid for, 10 questions that open with a PBQ
  • 3 terminal labs and 2 alert-triage drills

Free forever on Domain 1. No card.

New accounts get 30% off both plans for 7 days: the 90-Day Pass is $27.30 instead of $39.

Practice by domain

Want to drill one area at a time? Each domain has its own free question set.

Security+ practice test FAQ

  • Is this Security+ practice test free?
    Yes. All 30 questions, with answers and explanations, are free. No account, payment, or download is required.
  • How many questions are on the real Security+ exam?
    The SY0-701 exam has a maximum of 90 questions in 90 minutes, including performance-based questions, and the passing score is 750 on a scale of 100 to 900.
  • Are these real CompTIA exam questions?
    No. These are original questions written to the SY0-701 objectives. CompTIA does not release live exam questions, and using leaked questions violates their exam policy.
  • How is this practice test weighted?
    The 30 questions are spread across all five domains roughly in proportion to their exam weight, so the mix mirrors the real SY0-701 blueprint.

More free study: practice questions by topic, the ports cheat sheet, and the acronyms glossary.

A practice test is only worth the questions in it, so we publish the standard every question has to clear. It sits alongside the rest of the free study tools.

Original practice questions aligned to the CompTIA Security+ SY0-701 objectives. CompTIA and Security+ are trademarks of CompTIA, used here for identification only.