Vulnerability Management: CySA+ CS0-004 practice questions

Vulnerability Management is 30% of the free CySA+ CS0-004 mock (15 of 50 questions). Pick an answer to see right away whether it is correct, with the explanation and the documentation section it comes from.

CY.II · CySA+ CS0-004 practice question

A C program allocates a 64-byte stack buffer for a username but copies user input without checking its length, allowing an attacker to overwrite the saved return address. Which vulnerability is this?

Choose one answer
Check answer and explanation

Correct answer: Stack-based buffer overflow

Explanation

Writing more data than a fixed-size stack buffer can hold overwrites adjacent stack memory, including the return address.

Common trap

Writing more data than a fixed-size stack buffer can hold overwrites adjacent stack memory, including the return address.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

A developer runs an automated tool that feeds thousands of malformed, unexpected, and random byte sequences into a custom C++ file parser to uncover memory crashes. Which technique is being used?

Choose one answer
Check answer and explanation

Correct answer: Fuzzing

Explanation

Fuzzing supplies malformed or randomized inputs to a program to trigger crashes, hangs, or memory-corruption bugs.

Common trap

Fuzzing supplies malformed or randomized inputs to a program to trigger crashes, hangs, or memory-corruption bugs.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

A machine learning spam filter begins misclassifying phishing emails as safe after an attacker repeatedly submits carefully crafted training feedback samples. Which vulnerability or attack type does this describe?

Choose one answer
Check answer and explanation

Correct answer: Data poisoning

Explanation

Data poisoning deliberately injects corrupted or biased samples into a model's training data to degrade or manipulate its predictions.

Common trap

Data poisoning deliberately injects corrupted or biased samples into a model's training data to degrade or manipulate its predictions.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

A multi-cloud enterprise wants a single open-source auditing tool that uses cloud provider APIs to gather configuration data across AWS, Azure, and GCP and generate an HTML posture report. Which tool fits best?

Choose one answer
Check answer and explanation

Correct answer: Scout Suite

Explanation

Scout Suite is a multi-cloud security auditing tool that inspects API configurations across AWS, Azure, and GCP.

Common trap

Scout Suite is a multi-cloud security auditing tool that inspects API configurations across AWS, Azure, and GCP.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

An analyst is configuring a vulnerability scanner for a large corporate network. Which phase of the vulnerability management lifecycle must occur first to ensure no unmanaged hosts are missed?

Choose one answer
Check answer and explanation

Correct answer: Asset discovery and inventory

Explanation

Asset discovery identifies all active hosts, subnets, and services so the scanner has an accurate target scope.

Common trap

Asset discovery identifies all active hosts, subnets, and services so the scanner has an accurate target scope.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

An analyst is reviewing a vulnerability report where a flaw has a CVSS score of 8.5, but the vulnerable software is newly disclosed with no vendor patch yet available and active exploitation observed in the wild. How is this vulnerability classified?

Choose one answer
Check answer and explanation

Correct answer: Zero-day vulnerability

Explanation

A zero-day vulnerability is a previously unknown flaw with no official vendor patch available at the time of disclosure or exploitation.

Common trap

A zero-day vulnerability is a previously unknown flaw with no official vendor patch available at the time of disclosure or exploitation.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

An analyst reviews a web application's `package.json` and discovers it relies on a four-year-old JavaScript library with three known remote code execution flaws. Which OWASP vulnerability category does this represent?

Choose one answer
Check answer and explanation

Correct answer: Vulnerable and Outdated Components

Explanation

Using unsupported or unpatched third-party libraries with known CVEs falls directly under Vulnerable and Outdated Components.

Common trap

Using unsupported or unpatched third-party libraries with known CVEs falls directly under Vulnerable and Outdated Components.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

An analyst runs an authenticated scan against a Linux cluster and discovers a critical kernel flaw that was completely missed by the previous week's unauthenticated scan. What was the unauthenticated scan's result for that flaw?

Choose one answer
Check answer and explanation

Correct answer: False negative

Explanation

A false negative occurs when a real vulnerability exists on the target but the scanner fails to detect or report it.

Common trap

A false negative occurs when a real vulnerability exists on the target but the scanner fails to detect or report it.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

An analyst wants to run a fast network discovery scan to identify live hosts and open ports on a small lab subnet without using a full vulnerability scanner. Which lightweight GUI tool from the CySA+ objectives is commonly used for this?

Choose one answer
Check answer and explanation

Correct answer: Angry IP Scanner

Explanation

Angry IP Scanner is a lightweight network mapper used for fast IP and port discovery.

Common trap

Angry IP Scanner is a lightweight network mapper used for fast IP and port discovery.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

An attacker crafts a hidden HTML form on a malicious blog that automatically submits a password-change POST request to a victim's banking portal while the victim is logged in. Which mitigation BEST prevents this attack?

Choose one answer
Check answer and explanation

Correct answer: Anti-CSRF synchronizer tokens and SameSite cookies

Explanation

Unpredictable anti-CSRF tokens and SameSite cookie attributes prevent unauthorized cross-origin state-changing requests.

Common trap

Unpredictable anti-CSRF tokens and SameSite cookie attributes prevent unauthorized cross-origin state-changing requests.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

An attacker manipulates a web application's `page=` parameter to load a local system file and execute it within the web server's PHP interpreter. Which vulnerability is being exploited?

Choose one answer
Check answer and explanation

Correct answer: Local File Inclusion (LFI)

Explanation

Local File Inclusion (LFI) allows an attacker to include and potentially execute local files on the web server via unsanitized file-path parameters.

Common trap

Local File Inclusion (LFI) allows an attacker to include and potentially execute local files on the web server via unsanitized file-path parameters.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

An e-commerce site's shipping calculator accepts a user-supplied URL to fetch an external rate image. An attacker submits an internal cloud metadata IP address and retrieves temporary IAM credentials from the server's response. Which vulnerability was exploited?

Choose one answer
Check answer and explanation

Correct answer: Server-Side Request Forgery (SSRF)

Explanation

SSRF abuses a server's URL-fetching functionality to reach internal-only services such as cloud instance metadata endpoints.

Common trap

SSRF abuses a server's URL-fetching functionality to reach internal-only services such as cloud instance metadata endpoints.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

An enterprise's vulnerability management policy states that Critical internet-facing vulnerabilities must be remediated within 72 hours, while Medium internal vulnerabilities have 30 days. What are these measurable targets called?

Choose one answer
Check answer and explanation

Correct answer: Service Level Objectives (SLOs)

Explanation

Service Level Objectives (SLOs) define internal, measurable remediation timelines based on severity and asset exposure.

Common trap

Service Level Objectives (SLOs) define internal, measurable remediation timelines based on severity and asset exposure.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

An organization decides to shut down and decommission an aging, unpatchable FTP server rather than paying to upgrade or monitor it. Which risk management response is this?

Choose one answer
Check answer and explanation

Correct answer: Risk avoidance

Explanation

Risk avoidance eliminates the risk entirely by discontinuing the vulnerable system or business activity.

Common trap

Risk avoidance eliminates the risk entirely by discontinuing the vulnerable system or business activity.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

An organization purchases a comprehensive cyber liability insurance policy to cover potential breach notification costs and legal fines. Which risk management strategy is being applied?

Choose one answer
Check answer and explanation

Correct answer: Risk transfer

Explanation

Purchasing cyber insurance shifts the financial impact of a potential security incident to a third party (risk transfer).

Common trap

Purchasing cyber insurance shifts the financial impact of a potential security incident to a third party (risk transfer).

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

An organization wants to simulate an attacker attempting privilege escalation and data exfiltration inside an AWS environment to test IAM guardrails. Which cloud-specific exploitation framework is designed for this purpose?

Choose one answer
Check answer and explanation

Correct answer: Pacu

Explanation

Pacu is an open-source AWS exploitation framework used to test IAM privilege escalation, enumeration, and cloud security controls.

Common trap

Pacu is an open-source AWS exploitation framework used to test IAM privilege escalation, enumeration, and cloud security controls.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

A payment-processing merchant must run quarterly external vulnerability scans conducted by an Approved Scanning Vendor (ASV) to maintain compliance. Which regulatory or industry standard mandates this?

Choose one answer
Check answer and explanation

Correct answer: PCI DSS

Explanation

PCI DSS requires merchants handling cardholder data to undergo quarterly external ASV scans and remediate high-risk findings.

Common trap

PCI DSS requires merchants handling cardholder data to undergo quarterly external ASV scans and remediate high-risk findings.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

A security analyst needs to map relationships between an organization's public domains, DNS records, email addresses, and associated netblocks using a graphical link-analysis tool. Which tool from the CySA+ objective list is best suited for this?

Choose one answer
Check answer and explanation

Correct answer: Maltego

Explanation

Maltego is an OSINT and graphical link-analysis tool used to map relationships across domains, IPs, people, and infrastructure.

Common trap

Maltego is an OSINT and graphical link-analysis tool used to map relationships across domains, IPs, people, and infrastructure.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

A security architect categorizes an Intrusion Detection System (IDS) that alerts analysts to suspicious traffic without blocking it. Which control category and function apply?

Choose one answer
Check answer and explanation

Correct answer: Technical and detective

Explanation

An IDS is a software/hardware mechanism (technical control) that identifies and alerts on malicious activity (detective function).

Common trap

An IDS is a software/hardware mechanism (technical control) that identifies and alerts on malicious activity (detective function).

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

A security researcher uses a debugger to pause a compiled Windows application at a specific memory instruction, inspect CPU registers, and step through assembly code to understand how a crash occurs. Which tool is best suited for this?

Choose one answer
Check answer and explanation

Correct answer: Immunity Debugger

Explanation

Immunity Debugger is a Windows binary debugger used to inspect registers, memory, and assembly execution during vulnerability research.

Common trap

Immunity Debugger is a Windows binary debugger used to inspect registers, memory, and assembly execution during vulnerability research.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

A security team continuously discovers forgotten public subdomains, shadow cloud storage buckets, and exposed development APIs belonging to their company. Which program directly addresses this?

Choose one answer
Check answer and explanation

Correct answer: Attack Surface Management (ASM)

Explanation

Attack Surface Management continuously discovers, inventories, and monitors external-facing assets to reduce unknown exposure.

Common trap

Attack Surface Management continuously discovers, inventories, and monitors external-facing assets to reduce unknown exposure.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

A security team wants to evaluate an internal web application for logic flaws and injection vulnerabilities by probing the running application from an external user's perspective without access to source code. Which testing method should they use?

Choose one answer
Check answer and explanation

Correct answer: Dynamic Application Security Testing (DAST)

Explanation

DAST tests a running application externally (black-box) to identify runtime and input-handling vulnerabilities.

Common trap

DAST tests a running application externally (black-box) to identify runtime and input-handling vulnerabilities.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

A vulnerability scanner is scheduled to run against a segmented PCI environment. To ensure complete coverage without weakening firewall segmentation rules, where should the scanning engine be placed?

Choose one answer
Check answer and explanation

Correct answer: On a dedicated scanner appliance inside the segmented VLAN or via local host agents

Explanation

Placing a scanner inside the isolated segment (or using local agents) preserves firewall segmentation while achieving full visibility.

Common trap

Placing a scanner inside the isolated segment (or using local agents) preserves firewall segmentation while achieving full visibility.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

A web application allows authenticated users to submit a profile bio that is saved in the database and rendered unescaped to every visitor who views the profile. Which vulnerability is present?

Choose one answer
Check answer and explanation

Correct answer: Persistent (Stored) Cross-Site Scripting (XSS)

Explanation

Stored (persistent) XSS occurs when malicious script input is saved on the server and executed in the browsers of subsequent visitors.

Common trap

Stored (persistent) XSS occurs when malicious script input is saved on the server and executed in the browsers of subsequent visitors.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

A web application generates predictable sequential session IDs and fails to invalidate them upon logout. Which secure coding domain needs immediate remediation?

Choose one answer
Check answer and explanation

Correct answer: Session management

Explanation

Secure session management requires cryptographically random session tokens, proper expiration, and server-side invalidation on logout.

Common trap

Secure session management requires cryptographically random session tokens, proper expiration, and server-side invalidation on logout.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

A web security analyst wants to intercept, inspect, and modify live HTTP requests and responses between a browser and a staging web application to test for access control flaws. Which tool should be used?

Choose one answer
Check answer and explanation

Correct answer: Burp Suite

Explanation

Burp Suite acts as an intercepting web proxy allowing analysts to inspect, tamper with, and replay HTTP/HTTPS traffic.

Common trap

Burp Suite acts as an intercepting web proxy allowing analysts to inspect, tamper with, and replay HTTP/HTTPS traffic.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

Before deploying a critical OS kernel patch to 500 production servers during a scheduled maintenance window, what must the change management plan include in case the patch breaks a core application?

Choose one answer
Check answer and explanation

Correct answer: A rollback plan

Explanation

A documented rollback plan ensures operations can quickly revert to a known-good state if a patch causes production instability.

Common trap

A documented rollback plan ensures operations can quickly revert to a known-good state if a patch causes production instability.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

During the Software Development Lifecycle (SDLC), at which stage is performing threat modeling most cost-effective for identifying architectural flaws?

Choose one answer
Check answer and explanation

Correct answer: Design

Explanation

Threat modeling during the Design phase catches insecure architecture before code is written, minimizing remediation cost.

Common trap

Threat modeling during the Design phase catches insecure architecture before code is written, minimizing remediation cost.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

In CVSS scoring, which Attack Vector metric indicates that an attacker must be on the same local Wi-Fi network, Bluetooth range, or Layer 2 broadcast domain as the target to exploit the flaw?

Choose one answer
Check answer and explanation

Correct answer: Adjacent

Explanation

Adjacent indicates exploitation is limited to the same shared physical or logical network (such as Wi-Fi, Bluetooth, or local subnet).

Common trap

Adjacent indicates exploitation is limited to the same shared physical or logical network (such as Wi-Fi, Bluetooth, or local subnet).

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


CY.II · CySA+ CS0-004 practice question

Which industry standard provides prescriptive, consensus-based hardening configuration baselines for operating systems, databases, and cloud platforms?

Choose one answer
Check answer and explanation

Correct answer: CIS Benchmarks

Explanation

CIS Benchmarks offer step-by-step secure configuration baselines for hardening systems and cloud environments.

Common trap

CIS Benchmarks offer step-by-step secure configuration baselines for hardening systems and cloud environments.

Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.

Report an error in this question

Open this question on its own page


Back to all topics