CompTIA Security+

How to Pass CompTIA Security+ SY0-701 on Your First Try

Updated June 2026 · 15 practice questions · Study strategy included
Security+ is the most widely held entry-level security certification in IT, and it's required for many government and DoD positions. The SY0-701 exam has up to 90 questions, a 90-minute time limit, and a passing score of 750 out of 900. Here's how to approach it — and 15 practice questions to test yourself.

Exam structure at a glance

DomainWeight
1. General Security Concepts12%
2. Threats, Vulnerabilities and Mitigations22%
3. Security Architecture18%
4. Security Operations28%
5. Security Program Management and Oversight20%
Where to focus: Domain 4 (Security Operations) is the largest at 28%. If you only have limited study time, prioritize Domains 2 and 4 — together they cover half the exam.

Study strategy that actually works

The biggest mistake candidates make is memorizing acronyms without understanding the underlying concepts. Security+ is scenario-based — the questions describe a situation and ask what you would do, not just what something is called.

15 free Security+ SY0-701 practice questions

🛡️ Domain 2: Threats, Vulnerabilities and Mitigations (22%)
Question 1
An attacker sends millions of requests to a web server from thousands of compromised machines, making the service unavailable. What type of attack is this?
A DoS (Denial of Service)
B DDoS (Distributed Denial of Service)
C Man-in-the-middle
D Replay attack
✓ B is correct. A DDoS attack uses multiple compromised systems (a botnet) to flood a target. A DoS comes from a single source. MitM intercepts communication. A replay attack captures and re-sends legitimate data to trick systems.
Question 2
A web application allows user input to be included in a database query without sanitization, enabling an attacker to manipulate the query. What vulnerability is this?
A SQL injection
B Cross-site scripting (XSS)
C Buffer overflow
D Directory traversal
✓ A is correct. SQL injection occurs when unsanitized user input is embedded in SQL queries, allowing attackers to read, modify, or delete data. XSS injects malicious scripts into web pages viewed by other users. Buffer overflow sends more data than a buffer can hold. Directory traversal accesses unauthorized file paths.
Question 3
An attacker exploits a software vulnerability that the vendor is unaware of and for which no patch exists. What is this called?
A Known exploit
B Legacy vulnerability
C Zero-day vulnerability
D Insider threat
✓ C is correct. A zero-day vulnerability is unknown to the vendor, meaning there are zero days of protection. Once discovered and disclosed, it becomes a known vulnerability that vendors can patch. Zero-days are especially dangerous because defenders have no patch to deploy.
🔐 Domain 3: Security Architecture (18%)
Question 4
A company wants to implement a security model where no user or system is trusted by default, even those inside the corporate network. What model is this?
A Defense in depth
B Zero trust
C Least privilege
D Perimeter security
✓ B is correct. Zero trust assumes no implicit trust — every request is verified regardless of network location. Defense in depth uses multiple layers of controls. Least privilege limits access to what's needed. Perimeter security trusts internal traffic, which zero trust explicitly rejects.
Question 5
Which encryption type uses the SAME key for both encryption and decryption, making key distribution a challenge?
A Symmetric encryption
B Asymmetric encryption
C Hashing
D Public key infrastructure
✓ A is correct. Symmetric encryption (AES, DES) uses one key for both operations — fast, but requires secure key exchange. Asymmetric encryption (RSA, ECC) uses a key pair — slower but solves the key distribution problem. Hashing is one-way and doesn't encrypt. PKI is the infrastructure for managing asymmetric keys.
Question 6
A company stores sensitive data in the cloud but wants to maintain control of the encryption keys themselves. Which solution addresses this?
A DLP (Data Loss Prevention)
B CASB (Cloud Access Security Broker)
C BYOK (Bring Your Own Key)
D MFA
✓ C is correct. BYOK allows organizations to generate and manage their own encryption keys, even when data is stored in a third-party cloud. This ensures the cloud provider cannot decrypt the data. DLP prevents data exfiltration. CASB provides visibility into cloud usage. MFA secures authentication.
⚙️ Domain 4: Security Operations (28%)
Question 7
During a security incident, which phase comes immediately after Identification (detecting the incident)?
A Eradication
B Containment
C Recovery
D Lessons Learned
✓ B is correct. NIST incident response phases: Preparation → Identification → Containment → Eradication → Recovery → Lessons Learned. After identifying an incident, you contain it to prevent further damage before eradicating the threat. Recovery restores systems. Lessons Learned happens after everything is resolved.
Question 8
A security analyst receives an alert that a known malicious IP address is communicating with an internal host. The analyst checks logs and confirms the traffic. What should they do FIRST?
A Reimage the affected system
B Notify law enforcement
C Isolate/contain the affected host
D Change all user passwords
✓ C is correct. Containment is the immediate priority — isolating the host stops the attacker's access and prevents lateral movement or further data exfiltration. Reimaging is eradication, which comes after containment. Law enforcement notification may come later. Password changes are useful but not the first priority.
Question 9
Which tool collects and correlates log data from multiple sources across the organization to identify suspicious patterns?
A IDS (Intrusion Detection System)
B DLP (Data Loss Prevention)
C SIEM (Security Information and Event Management)
D WAF (Web Application Firewall)
✓ C is correct. A SIEM aggregates, correlates, and analyzes log data from across the environment (firewalls, endpoints, servers) to detect threats. An IDS detects intrusions on a network segment. DLP prevents sensitive data from leaving the organization. A WAF protects web applications from common attacks.
Question 10
A user's account shows logins from two countries simultaneously, 10 minutes apart. Which type of analysis detected this anomaly?
A Signature-based detection
B Behavioral / anomaly-based detection
C Heuristic analysis
D Static code analysis
✓ B is correct. Behavioral (anomaly-based) detection establishes a baseline of normal activity and flags deviations — like impossible travel between two countries. Signature-based detection matches known patterns. Heuristic analysis looks for suspicious characteristics without exact signatures. Static code analysis reviews source code for vulnerabilities.
📋 Domain 5: Security Program Management (20%)
Question 11
A company transfers risk by purchasing cyber liability insurance. Which risk response strategy is this?
A Risk avoidance
B Risk mitigation
C Risk transference
D Risk acceptance
✓ C is correct. Risk transference shifts financial impact to a third party (insurance). Risk avoidance eliminates the activity causing the risk. Risk mitigation reduces the likelihood or impact through controls. Risk acceptance acknowledges the risk and does nothing — often when the cost of mitigation exceeds the potential loss.
Question 12
Which regulation requires organizations that handle EU citizens' personal data to implement data protection by design and report breaches within 72 hours?
A HIPAA
B PCI DSS
C GDPR
D SOX
✓ C is correct. GDPR (General Data Protection Regulation) covers EU citizens' personal data, requires breach notification within 72 hours, and mandates privacy by design. HIPAA covers US healthcare data. PCI DSS covers payment card data. SOX covers financial reporting requirements for public companies.
Question 13
What is the purpose of a penetration test?
A To monitor network traffic for malicious activity
B To scan for known CVEs on all systems
C To simulate real attacks and identify exploitable vulnerabilities before attackers do
D To review security policies and procedures
✓ C is correct. A penetration test (pentest) actively attempts to exploit vulnerabilities — simulating what a real attacker would do — to discover actual risk exposure. Monitoring traffic is the role of IDS/SIEM. CVE scanning is vulnerability scanning, not pentesting. Policy reviews are security audits.
🔑 Domain 1: General Security Concepts (12%)
Question 14
Which access control model assigns permissions based on the user's role within the organization rather than their individual identity?
A DAC (Discretionary Access Control)
B RBAC (Role-Based Access Control)
C MAC (Mandatory Access Control)
D ABAC (Attribute-Based Access Control)
✓ B is correct. RBAC assigns permissions to roles (Admin, User, Manager), and users inherit permissions based on their assigned role. DAC lets data owners set permissions. MAC uses security labels and clearance levels (common in government). ABAC uses multiple attributes (role, location, time) to make decisions.
Question 15
A hash function is used to verify file integrity. Which property ensures that two different inputs cannot produce the same hash output?
A Confidentiality
B Collision resistance
C Collision resistance
D Non-repudiation
✓ B/C is correct. Collision resistance means it's computationally infeasible for two different inputs to produce the same hash — crucial for integrity verification. MD5 is considered broken due to known collisions. SHA-256 and SHA-3 are collision resistant. Non-repudiation means you can't deny an action was performed (achieved with digital signatures, not hashing alone).

Ready for the full Security+ question bank?

aprencert has 270 Security+ questions with explanations on every answer — free to start.

Start practicing free →

Top tips for exam day

Practice all 270 Security+ questions at aprencert.com — free to try, no credit card needed.