Skip to main content

CompTIA · SY0-801

SY0-801 practice questions with answers

15 free practice questions for the CompTIA Security+ (SY0-801) exam, spread across the exam's domains. Try each one, then open the answer to see why every option is right or wrong.

Questions last updated

How we write and review questions

Before you start: Security+ passing score (750/900), 750 on a 100–900 scale for SY0-701, SY0-801 and the retired SY0-601, and why it isn't 83%.

  1. Question 1 · General Security Concepts

    A vendor digitally signs a software update with its private key. Customers verify the signature with the vendor's public key before installing it. Which combination of assurances does the signature provide?

    • APublisher authentication, file integrity, and non-repudiation
    • BPublisher authentication, file integrity, and confidentiality
    • CFile integrity only, with no proof of who published it
    • DFile confidentiality and non-repudiation, but not integrity
    Show answer and explanation

    Answer: A) Publisher authentication, file integrity, and non-repudiation

    A digital signature provides authentication of the signer, integrity of the signed data, and non-repudiation. It does not provide confidentiality, which needs separate encryption.

    • ACorrect. If the signature checks out with the vendor's public key, the update came from whoever holds the matching private key and has not been changed. Because only the signer holds that private key, the signer cannot plausibly deny signing it.
    • BIncorrect. A signature does not encrypt the file. Anyone with the public key can verify it and the contents stay readable. Confidentiality needs separate encryption.
    • CIncorrect. This describes a plain, unkeyed hash. A digital signature encrypts the hash with the signer's private key, so it also proves where the file came from.
    • DIncorrect. Integrity is a core assurance of a signature: any change to the file makes verification fail. A signature also provides no confidentiality.
  2. Question 2 · General Security Concepts

    During boot, a laptop's TPM records measurements of each component so a remote service can verify that the firmware and boot loader haven't been tampered with. What does the TPM provide here?

    • AA hardware root of trust
    • BKey stretching
    • CTokenization
    • DA wildcard certificate
    Show answer and explanation

    Answer: A) A hardware root of trust

    • AThe TPM is a trusted hardware anchor that securely stores measurements and keys used to verify the boot process.
    • BKey stretching strengthens password-derived keys; it isn't boot verification.
    • CTokenization replaces sensitive values with tokens.
    • DA wildcard certificate covers many subdomains; it isn't involved in boot measurement.
  3. Question 3 · Threats, Vulnerabilities, and Attacks

    An on-path attacker interferes with a TLS negotiation so the client and server agree on an outdated protocol version with known weaknesses. Which attack is this?

    • AA downgrade attack
    • BA collision attack
    • CDNS poisoning
    • DA directory traversal
    Show answer and explanation

    Answer: A) A downgrade attack

    • AA downgrade attack manipulates negotiation so both sides fall back to a weaker protocol or cipher the attacker can exploit.
    • BA collision attack finds two inputs with the same hash; it doesn't alter protocol negotiation.
    • CDNS poisoning corrupts name resolution to redirect users; it doesn't change which TLS version is negotiated.
    • DDirectory traversal abuses file path input in a web application; it's unrelated to TLS negotiation.
  4. Question 4 · Threats, Vulnerabilities, and Attacks

    A vulnerability is being actively exploited in the wild and the vendor has not yet released a patch. What is this called?

    • AA zero-day vulnerability
    • BA legacy vulnerability
    • CA misconfiguration
    • DA false positive
    Show answer and explanation

    Answer: A) A zero-day vulnerability

    • AA zero-day is a flaw exploited before a fix is available, so defenders have had zero days to patch it.
    • BLegacy issues stem from unsupported/outdated systems; a patch may still exist or the platform is simply EOL.
    • CA misconfiguration is an insecure setting the owner can correct themselves; it isn't a flaw awaiting a vendor patch.
    • DA false positive is a scanner flagging something that isn't actually a vulnerability.
  5. Question 5 · Threats, Vulnerabilities, and Attacks

    A team has one maintenance window tonight and can fix either a CVSS 9.3 flaw or a CVSS 6.5 flaw. Which two facts would justify fixing the 6.5 flaw first? (Choose two.)

    Select 2 answers.

    • AThe 6.5 flaw is in a catalog of vulnerabilities known to be exploited
    • BThe 9.3 flaw was publicly disclosed more recently than the 6.5 flaw was
    • CThe 6.5 sits on an internet-facing payment server; the 9.3 is offline
    • DThe 9.3 flaw has a CVE ID, while the 6.5 flaw has only a vendor advisory
    • EThe 6.5 flaw belongs to a weakness category that contains many entries
    Show answer and explanation

    Answer: A) The 6.5 flaw is in a catalog of vulnerabilities known to be exploited; C) The 6.5 sits on an internet-facing payment server; the 9.3 is offline

    Prioritize by risk, not score alone: known exploitation, exposure and asset criticality can move a lower-scored flaw ahead of a higher one.

    • AEvidence of active exploitation raises real-world likelihood sharply, which can outweigh a higher base score on a flaw nobody is attacking.
    • BDisclosure date alone says nothing about risk. A newer flaw is not less dangerous for being new.
    • CExposure and asset criticality both favor the 6.5 flaw: it is reachable by attackers and sits on a business-critical system, while the 9.3 host is unreachable.
    • DWhether a CVE ID has been assigned does not change how risky either flaw is.
    • EHow common a weakness type is does not make this particular instance more urgent.
  6. Question 6 · Threats, Vulnerabilities, and Attacks

    A visitor plugs a laptop into an active network jack in a conference room and immediately gets an address on the internal network. Which weakness does this show?

    • AAn unsecured wired network
    • BA cryptographic weakness
    • CBloatware
    • DA logic bomb
    Show answer and explanation

    Answer: A) An unsecured wired network

    • ALive jacks without port security or 802.1X let anyone connect to the internal network.
    • BNo encryption is involved in getting an address from a live jack.
    • CBloatware is unnecessary preinstalled software.
    • DA logic bomb is malicious code awaiting a trigger.
  7. Question 7 · Security Architecture

    A critical database must lose no more than a few seconds of data if the primary data center fails. Which approach best meets this recovery point objective?

    • AContinuous replication to a second site
    • BA full backup to tape every night
    • CA weekly snapshot copied offsite
    • DMonthly archives to cold storage
    Show answer and explanation

    Answer: A) Continuous replication to a second site

    • AReplicating changes as they happen keeps the standby nearly current, giving a very small RPO.
    • BNightly backups could lose up to a day of data, far beyond a few seconds.
    • CWeekly snapshots could lose up to a week of changes.
    • DMonthly archives are for retention, not near-zero data loss.
  8. Question 8 · Security Architecture

    An organization labels information as Public, Internal, Confidential, or Restricted and publishes handling rules for each label. What is the PRIMARY purpose of this data classification scheme?

    • ATo scale encryption, access, storage, and disposal controls to match each data set's sensitivity
    • BTo record which business owner is accountable for approving access to each data set
    • CTo rank systems by how quickly each must be restored after a disruption occurs
    • DTo document the geographic location of each data set to address data sovereignty
    Show answer and explanation

    Answer: A) To scale encryption, access, storage, and disposal controls to match each data set's sensitivity

    A data classification scheme sorts data by sensitivity so the organization can apply stronger protection and handling controls to more sensitive data. Ownership, recovery priority and data location are related governance concerns, but they are not the purpose of classification.

    • ACorrect. Classification identifies data by sensitivity or impact. The organization then defines controls for each level, such as encryption, access control, storage location, data loss prevention (DLP) and destruction. These controls get stronger as sensitivity increases.
    • BIncorrect. Assigning an accountable data owner is a governance role, not what a sensitivity label does. Owners often assign classifications, but recording ownership is not the scheme's main purpose.
    • CIncorrect. Restore priority comes from a business impact analysis (BIA) and recovery objectives such as the recovery time objective (RTO). These labels measure how harmful disclosure would be, not how urgently a system must be recovered.
    • DIncorrect. Tracking where data is stored supports data sovereignty and residency requirements. Sensitivity labels do not record location, although a classification level may restrict where data can be stored.
  9. Question 9 · Security Architecture

    A team defines all infrastructure in version-controlled templates and redeploys fresh instances for every change instead of modifying running servers. What is a key security benefit of this immutable, infrastructure-as-code approach?

    • AEach instance is built from a reviewed, versioned definition, reducing configuration drift and undocumented changes
    • BRunning servers can be patched in place more quickly, so fixes are applied without rebuilding any instances
    • CAdministrators keep persistent SSH access so they can fine-tune the hardening of each server individually
    • DSecrets can be kept as plaintext in the templates, since the repository already tracks every version
    Show answer and explanation

    Answer: A) Each instance is built from a reviewed, versioned definition, reducing configuration drift and undocumented changes

    Immutable infrastructure built from IaC replaces resources instead of modifying them, so every deployment comes from a known, reviewable configuration and configuration drift is reduced. In-place patching, manual tuning, and plaintext secrets all go against this model.

    • AReplacing resources from a known, version-controlled configuration puts each deployment in a known, tested state. This reduces drift and removes unmanaged changes, including unauthorized ones, on every redeploy. The templates can also be reviewed and scanned before deployment.
    • BImmutable infrastructure specifically forbids in-place updates, including security patches. Changes are made by building and deploying new instances.
    • CHand-tuning individual servers creates drift and one-off 'snowflake' systems. Because nothing is changed in place, immutable designs let remote access such as SSH be disabled, which shrinks the attack surface.
    • DVersion control records history but doesn't protect secrets. Plaintext credentials in templates are exposed to anyone with repository access and stay in the history. Secrets belong in a dedicated secrets manager.
  10. Question 10 · Security Operations

    A SOC wants a set of routine steps to run the same way every time a certain alert fires, with no analyst involved: pull threat intel on the indicators, open a ticket in the ITSM system, isolate the endpoint through the EDR agent, and message the on-call analyst. Which capability is designed to coordinate these steps across the different tools?

    • AA SOAR platform running a playbook triggered by the alert
    • BA SIEM correlation rule that raises a high-severity alert
    • CAn EDR agent configured with automatic host isolation
    • DA threat intelligence platform that scores indicators
    Show answer and explanation

    Answer: A) A SOAR platform running a playbook triggered by the alert

    Coordinating repeatable response steps (enrichment, ticketing, containment, notification) across several tools is the job of a SOAR playbook. SIEM, EDR and TIP each handle only one piece of the workflow.

    • ACorrect. SOAR (security orchestration, automation, and response) runs playbooks: routines of response and remediation actions that integrate with internal and external systems. A playbook can run automatically when an alert or incident is raised, so it can enrich, open a ticket, contain the host and notify the analyst as one coordinated workflow.
    • BIncorrect. A SIEM collects and correlates events to detect incidents and raise alerts. A correlation rule creates the alert, but it does not by itself coordinate enrichment, ticketing, containment and notification across other tools.
    • CIncorrect. EDR can contain one endpoint, but that is only one step. It does not open ITSM tickets, query outside intel sources or coordinate a workflow that spans several tools.
    • DIncorrect. A TIP collects, manages and scores indicators, so it could supply the enrichment data. It does not coordinate ticketing, containment and notification as an automated response workflow.
  11. Question 11 · Security Operations

    A security team is building a baseline for corporate Windows laptops. Which of the following are endpoint-hardening measures that belong in this baseline? (Choose three.)

    Select 3 answers.

    • AApplication control policies that allow only approved executables and scripts to run
    • BFull-disk encryption protected by the TPM, with UEFI Secure Boot enabled
    • CA host-based firewall plus an EDR agent with tamper protection turned on
    • DInbound Remote Desktop enabled on every laptop so the help desk can connect directly
    • EAntivirus exclusions for user profile folders to reduce scanning overhead on laptops
    Show answer and explanation

    Answer: A) Application control policies that allow only approved executables and scripts to run; B) Full-disk encryption protected by the TPM, with UEFI Secure Boot enabled; C) A host-based firewall plus an EDR agent with tamper protection turned on

    Allow-listing, TPM-backed full-disk encryption with Secure Boot, and a host firewall with tamper-protected EDR all reduce the attack surface or protect data on the endpoint. Blanket inbound RDP and broad antivirus exclusions weaken the device to make support or performance easier.

    • AApplication control changes the default from 'run unless known bad' to 'run only if the policy allows it'. This blocks unknown malware and unapproved tools.
    • BBitLocker with a TPM protects data on lost or stolen laptops and checks that the boot process hasn't been tampered with. Secure Boot further protects the startup chain.
    • CThe host firewall limits network exposure. EDR detects and responds to threats on the device, and tamper protection stops attackers from turning off its security settings.
    • DOpening an inbound remote-access service on every laptop enlarges the attack surface and gives attackers an easy path for lateral movement. Hardening removes unnecessary services rather than adding them.
    • EBroad exclusions create blind spots in places where malware often lands, such as Downloads and AppData. This trades protection for performance, which is the opposite of hardening.
  12. Question 12 · Security Operations

    An analyst confirms that a workstation is actively infected with malware that is beaconing to an external server. What should the responder do FIRST to limit the damage?

    • ACut the workstation's network access, such as with EDR device isolation, while leaving it powered on
    • BWipe the workstation and reimage it from a known-good baseline image right away
    • CPower off the workstation immediately so the malware process stops running
    • DRun a full antivirus scan and delete detected files before taking any other action
    Show answer and explanation

    Answer: A) Cut the workstation's network access, such as with EDR device isolation, while leaving it powered on

    Containment comes before eradication: isolate the infected host from the network to stop C2 and spread, and keep it powered on to preserve evidence. Reimaging, shutting down, and scan-and-delete either destroy evidence or leave the threat active.

    • ACorrect. Network isolation is the standard containment step. It stops command-and-control traffic, lateral movement, and exfiltration, and keeping the device powered on preserves volatile evidence for the investigation. EDR isolation still lets the device reach the security service.
    • BIncorrect. Reimaging is eradication and recovery. Doing it first destroys the evidence needed to work out scope, root cause, and whether other hosts are affected.
    • CIncorrect. Shutting down loses volatile evidence such as memory, running processes, and active connections. Some malware also reacts to shutdown or persists across reboots, so network isolation is preferred.
    • DIncorrect. This tries eradication before containment. The malware keeps communicating and may spread while the scan runs, and deleting files destroys evidence.
  13. Question 13 · Security Operations

    A SaaS web application offers 'Sign in with your company account.' After the user authenticates at the corporate identity provider, the browser posts a digitally signed XML document to the application. The document contains the user's name identifier and group attributes. Which protocol is in use?

    • ASAML 2.0
    • BOpenID Connect
    • COAuth 2.0
    • DKerberos
    Show answer and explanation

    Answer: A) SAML 2.0

    A signed XML assertion with a name identifier and attributes, sent from an identity provider to a web application, is the defining feature of SAML 2.0 web SSO. OpenID Connect uses JSON Web Tokens instead, OAuth 2.0 is for authorization, and Kerberos uses KDC-issued tickets.

    • ACorrect. In SAML web SSO, the identity provider posts a Response containing a signed XML Assertion to the service provider. The assertion carries a Subject/NameID for the authenticated user and an AttributeStatement with claims about the user.
    • BIncorrect. OIDC also provides web SSO, but its ID token is a signed JSON Web Token (JWT), not an XML assertion. OIDC extends OAuth 2.0.
    • CIncorrect. OAuth 2.0 is an authorization framework that issues access tokens so an app can call APIs on a user's behalf. It does not define a signed XML authentication assertion, and authentication on top of it is provided by OIDC.
    • DIncorrect. Kerberos authenticates users with tickets issued by a Key Distribution Center, mostly inside a domain such as Active Directory. It does not post signed XML assertions from an identity provider to a web application through the browser.
  14. Question 14 · Security Program Management and Oversight

    The SOC keeps a documented, step-by-step guide for responding to a reported phishing email, from triage to blocking the sender. What is this document?

    • AA playbook
    • BA risk register
    • CAn acceptable use policy
    • DA business partnership agreement
    Show answer and explanation

    Answer: A) A playbook

    • AA playbook gives repeatable response steps for a specific type of incident.
    • BA risk register lists identified organizational risks.
    • CAn AUP states rules for using company systems.
    • DA BPA sets partnership terms between companies.
  15. Question 15 · Security Program Management and Oversight

    A SOC manager wants a metric for leadership that shows, on average, how long malicious activity goes unnoticed in the environment before the security team becomes aware of it. Which metric should the manager report?

    • AMean time to detect (MTTD)
    • BMean time to repair/recover (MTTR)
    • CMean time between failures (MTBF)
    • DAlert false positive rate
    Show answer and explanation

    Answer: A) Mean time to detect (MTTD)

    MTTD measures the average time between an incident occurring and its detection. MTTR measures recovery time, MTBF measures reliability, and the false positive rate measures alert quality.

    • AMTTD is the average time from when an incident or compromise occurs to when it is detected by monitoring or reported. That is exactly how long activity goes unnoticed.
    • BMTTR measures how long it takes to repair or restore an affected system after a failure or incident. It reflects recovery speed, not how long activity went unnoticed.
    • CMTBF is the average time between consecutive failures. It measures reliability, not how quickly the team becomes aware of an incident.
    • DThe false positive rate is the percentage of alerts that turn out not to need action. It reflects alert quality and alert fatigue, not the average time before an incident is noticed.

Ready for a full SY0-801 practice exam?

These are a sample from the CertRidge question bank. Full practice exams match the real exam's length, time limit and domain weights, with every answer explained.

Original questions written from the official exam guide. Not affiliated with CompTIA; never copied from the real exam.

How we write and review questions