Security

CompTIA Security+ Practice Questions (SY0-701) with Answers

If you booked a CompTIA Security+® seat for SY0-701 before CompTIA switched its recommendation to the new version, you’re studying for an exam with a fixed end date, and every week counts. Your study guide’s chapter quizzes are probably familiar by now. What you need are questions you haven’t seen, written to the five SY0-701 domains, with explanations that say why each wrong option is wrong.

Original content from computingforgeeks.com - post 196061

We wrote 80 original CompTIA Security+ practice questions with answers for that, split across the domains in proportion to CompTIA’s published weights. Every key was checked against NIST publications, OWASP, the RFCs and vendor documentation in November 2026, and a second pass answered all 80 with the keys hidden and agreed on every one.

The sets below are free and need no sign-up. They teach the ideas in a way that also helps anyone working in a SOC, on a help desk or in cloud operations, so you don’t need a booking to get value from them. We’re not affiliated with CompTIA; this is independent practice written from the public objectives.

SY0-701 against the new SY0-801

CompTIA launched Security+ V8 (SY0-801) on November 17, 2026, and the CompTIA Security+ certification page now calls it the recommended version. V7, the SY0-701 exam this bank is built for, stays available until June 11, 2027 for English and August 13, 2027 for the translated versions. The sitting itself looks the same on paper:

DetailV7 (SY0-701)V8 (SY0-801)
Launch dateNovember 7, 2023November 17, 2026
RetirementJune 11, 2027 (English)Estimated 3 years after launch
QuestionsMaximum of 90, multiple choice and performance-basedMaximum of 90, multiple choice and performance-based
Time90 minutes90 minutes
Passing score750 on a 100 to 900 scale750 on a 100 to 900 scale
LanguagesEnglish, Japanese, Portuguese, Spanish, ThaiEnglish

The real difference is in the weights and in one new topic. V8 adds an objective on the security risks of AI systems (models, prompts and data exposure), and it moves weight away from governance toward threats and core concepts. In practice this means a candidate already deep into SY0-701 material should stay on V7 and book before the June cut-off, while someone starting from zero in 2027 is better served by V8 books and V8 objectives. Here is how the five domains compare, with the size of each set in our bank:

DomainSY0-701 weightSY0-801 weightQuestions in our bank
1.0 General security concepts12%16%10
2.0 Threats, vulnerabilities and mitigations (V8: attacks)22%24%18
3.0 Security architecture18%19%14
4.0 Security operations28%27%22
5.0 Security program management and oversight20%14%16

Security operations is the largest domain on both versions, at more than a quarter of the weight, and it leans on everything else: you can’t pick the right incident response step or prioritize a scan result without the concepts from domains 1 and 2. That’s where we’d start drilling. Most of this bank still applies to SY0-801, because the core topics of controls, cryptography, identity and incident handling carry over; the dedicated AI risk objective is the obvious gap.

Five domain sets weighted like SY0-701

Each card below draws 10 random questions from one domain and shows the answer and explanation after each one, and a retake pulls a fresh mix. Take all five once before you drill anything, because the first pass is a measurement rather than practice. Within an hour you’ll know which two domains cost you the most points, and that’s where the rest of your study time should go.

General security concepts

The smallest domain asks you to classify things precisely: a control as compensating or deterrent, a property as non-repudiation or integrity, a zero trust component as the decision point or the enforcement point. The cryptography questions are about choosing the right tool, such as a slow salted hash for passwords, OCSP for live revocation checks, ephemeral Diffie-Hellman for forward secrecy and tokenization for card numbers. If you want to see these primitives on a real system, our OpenSSL commands for keys, certificates and TLS show what a CSR, a chain and a cipher suite look like in practice.

Loading quiz...

Threats, vulnerabilities and mitigations

Most questions here describe what an attacker did and ask you to name it, so the trap is two names that sound alike. Password spraying and credential stuffing both show failed logins, but spraying uses one password across many accounts and stuffing uses breached pairs. Server-side and cross-site request forgery differ by whose machine sends the forged request. The set also covers threat actor motives, watering holes, supply chain compromise, SQL injection, stored XSS, race conditions, pass the hash, DNS tunneling, VM escape and mobile side loading, each paired with the mitigation that actually stops it.

Loading quiz...

Security architecture

Architecture questions turn on placement and on what happens when something fails. Where does a public web server go, should an inline sensor fail open or closed, which IPsec mode hides the original headers, and which recovery site meets a recovery time measured in minutes. Network segmentation shows up again and again, and on Linux the host firewall is the last layer of it.

Loading quiz...

Security operations

This is the heaviest set and the one closest to day-to-day SOC work: hardening baselines, WPA3, mobile deployment models, media sanitization, credentialed scanning, the KEV catalog, false positives from backported patches, SIEM against SOAR, DMARC, protective DNS, EDR isolation, SAML, MFA factors, privileged access, containment, the order of volatility and chain of custody. Many questions hand you a log line or a symptom, and reading Windows security events quickly helps, which is why our Windows event ID reference for security and system logs is worth having open while you work through it.

Loading quiz...

Security program management and oversight

Governance is the most vocabulary-heavy domain, and that’s where its points go. Policy against standard against procedure, appetite against tolerance, SLA against MOU, SOC 2 Type I against Type II, controller against processor: each pair differs by one precise idea. The set also includes a risk calculation with SLE, ARO and ALE, which you should work on paper. Flashcards beat rereading here, so turn every miss into a card with the term on one side and what it measures on the other.

Loading quiz...

Two rounds in a row at 80% or better in a domain is the point where we’d move on. A domain that stays under 70% after three rounds is a knowledge gap rather than a question problem, so go back to the matching chapter before you draw more, because repeated draws from a small pool start to test your memory of our wording instead of the concept.

Ten sample questions with worked answers

These ten come from the same bank and follow the domain weights: one from concepts, two each from threats, architecture and governance, and three from operations. Answer each before opening the explanation, and read the reasoning on the ones you get right too, since a correct guess you can’t explain won’t survive a reworded version.

Concepts and threats

Q1. An attacker records months of encrypted HTTPS traffic and later steals the web server’s long-term private key. Which design keeps the recorded sessions unreadable?

A. RSA key transport with a 4096-bit key
B. A longer certificate validity period
C. Storing the private key on the web server’s disk with strict permissions
D. Ephemeral Diffie-Hellman key exchange such as ECDHE

Show answer

D. With ephemeral Diffie-Hellman each session key comes from throwaway values that are discarded, so the long-term key only authenticates the server and can’t decrypt old sessions. That property is forward secrecy, and TLS 1.3 removed static RSA and static Diffie-Hellman, so every certificate-based TLS 1.3 handshake has it. RSA key transport encrypts the session key with the long-term key, so stealing that key later unlocks every recording, whatever its size.

Q2. Authentication logs show one failed login for each of 4,000 different accounts over six hours, all using the password Autumn2026!. Which attack is under way?

A. Credential stuffing
B. Password spraying
C. An offline dictionary attack
D. A brute force attack on one account

Show answer

B. Password spraying tries one or a few common passwords across many accounts, slowly enough to stay under per-account lockout thresholds. Credential stuffing would show a different username and password pair on each attempt, taken from a breach. Brute force hammers one account, and an offline attack runs against stolen hashes and leaves no failed logins at all.

Q3. An image preview feature fetches any URL a user submits. An attacker submits http://169.254.169.254/latest/meta-data/ and receives the cloud instance’s credentials in the preview. Which vulnerability is this?

A. Server-side request forgery
B. Cross-site request forgery (CSRF)
C. Directory traversal
D. Open redirect

Show answer

A. The server is tricked into requesting an internal address the attacker can’t reach directly, which is server-side request forgery. The link-local metadata address is the classic cloud target, and IMDSv2 session tokens plus outbound allow lists are the usual fixes. CSRF abuses a user’s browser, traversal walks file paths, and an open redirect only bounces a browser to another URL.

Architecture and resilience

Q4. An inline intrusion prevention appliance protects a payment network. If the appliance crashes, policy says no uninspected traffic may pass. How should it be configured?

A. To fail closed
B. To fail open
C. In passive tap mode
D. With port mirroring only

Show answer

A. Failing closed (fail secure) means a failure blocks traffic, trading availability for security, which is what the policy asks for. Fail open keeps traffic flowing uninspected and suits networks where uptime outranks inspection. A tap or a mirrored port only sees copies of the traffic, so the sensor couldn’t block anything even while it works.

Q5. A business impact analysis sets a recovery point objective of four hours for the order database. What does that require of the backup design?

A. Backups or replication at least every four hours
B. Restoring the database within four hours of an outage
C. Keeping backups for at least four months
D. Testing the restore procedure every four weeks

Show answer

A. The RPO is the maximum acceptable data loss measured in time, so copies must be taken at least that often. Restoring within a deadline is the recovery time objective, a separate number that option B describes. Retention and test schedules matter, but neither sets how much data you can lose.

Security operations

Q6. Old laptops with self-encrypting SSDs are being sold to a recycler. Policy says the data must be unrecoverable even with laboratory techniques, but the drives should stay usable. Which sanitization level and method fit?

A. Clear, by deleting the user profiles
B. Destroy, by shredding the drives
C. Purge, by a cryptographic erase of the drive’s media encryption key
D. Clear, by a quick format of each partition

Show answer

C. NIST SP 800-88 defines purge as sanitization that resists laboratory recovery, and a cryptographic erase of a self-encrypting drive’s key is an accepted purge method that leaves the drive reusable. Clear only stops simple recovery, and deleting files or a quick format doesn’t even reach that level. Destroy works too, but it defeats the goal of reselling the drives.

Q7. A scanner flags an Apache httpd package on a Red Hat Enterprise Linux server as vulnerable because its upstream version number is old. The vendor’s errata show the fix was backported into that package release. How should the finding be treated?

A. As a false positive to document after checking the errata
B. As a true positive requiring an upgrade to upstream Apache
C. As a false negative in the scanner
D. As an accepted risk needing management sign-off

Show answer

A. Red Hat backports security fixes without changing the upstream version number, so a version-only check reports a flaw that’s already fixed. Confirm the CVE against the errata or the package changelog and record the exception. A false negative is the opposite case, a real flaw the scanner missed, and there’s no remaining risk here to accept.

Q8. A responder arrives at a running server suspected of compromise. Which should be collected first according to the order of volatility?

A. The disk image
B. Archived backup tapes
C. Remote syslog records
D. The contents of system memory

Show answer

D. RFC 3227 orders collection from most to least volatile. Memory, with its running processes and network connections, disappears at shutdown and changes while the machine runs, so it comes before the disk, then remote logs, then archival media such as tapes.

Governance, risk and privacy

Q9. A warehouse system is worth $200,000. A flood would damage 25% of it, and the site expects one such flood every five years. What is the annualized loss expectancy?

A. $40,000
B. $10,000
C. $50,000
D. $250,000

Show answer

B. SLE is asset value times exposure factor: $200,000 x 0.25 = $50,000. One flood in five years gives an ARO of 0.2, so ALE = SLE x ARO = $10,000 a year. $50,000 is the SLE alone, and $40,000 applies the rate to the whole asset value.

Q10. Under GDPR, an online shop decides why and how customer data is processed and hires an email platform to send its newsletters. What role does the email platform have?

A. Data processor
B. Data controller
C. Data subject
D. Supervisory authority

Show answer

A. GDPR Article 4 makes the party that sets the purposes and means of processing the controller (the shop) and the party processing on its behalf the processor (the email platform). Customers are data subjects, and the supervisory authority is the regulator.

If Q7 or Q9 caught you, that’s normal: both test whether you work the problem instead of matching keywords. A version string and a dollar figure invite a fast answer, and the distractors are built from exactly that fast answer.

How the questions were written and checked

A practice bank is only useful if its keys are right, so we built this one the way we’d build any reference that people rely on, with a source for every answer and a second reader who couldn’t see the keys:

  • Original wording: every stem and scenario was written from the public SY0-701 objectives. We compared all 80 stems against a 145-question community practice set and reworded anything that read too close.
  • One primary source per key: each answer cites a NIST glossary entry or special publication, an OWASP cheat sheet, an RFC, MITRE ATT&CK, CISA guidance or the vendor’s own page, fetched in November 2026.
  • Current guidance only: where advice has moved, the key follows today’s text. NIST SP 800-63B now says verifiers shall not force periodic password changes, and SP 800-61 Rev. 3 replaced the 2012 incident handling guide in April 2025.
  • Blind re-answer: a second pass answered all 80 with the keys hidden and matched every one. Three answers came back with medium confidence, and we tightened those stems so only one option holds up.
  • No length tells: the right option is the longest in fewer than a third of the questions, so you can’t guess by picking the most detailed answer.

What the bank can’t reproduce are the performance-based questions, which ask you to configure a firewall, match attacks to controls or sort log entries in a simulated interface. They take longer than multiple choice, so a candidate who answers the multiple-choice items quickly has more minutes left for them. Speed on the material in these sets is what buys that time.

Distinctions that cost Security+ marks

The misses that cost the most are rarely exotic topics. They’re pairs of well-known ideas read too quickly, and the same handful turn up in nearly every round of practice:

  • RPO and RTO: RPO is how much data you can lose, RTO is how long you can be down. Backup frequency drives the first, recovery speed the second.
  • Clear, purge and destroy: clear stops casual recovery, purge stops laboratory recovery and keeps the media usable, destroy leaves nothing to reuse.
  • Decision point and enforcement point: in zero trust the policy decision point decides, and the enforcement point only opens or closes the connection on its word.
  • Two things you know: a password plus a PIN or a security question is still one factor, however many prompts the login shows.
  • Containment before eradication: isolate first, then remove the malware, then recover. Restoring a backup before the entry point is closed invites a second infection.
  • Risk appetite and risk tolerance: appetite is the broad amount of risk the board will pursue, tolerance is the acceptable variation around one objective.

Most of these reward slowing down by two or three seconds on the stem rather than learning anything new. When two options both look right, the stem nearly always contains the word that rules one out, such as “first”, “most directly” or “without downloading a full list”, so find that word before you choose.

Where Security+ leads next

Questions only prove what you already know, so pair this bank with one structured text. Our roundup of the best CompTIA Security+ books for SY0-701 and SY0-801 says which edition of each study guide matches which version, which matters more than usual while both are on sale. The rest of the CompTIA and vendor sets on the site are built the same way as this page:

After Security+, most people move toward either operations or architecture. The operations path runs through a SOC analyst role and tools like Wazuh, Splunk and Elastic, and our guide to the best SIEM books for SOC teams covers the reading for it. CompTIA and Security+ are registered trademarks of CompTIA, Inc., and this page is not affiliated with or endorsed by CompTIA.

Keep reading

Java4Shell (CVE-2026-114938): Find and Patch Vulnerable JVMs Security Java4Shell (CVE-2026-114938): Find and Patch Vulnerable JVMs UFW Firewall Commands with Examples on Ubuntu 26.04 / 24.04 Security UFW Firewall Commands with Examples on Ubuntu 26.04 / 24.04 nginx HTTP/2 RCE CVE-2026-123007: Check, Disable HTTP/2, Patch Security nginx HTTP/2 RCE CVE-2026-123007: Check, Disable HTTP/2, Patch WP Rocket CVE-2026-125812: Check, Patch and Hunt Planted Files Security WP Rocket CVE-2026-125812: Check, Patch and Hunt Planted Files Enable Post-Quantum TLS in Nginx, Apache, HAProxy and OpenSSH Security Enable Post-Quantum TLS in Nginx, Apache, HAProxy and OpenSSH Install Nessus Vulnerability Scanner on Kali Linux Security Install Nessus Vulnerability Scanner on Kali Linux

Leave a Comment

Press ESC to close