Home › Certifications › CompTIA Security+ › Threats, Vulnerabilities and Mitigations
45 multiple-choice questions and 69 flashcards on Threats, Vulnerabilities and Mitigations, about 15% of the CompTIA Security+ bank. Every one carries a written rationale.
Threats, Vulnerabilities and Mitigations is one of 6 chapters in CoStudy's CompTIA Security+ bank, and it holds 45 of the bank's 300 multiple-choice questions — roughly 15% of the total. That proportion is not arbitrary: chapters follow the certifying body's published exam outline, and the number of questions in each is set by that domain's published weight, so the share of your practice time this chapter takes matches the share of the real exam it accounts for.
Studying by chapter is worth doing once you have a diagnostic score. A single overall percentage tells you whether you are close; it does not tell you which domain is dragging. Working a weak chapter in isolation, and re-testing it in isolation, is the fastest way to move a score that has stalled — and it is why the mock exams in CoStudy report by domain rather than as one number.
10 questions drawn from this chapter, with the full rationale shown — the controlling principle behind the right answer, and why each wrong option tempts and fails.
A DDoS (Distributed Denial-of-Service) attack attempts to:
Answer: C — Exhausts a service's bandwidth or compute from many sources
C) A DDoS floods a target from many distributed sources until legitimate users cannot be served. A) That is data exfiltration. B) That is ransomware. D) That describes update-channel abuse.
What type of attack intercepts communication?
Answer: A — Man-in-the-middle (on-path) interception
A man-in-the-middle (on-path) attacker sits between two parties, typically via ARP poisoning, a rogue access point, or DNS spoofing, and can read or alter traffic. DDoS (B) denies availability rather than intercepting. Phishing (C) tricks the user directly. Brute force (D) attacks credentials, not the channel.
The PRIMARY defense against ransomware is:
Answer: B — Tested offline backups, plus training, patching, and EDR coverage
B) Layered prevention with recoverable backups as the anchor is what actually survives an infection. A) Signature detection misses new variants. C) Your own encryption does not stop the attacker re-encrypting the file. D) Payment funds the attacker and often yields incomplete recovery.
A user logged into a banking site clicks a link in a separate forum post; the link silently issues a transfer request to the bank using their authenticated session. What attack is this?
Answer: C — Cross-Site Request Forgery riding the authenticated session
C) CSRF forges a state-changing request from another origin and relies on the browser attaching the victim's existing session. A) XSS injects script into the trusted page itself. B) SQL injection targets the database through input. D) Session fixation forces a known session ID before login.
Which factor BEST distinguishes an APT from a typical cybercriminal attack?
Answer: D — They are well-resourced, persistent, and stealth-focused
D) APTs are defined by sustained, well-funded, often state-aligned campaigns that value long-term stealthy access over quick profit. A) Zero-days are sometimes used but not required. B) Phishing is a common APT initial vector. C) APTs pursue high-value targets.
A 'watering hole' attack is:
Answer: A — Compromising a legitimate site the target group visits often
A) A watering hole compromises a third-party site the intended victims frequent, infecting them indirectly. B) That is a DDoS. C) That is untargeted phishing. D) That is wireless eavesdropping, often paired with an evil twin AP.
Best defense against MITM is:
Answer: C — TLS with certificate validation, plus VPNs on untrusted or unfamiliar wireless networks
(C) TLS with certificate validation cryptographically blocks eavesdropping and tampering in transit, and a VPN protects traffic on networks you do not control. (A) is impractical and does not protect wired paths. (B) inspects files, not sessions in flight. (D) may alert after the fact but does not prevent interception.
Which best mitigates a buffer overflow at the SOURCE-CODE level?
Answer: D — Validating input length and using strlcpy instead of strcpy
D) The source-level fix is bounding input length and replacing unsafe APIs like strcpy and gets with length-aware functions. A) Disabling SMBv1 addresses one protocol's flaws. B) Backups are recovery, not prevention. C) Segmentation limits blast radius without fixing the defect.
A finance employee receives a call from someone claiming to be IT, asking for their MFA code 'to fix an Outlook issue.' This is:
Answer: A — Vishing with an IT pretext to capture the second factor
A) A voice call plus a fabricated IT scenario is vishing with pretexting, aimed at harvesting the MFA code. B) Watering holes compromise a website. C) Logic bombs are code triggered by a condition. D) Side channels exploit physical emissions such as timing or power.
Which attack exploits the trust a browser has for a website by forging requests from another tab?
Answer: C — CSRF forging requests that ride the site's session cookie
C) CSRF exploits the browser's automatic inclusion of cookies for the trusted origin when another tab issues the request. A/B) Both XSS variants inject script into the trusted page rather than forging cross-origin requests. D) Clickjacking overlays UI to steal a click.
4 cards from the 69 in this chapter.
What is an insider threat?
Security risk from current/former employees, contractors, or partners who misuse authorized access intentionally or accidentally.
What is on-path attack?
Modern term for MitM — attacker positions between two communicating parties to intercept, modify, or inject data.
What is social engineering?
Manipulating people into divulging confidential information. Techniques: phishing, pretexting, baiting, tailgating, quid pro quo.
What is pretexting?
Creating a fabricated scenario (pretext) to gain trust and extract information. Example: pretending to be IT support.
These are a sample. The full Threats, Vulnerabilities and Mitigations chapter runs 114 items with per-chapter progress tracking, on the web and in the iOS app.
Open CompTIA Security+ in CoStudy →