Threats, vulnerabilities, and mitigations is one of the biggest parts of Security+. It covers who attacks, why, how they get in, and the weaknesses they go after.
These 15 questions cover threat actors, attack vectors, common attacks, and vulnerabilities.
-
Question 1 of 15
Which lockout pattern MOST strongly suggests a password spraying attack?
Show answerHide answer
Answer: D. Many accounts locked out after a few common passwords tried
Password spraying tests a few common passwords across many accounts, leading to widespread lockouts.
-
Question 2 of 15
A database maintenance script needs occasional elevated privileges on a Linux server. Administrators currently run it using a shared root password. Which approach BEST enforces least privilege and accountability?
Show answerHide answer
Answer: A. Create a dedicated service account with only required privileges and use sudo to run the script with per-user authentication and logging.
A dedicated, minimally privileged account with sudo and individual authentication provides least privilege and accountability. NOPASSWD and shared root access reduce accountability; setuid broadens risk.
-
Question 3 of 15
Your SIEM flags thousands of failed sign-ins across many accounts using a handful of common passwords from a few IPs. What control would MOST directly reduce the success of this password spraying campaign?
Show answerHide answer
Answer: A. Enforce MFA and adaptive sign-in throttling for repeated attempts from the same IP
Password spraying tries common passwords across many accounts. Adaptive throttling plus MFA stops automated attempts and renders password-only attacks ineffective. Longer passwords and SSO alone do not stop spraying.
-
Question 4 of 15
A company is hit by a ransomware variant that steals data, threatens public leaks, and uses a professional negotiation portal. Intelligence shows an affiliate program and repeated campaigns against midsize manufacturers. Which threat actor is MOST likely responsible?
Show answerHide answer
Answer: A. Organized crime group
Double-extortion ransomware with affiliate operations and negotiation infrastructure is typical of organized criminal enterprises focused on monetization.
-
Question 5 of 15
Which scenario BEST represents stored (persistent) cross-site scripting (XSS), where a malicious payload is saved by the application and later served to other users?
Show answerHide answer
Answer: C. Malicious code saved in a forum comment executes whenever any user views the thread
Stored XSS occurs when malicious input is stored by the application and served to other users, such as a script in a forum comment. The other options describe reflected XSS or non-script issues.
-
Question 6 of 15
A payroll specialist gets an email appearing to be from the CEO asking to urgently change the CEO’s direct-deposit account and keep the request confidential. What type of attack is this MOST likely?
Show answerHide answer
Answer: C. Business email compromise (BEC)
This is characteristic of BEC, where an attacker impersonates an executive to trick staff into making fraudulent financial changes.
-
Question 7 of 15
Multiple users report receiving vendor invoices as PDFs. Opening them crashes the PDF reader and causes outbound DNS queries to an unfamiliar domain. What control would BEST mitigate this file-based vector without blocking business email?
Show answerHide answer
Answer: C. Detonate attachments in a sandbox and use CDR to deliver sanitized PDFs
Attachment sandboxing with content disarm and reconstruction (CDR) detects/extracts active content and delivers sanitized files, mitigating exploits while allowing business workflows.
-
Question 8 of 15
Incident response shows an attacker exploited SSRF in a web app running on cloud VMs to retrieve temporary credentials from the instance metadata service (IMDS). The environment currently allows IMDSv1. Which change MOST effectively mitigates this attack path?
Show answerHide answer
Answer: C. Require IMDSv2 and disable IMDSv1; restrict metadata access from untrusted processes
IMDSv2 uses session-oriented tokens obtained via an HTTP PUT request, which most SSRF vulnerabilities (typically limited to simple GET requests) cannot easily perform. Requiring IMDSv2 and disabling IMDSv1 significantly reduces the ability of attackers to retrieve metadata via SSRF. Security groups typically don’t control link-local traffic, and WAF rules don’t protect the local metadata endpoint.
-
Question 9 of 15
An admin sees that user "jcho" maintains active sessions in the CRM: one from a residential ISP in Texas and, at the same time, another from an ISP in Eastern Europe. The user denies travel. Which is the BEST immediate response?
Show answerHide answer
Answer: B. Revoke all refresh tokens and force a password reset with MFA verification
Revoking tokens and forcing a password reset with MFA disrupts any attacker sessions and helps prevent further misuse.
-
Question 10 of 15
A company recently contained a ransomware incident that spread rapidly across several departments due to a flat Layer 2 network. The security team wants to reduce lateral movement and limit the blast radius of future infections. Which mitigation should be prioritized?
Show answerHide answer
Answer: A. Implement network segmentation with VLANs and inter-VLAN ACLs
Network segmentation with VLANs and ACLs restricts lateral movement and limits the scope of compromise. The other options do not directly reduce the spread of malware between internal hosts.
-
Question 11 of 15
A support portal allows customers to submit feedback that is later displayed to all agents. After one submission, agents’ browsers begin making unauthorized requests while viewing the ticket. Inspection shows <script> tags stored in the database and executed on page load. Which attack occurred?
Show answerHide answer
Answer: B. Stored cross-site scripting
The script was stored and served to others, which is characteristic of stored (persistent) XSS.
-
Question 12 of 15
A CFO receives an urgent email from a "vendor" requesting a wire transfer to a new Eastern European account. The sender domain closely resembles the legitimate vendor’s but was registered last week. No malware is involved, only convincing emails and invoices. Which threat actor is MOST likely behind this activity?
Show answerHide answer
Answer: C. Organized crime group conducting financial fraud
Business email compromise and wire fraud schemes are typically run by organized crime groups focused on financial gain without deploying malware.
-
Question 13 of 15
Which pairing BEST matches the control to the vulnerability it primarily mitigates?
Show answerHide answer
Answer: C. Input validation/parameterization -> SQL injection; Output encoding -> XSS
SQL injection is best mitigated with input validation and parameterized queries, while cross-site scripting is best mitigated with proper output encoding/escaping based on context.
-
Question 14 of 15
A help desk analyst receives a call from someone claiming to be the CFO’s executive assistant who urgently needs the CFO’s password reset for a board meeting starting in five minutes. Which social engineering technique is MOST likely being used?
Show answerHide answer
Answer: C. Pretexting
The attacker uses pretexting by impersonating an executive assistant, but more importantly leverages urgency (board meeting in minutes) and authority (CFO context) to pressure the analyst into bypassing verification procedures.
-
Question 15 of 15
A company maintains private packages with the same names as public packages. During a build, a higher-version package from a public registry was pulled instead of the internal one, leading to data exfiltration. Which supply chain attack occurred?
Show answerHide answer
Answer: C. Dependency confusion via public registry override
Dependency confusion abuses naming/priority resolution so public packages supersede private ones, inserting malicious code into builds.
Attack names are a big part of this domain. If you missed a few, make flashcards with the attack and its giveaway clue.
Threat actor questions usually come down to motivation and skill level.
Want more questions like these?
Security+ Practice Test 701 has 1,100 practice questions with explanations, timed practice exams, and weak-area drills.