Free CompTIA Security+ Practice Questions (SY0-801) with Answers
CompTIA Security+ V8 (SY0-801) launched November 17, 2026; the English SY0-701 retires June 11, 2027. The exam has a maximum of 90 multiple-choice and performance-based questions in 90 minutes, and the passing score is 750 on a scale of 100 to 900.
Below are 24 free practice questions. Pick your answer, then tap Show answer.
1. Card numbers are replaced with random values in an app, and the real numbers live only in a secure vault. What is this?
- Hashing
- Obfuscation by Base64
- Tokenization
- Steganography
Show answer
C. Tokenization
Tokens stand in for sensitive data; the mapping stays in the vault.
2. A firewall rule, antivirus and MFA protect the same server. What principle is this?
- Defense in depth
- Implicit trust
- Least privilege only
- Separation of duties
Show answer
A. Defense in depth
Multiple layers mean one failing control doesn't expose the system.
3. Which statement about verifying a digital signature is correct?
- The receiver uses the sender's public key
- The receiver uses its own private key
- The receiver uses the shared AES key
- The receiver uses the CA's private key
Show answer
A. The receiver uses the sender's public key
Signatures are created with the sender's private key and verified with the sender's public key.
4. Which principle does a SHA-256 hash of a downloaded file mainly protect?
- Availability
- Integrity
- Confidentiality
- Non-repudiation only
Show answer
B. Integrity
Comparing hashes shows whether the file changed: that is integrity.
5. Why are passwords salted before they are hashed?
- So the hash can be decrypted later
- To meet the CIA availability goal
- So identical passwords produce different hashes, which defeats precomputed rainbow tables
- To make the password shorter
Show answer
C. So identical passwords produce different hashes, which defeats precomputed rainbow tables
A unique random salt per password makes precomputed hash tables useless.
6. An attacker registers 'paypa1.com' to catch typing mistakes. What is this?
- Watering hole
- Typosquatting
- Vishing
- Whaling
Show answer
B. Typosquatting
Typosquatting uses misspelled domains.
7. Which vulnerability is created by leaving 'admin/admin' on a new camera?
- Default credentials
- Weak cipher suite
- Zero-day
- Race condition
Show answer
A. Default credentials
Change default passwords during setup.
8. Attackers infect a website that a target industry visits often. What is this called?
- Pharming via hosts file
- Brute force
- Smishing
- A watering hole attack
Show answer
D. A watering hole attack
They compromise a site the victims trust and frequent.
9. Attackers compromise a software vendor's update server so customers install malware with a normal update. What is this?
- SQL injection
- A supply chain attack
- A replay attack
- Typosquatting
Show answer
B. A supply chain attack
Compromising a trusted supplier spreads malware to its customers.
10. A program checks a file's permissions, then opens it; an attacker swaps the file in between. What flaw is this?
- Integer overflow
- Memory leak
- A race condition (time-of-check to time-of-use)
- Buffer overflow
Show answer
C. A race condition (time-of-check to time-of-use)
TOCTOU flaws exploit the gap between check and use.
11. Admins must first log in to a hardened server before reaching sensitive systems. What is that server?
- A proxy cache
- A jump server
- A domain controller
- A honeypot
Show answer
B. A jump server
Jump servers control and log access to protected networks.
12. In the cloud shared responsibility model for IaaS, who patches the guest operating system?
- Nobody; it's automatic
- The customer
- The cloud provider
- The CA
Show answer
B. The customer
In IaaS the provider secures the hardware and hypervisor; the customer manages the OS and up.
Want the full question bank?
The Solving Life app has the complete CompTIA Security+ Exam bank with adaptive drills, mock exams and audio review. It works on any phone, even offline. Free through December 31, 2026; after that, $49 unlocks every exam app for 12 months. This course is in beta: new questions, labs and simulators are added every week.
13. Which approach hides the meaning of data in test databases by replacing real names with realistic fake ones?
- Data masking
- Full-disk encryption
- Geofencing
- Hashing passwords
Show answer
A. Data masking
Masking lets developers work without seeing real sensitive data.
14. A team walks through a ransomware scenario around a table without touching systems. What test is this?
- A failover test
- A penetration test
- A tabletop exercise
- Parallel processing
Show answer
C. A tabletop exercise
Tabletops test plans and roles through discussion.
15. Which backup site can take over almost immediately because systems and data are already running?
- Cold site
- Mobile site without data
- Warm site
- Hot site
Show answer
D. Hot site
Hot sites are most expensive and fastest.
16. Which evidence source would show exactly which commands an attacker ran on a Windows endpoint?
- Endpoint and OS security logs (for example PowerShell and EDR logs)
- The DHCP scope options
- The UPS log
- A rack diagram
Show answer
A. Endpoint and OS security logs (for example PowerShell and EDR logs)
Endpoint logs capture process and command activity.
17. Access is granted based on job title, like 'Nurse' or 'Accountant'. Which model?
- RBAC (role-based access control)
- MAC
- DAC
- ABAC with no roles
Show answer
A. RBAC (role-based access control)
Role-based access ties permissions to job roles.
18. Which tool collects logs from many systems, correlates events and raises alerts?
- A UPS
- A CRL
- A SIEM
- A WAF
Show answer
C. A SIEM
Security information and event management centralizes and correlates logs.
19. A scan flags a flaw that doesn't actually exist on the system. What is this?
- A true positive
- A false positive
- A false negative
- A zero-day
Show answer
B. A false positive
False positives waste time; tune scanners and verify findings.
20. A vulnerability can't be patched yet, so the server is moved behind an extra firewall. What is this?
- A compensating control
- A false positive
- Risk avoidance
- Deprovisioning
Show answer
A. A compensating control
Compensating controls reduce risk when the main fix isn't possible.
21. Penetration testers get full network diagrams and source code before testing. What type of test?
- Known environment
- Unknown environment
- Partially known environment
- Bug bounty
Show answer
A. Known environment
Known environment (formerly white box) gives testers full information.
22. A contract clause lets the company inspect a cloud vendor's security controls. What is it?
- A right-to-audit clause
- An AUP
- A non-compete
- A CRL
Show answer
A. A right-to-audit clause
Right-to-audit supports third-party risk oversight.
23. Which document defines what a penetration tester may test, when and how?
- A risk register
- An AUP for employees
- Rules of engagement
- An SLA
Show answer
C. Rules of engagement
Rules of engagement set scope, timing and limits.
24. Which agreement defines a vendor's uptime commitment, such as 99.9% availability?
- NDA
- SLA
- MOU
- BPA
Show answer
B. SLA
Service level agreements set measurable performance targets.
Want the full question bank?
The Solving Life app has the complete CompTIA Security+ Exam bank with adaptive drills, mock exams and audio review. It works on any phone, even offline. Free through December 31, 2026; after that, $49 unlocks every exam app for 12 months. This course is in beta: new questions, labs and simulators are added every week.
More free sets: Enrolled Agent (EA) Exam · Series 65 Exam · Texas All-Lines Adjuster Exam · SAFE MLO (NMLS) Exam · SIE Exam · Customs Broker License Exam (CBLE) · EDPNA Exam · CompTIA A+ Exam · CompTIA Network+ Exam
More from Solving Life LLC
This page is free. Support our free tools with a like, a share and a follow.