CompTIA Security+ (SY0-701) practice questions
8 sample questions from our 150-question Security+ bank — one from each official domain, with the answer and a full explanation under each. Every question is original, written against the published exam objectives, and quality-checked before it reaches you.
Question 1 · General Security Concepts
Nadia, a security analyst at Corvid Logistics, is reviewing a new warehouse sensor rollout. The project lead insists the sensors ship with telnet enabled "because the vendor supports it that way." Nadia objects, citing the principle that systems should start from the most restrictive configuration and only open what is required. Which concept is Nadia applying?
- A.Availability-first design
- B.Vendor risk transference
- C.Compensating control selection
- D.Secure baseline configuration
Show answer & explanation
Answer: D
A secure baseline starts each system in a hardened, least-functionality state — insecure services like telnet stay disabled unless a documented need exists. Compensating controls substitute for a control you cannot apply, which is not what Nadia is proposing.
Question 2 · Threats, Vulnerabilities, and Mitigations
A finance clerk at Brackenford Mills receives an email that appears to come from the CFO, urgently requesting a wire transfer to a new supplier before a 3 p.m. deadline. The sending domain is brackenford-mills.co rather than the company's brackenfordmills.com. What type of attack is this?
- A.Business email compromise using a lookalike domain
- B.Watering hole attack on the supplier portal
- C.Smishing against the finance department
- D.Whaling against the CFO
Show answer & explanation
Answer: A
Impersonating an executive from a registered lookalike domain to trigger a fraudulent payment is business email compromise; the lookalike domain is the telltale. Whaling would target the executive as the victim, not impersonate them to a clerk.
Question 3 · Security Architecture
Larkspur Biotech wants internet-facing researchers to reach an internal analysis cluster. The architect places a reverse proxy in a screened subnet; external TLS terminates there, requests are inspected, and only the proxy may initiate connections inward. What is the screened subnet's primary security purpose?
- A.To guarantee availability during denial-of-service attacks
- B.To accelerate TLS handshakes for external users
- C.To provide out-of-band management for the cluster
- D.To provide a buffer zone so external traffic never reaches internal hosts directly
Show answer & explanation
Answer: D
A screened subnet (DMZ) hosts externally reachable services in a buffer network so untrusted traffic terminates there rather than inside; only tightly controlled flows continue inward. Performance and DoS resilience are side concerns, not its purpose.
Question 4 · Security Operations
During an incident at Vexley Commerce, an analyst confirms an attacker is actively exfiltrating the customer database from a compromised application server. According to standard incident response practice, what should the team do NEXT?
- A.Contain the system by isolating it from the network
- B.Publish a breach notification to customers
- C.Begin the lessons-learned review
- D.Reimage the server immediately and restore from backup
Show answer & explanation
Answer: A
With active exfiltration confirmed, containment comes next — isolate the host to stop the bleeding while preserving evidence. Eradication, recovery, notification, and lessons learned follow containment in sequence.
Question 5 · Security Program Management and Oversight
Selwyn Optics is choosing between remediating, insuring against, or discontinuing a legacy customer portal after a risk assessment found exploitation would cost roughly $800,000. Leadership buys a cyber insurance policy covering that scenario instead of fixing or retiring the portal. Which risk response did they choose?
- A.Acceptance
- B.Transference
- C.Mitigation
- D.Avoidance
Show answer & explanation
Answer: B
Purchasing insurance shifts the financial impact of the risk to a third party — transference. Mitigation would reduce the likelihood or impact directly, and avoidance would retire the portal entirely.
Question 6 · General Security Concepts
Halvern Credit Union is redesigning access so that every request — even from headquarters — is authenticated, authorized, and encrypted before reaching the loan database, with policy decisions made by a central engine and enforced at gateways. Which security model is being implemented?
- A.Perimeter-based defense in depth
- B.Zero trust architecture
- C.Discretionary access control
- D.Federated single sign-on
Show answer & explanation
Answer: B
Zero trust removes implicit trust based on network location: every access is verified against policy, typically split between a policy decision point and enforcement points. Defense in depth layers controls but still often trusts the internal network.
Question 7 · Threats, Vulnerabilities, and Mitigations
Threat hunters at Osprey Health notice that a workstation makes DNS requests for thousands of long, random-looking subdomains of one external domain, each returning small TXT records. Little other traffic leaves the host. What is the most likely explanation?
- A.A misconfigured DNS resolver retrying lookups
- B.An expired DNS cache being repopulated
- C.Normal content-delivery-network behavior
- D.Data exfiltration through DNS tunneling
Show answer & explanation
Answer: D
High volumes of unique subdomain lookups carrying encoded payloads in queries and TXT responses are the signature of DNS tunneling, which smuggles data past egress filtering. CDN lookups and cache refreshes reuse a small, stable set of names.
Question 8 · Security Architecture
An architect at Coble Freight is comparing virtualization options for a multi-tenant analytics product. She notes that containers share the host kernel while virtual machines each run their own. What is the main security implication of that difference?
- A.Containers cannot run untrusted code under any circumstances
- B.A kernel-level escape affects all containers on the host, so isolation is weaker than between VMs
- C.Containers require no patching because images are immutable
- D.Virtual machines cannot be affected by hypervisor vulnerabilities
Show answer & explanation
Answer: B
Because containers share one kernel, a kernel or runtime escape can expose every container on that host, whereas VM tenants are separated by the hypervisor boundary. Container images still require patching, and hypervisors have their own attack surface.
142+ more questions, free
Full-length, timed or practice mode, weighted to the official blueprint — with per-domain scoring so you know exactly where you stand.
Start the full practice exam →