Courseiva

CompTIA CySA+ CS0-004 (CS0-004) — Questions 526–600

688 questions total · 10 pages · All types, answers revealed

Page 7

Page 8 of 10

Page 9
526
MCQmedium

A security analyst receives an alert that a workstation is communicating with a known C2 server over DNS. The analyst wants to quickly isolate the endpoint from the network but keep it powered on for later memory capture. Which of the following actions should the analyst take FIRST?

A.Administratively disable the switch port to which the workstation is connected.
B.Disconnect the workstation's network cable from the switch port.
C.Run a full antivirus scan on the workstation to remove the malware.
D.Shut down the workstation to prevent further data exfiltration.
AnswerA

Administratively disabling the switch port immediately stops all network communication from the endpoint while keeping it powered on for memory capture. This method is reversible, logged, and does not require physical access. It also prevents the malware from communicating with the C2 server without alerting the attacker via a full shutdown. This is the most appropriate first containment step.

Why this answer

Administratively disabling the switch port is the fastest, most controlled way to isolate the endpoint while preserving volatile memory. It stops C2 communication without powering off the system, allowing the analyst to capture RAM and running processes. Physical disconnection or shutdown may lose evidence or be less auditable, and antivirus scanning does not contain the threat.

Containment should always precede eradication.

Exam trap

The trap here is assuming that physically unplugging the network cable is always the best first containment step, when a switch port shutdown is often faster and more auditable.

527
MCQhard

During a post-incident review, the team identifies that detection was delayed because alerts from multiple sources were not correlated. Which improvement would BEST address this issue?

A.Disable non-critical alerts
B.Implement a SIEM solution
C.Increase the number of security staff
D.Increase logging verbosity
AnswerB

A SIEM ingests logs and alerts from disparate sources into a single platform and applies correlation rules to link related events, such as a failed login followed by a privilege escalation and outbound data transfer, into one incident timeline, directly solving the described correlation gap.

Why this answer

A SIEM solution aggregates logs and alerts from multiple sources, normalizes them, and correlates events across systems to surface related activity that individual tools would miss. This directly addresses the root cause — lack of correlation — by providing centralized detection and alerting. It is the standard architectural answer for improving cross-source detection.

Exam trap

CS0-004 often tests the difference between noise reduction and correlation: candidates pick 'disable non-critical alerts' or 'increase logging' because they sound like detection improvements, but the question specifically targets cross-source correlation, which only a SIEM provides.

How to eliminate wrong answers

Option A is wrong because disabling non-critical alerts reduces noise but does not add correlation; it may even hide signals needed to detect multi-stage attacks. Option C is wrong because adding staff increases response capacity but does not solve the technical problem of uncorrelated alerts across sources. Option D is wrong because increasing logging verbosity produces more data without correlation, likely worsening alert fatigue rather than improving detection.

528
MCQmedium

An organization uses OpenSCAP to perform compliance scanning. The scan results indicate that a system fails to meet a STIG requirement. Which of the following best describes the purpose of STIGs?

A.They are used solely for web application security
B.They are vulnerability scoring standards
C.They are industry-standard benchmarks for cloud security
D.They are developed by the DoD to secure its information systems
AnswerD

STIGs are DoD-published configuration baselines that harden systems against known threats, so this option correctly identifies their origin and purpose. OpenSCAP evaluates a host against these mandated settings, and a failure means the system deviates from the DoD's required secure configuration.

Why this answer

STIGs (Security Technical Implementation Guides) are configuration standards developed by the Defense Information Systems Agency (DISA), a DoD agency, to provide mandatory technical security controls for hardening DoD information systems. They define specific settings, patch levels, and configuration baselines that systems must meet to be authorized for use within the DoD. OpenSCAP uses SCAP content (often derived from STIG benchmarks) to automatically assess compliance against these requirements, which is why a failed STIG check indicates a deviation from DoD-mandated configuration.

Exam trap

CS0-004 often tests the confusion between STIGs (DoD configuration hardening guides) and other security frameworks like CVSS (scoring), CIS Benchmarks (industry consensus), or NIST publications, so candidates must remember that STIGs are specifically DoD-developed and prescriptive, not scoring or general industry standards.

How to eliminate wrong answers

Option A is wrong because STIGs cover a broad range of systems—operating systems, databases, network devices, and applications—not solely web application security; web app security is only one small subset. Option B is wrong because vulnerability scoring is handled by standards like CVSS (Common Vulnerability Scoring System), which assigns numerical severity scores to vulnerabilities, whereas STIGs are prescriptive configuration checklists, not scoring systems. Option C is wrong because STIGs are government-developed and DoD-specific, not industry-standard cloud security benchmarks; cloud security benchmarks are typically produced by organizations like the Center for Internet Security (CIS) or the Cloud Security Alliance (CSA).

529
MCQmedium

During a ransomware attack, several workstations have been encrypted. The incident response team has identified the ransomware variant and determined it does not have a known decryption tool. Which containment strategy is MOST appropriate?

A.Disconnect the affected workstations from the network, but leave them powered on.
B.Power off all affected workstations immediately.
C.Run a full antivirus scan on the affected workstations.
D.Restore all affected workstations from backups immediately.
AnswerA

Disconnecting the affected workstations from the network immediately halts the ransomware's ability to spread laterally to other systems and prevents communication with command-and-control servers. Leaving them powered on is critical for preserving volatile memory, which contains invaluable forensic artifacts like running processes, network connections, and decrypted malware components essential for root cause analysis and indicator extraction.

Why this answer

Disconnecting the affected workstations from the network (but leaving them powered on) preserves volatile evidence in memory (e.g., encryption keys, process artifacts) and prevents the ransomware from spreading to other hosts via SMB, RDP, or other lateral movement protocols. Powering off would destroy this critical forensic data, while leaving them connected risks further encryption of network shares.

Exam trap

CompTIA often tests the misconception that immediate power-off is best for safety, but the trap here is that preserving volatile memory for forensic analysis is prioritized over a simple shutdown, especially when no decryption tool exists and evidence may lead to key recovery.

How to eliminate wrong answers

Option B is wrong because immediately powering off workstations destroys volatile memory (RAM) that may contain the ransomware's encryption keys, process handles, or network connections, hindering forensic analysis and potential decryption. Option C is wrong because running a full antivirus scan on already-encrypted files is ineffective—the ransomware binary may be removed, but encrypted files remain unrecoverable without a decryption tool, and scanning consumes time that could allow further spread. Option D is wrong because restoring from backups before containing the threat risks re-infection if the ransomware is still active on the network or if backups are also encrypted; containment must precede recovery.

530
MCQeasy

A security analyst is reviewing a vulnerability scan report and sees a plugin with a CVSS v3.1 base score of 7.5. The attack vector is 'Network', attack complexity is 'Low', privileges required is 'None', user interaction is 'None', scope is 'Unchanged', and the confidentiality impact is 'High', but integrity and availability impacts are 'None'. This vulnerability is best described as:

A.A remote code execution vulnerability
B.A denial of service vulnerability
C.An information disclosure vulnerability
D.A privilege escalation vulnerability
AnswerC

An information disclosure vulnerability specifically exposes sensitive data to unauthorized parties without allowing them to alter system state or disrupt operations. Consequently, the CVSS metric for this vulnerability reflects a High Confidentiality impact, while the Integrity and Availability metrics remain at None or Low.

Why this answer

The vector indicates a remote, easily exploitable vulnerability that only affects confidentiality (e.g., information disclosure).

531
MCQmedium

A security analyst receives a threat intelligence report containing detailed Indicators of Compromise (IoCs) such as IP addresses, file hashes, and domain names. What is the MOST appropriate audience for distributing this type of report?

A.The Security Operations Center (SOC) team
B.External auditors
C.All employees in the organization
D.Senior executives and the board of directors
AnswerA

The Security Operations Center (SOC) team directly consumes tactical Indicators of Compromise (IoCs), such as malicious IP addresses, file hashes, and domain names, to update security monitoring tools. Integrating these feeds into SIEM, SOAR, and EDR platforms allows analysts to detect, investigate, and mitigate active threats in real time.

Why this answer

Tactical intelligence, such as IoCs, is most useful for frontline technical teams like the SOC, who can use it to detect and block threats. Executives typically receive strategic intelligence.

532
MCQmedium

A security analyst is creating a correlation rule in the SIEM to detect DGA (Domain Generation Algorithm) activity. Which of the following data points would be most useful to include in the rule?

A.High number of DNS queries to domains with high entropy and frequent NXDOMAIN responses
B.Multiple successful connections to a single external IP
C.Large data transfers over HTTPS
D.Unusual parent-child process relationships
AnswerA

Correct. DGA malware generates hundreds or thousands of pseudo-random candidate domains per day to locate its command-and-control server, so a rule watching for high-entropy hostnames paired with a burst of NXDOMAIN responses (since most generated domains are never registered) is the defining behavioral fingerprint of DGA activity.

Why this answer

DGA malware generates large volumes of pseudo-random domain names (e.g., 'aj3kf9x2qz.com') to locate its C2 server, and the vast majority of these domains are unregistered, producing NXDOMAIN responses. Correlating a high rate of DNS queries with high-entropy domain strings and a high NXDOMAIN ratio is the classic SIEM detection pattern for DGA beaconing. The other options describe behaviors that are either normal or unrelated to domain-generation activity.

Exam trap

CS0-004 often tests whether candidates confuse network-layer DGA indicators (high-entropy DNS + NXDOMAIN) with host-layer injection indicators (parent-child process anomalies), so pick the answer tied to DNS behavior, not endpoint process trees.

How to eliminate wrong answers

Option B is wrong because multiple successful connections to a single external IP describes normal client-server communication or C2 beaconing to a fixed address, not the algorithmically generated, constantly changing domains that define DGA. Option C is wrong because large HTTPS data transfers indicate exfiltration or bulk download activity, which is a data-loss concern rather than a DNS-based DGA signature. Option D is wrong because unusual parent-child process relationships are a host-based EDR detection for process injection or spawning abuse, not a network/DNS indicator of domain generation.

533
Matchingmedium

Match each security control to its category.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Preventive

Detective

Recovery

Administrative

Technical

Why these pairings

Security controls are categorized by function: preventive (e.g., firewalls), detective (e.g., IDS), and corrective (e.g., backup). Common confusions arise from misassigning preventive and detective roles.

534
Multi-Selectmedium

A security analyst needs to provide threat intelligence to different audiences. Which TWO of the following are appropriate dissemination approaches?

Select 2 answers
A.Sending tactical intelligence with IoCs to the SOC team
B.Publishing operational intelligence on the company intranet
C.Discussing classified threat data in public forums
D.Sharing raw intelligence feeds with all employees
E.Providing strategic intelligence reports to executives
AnswersA, E

Tactical intelligence is time-sensitive, actionable data that directly supports day-to-day security operations. SOC teams require IoCs—such as malicious IPs, file hashes, and domain names—to detect and block immediate threats. By pushing this information to the SOC, analysts can operationalize it and update detection rules, SIEM queries, and EDR configurations in real time.

Why this answer

Option A is correct because tactical intelligence, which includes indicators of compromise (IoCs) such as IP addresses, hashes, and domains, is most actionable for the SOC team that monitors and responds to incidents in real time. Option E is correct because strategic intelligence reports are high-level, business-oriented summaries of threat trends and risks that help executives make informed decisions about security investments and risk posture. Option B is not appropriate because operational intelligence typically contains sensitive details about ongoing campaigns or adversary activity and should be shared only with authorized operational staff, not published broadly on the intranet.

Option C is wrong because discussing classified threat data in public forums would cause unauthorized disclosure and violate classification and confidentiality requirements. Option D is wrong because sharing raw intelligence feeds with all employees exposes unvetted, potentially sensitive data to people without the need or training to interpret it, increasing risk of misuse or leakage.

Exam trap

CS0-004 often tests the appropriate audience for different intelligence types, and candidates may incorrectly assume broader sharing is better, ignoring confidentiality and relevance.

535
MCQhard

An analyst is preparing a report that includes Personally Identifiable Information (PII) from a data breach. The report will be shared with external auditors. Which of the following is the BEST practice for handling PII in the report?

A.Include full PII in the report for complete transparency
B.Encrypt the report and send it via email to auditors
C.Use tokenization or pseudonymization to mask PII while preserving analytical value
D.Remove all PII entirely, leaving only anonymized records
AnswerC

Tokenization replaces sensitive PII with a non-sensitive, algorithmically generated surrogate value (a token), while pseudonymization replaces direct identifiers with a reversible, artificial identifier. Both methods effectively mask the original PII, significantly reducing the risk of direct exposure and compromise, while still allowing auditors to perform necessary analysis, linkage, and validation using the masked data. This approach maintains data utility and analytical value for auditing purposes without compromising individual privacy or violating compliance mandates.

Why this answer

Tokenization or pseudonymization replaces PII with non-sensitive placeholders that retain referential integrity and analytical utility, allowing auditors to perform their review without exposing actual personal data. This approach balances transparency requirements with data minimization principles mandated by regulations like GDPR and PCI DSS, unlike full disclosure or simple encryption which still exposes the original data to the recipient.

Exam trap

CompTIA often tests the misconception that encryption alone is sufficient for data protection in reports, but the trap here is that encryption only secures data in transit or at rest, not after decryption by the recipient, whereas tokenization/pseudonymization provides persistent masking even after the data is accessed.

How to eliminate wrong answers

Option A is wrong because including full PII violates the principle of data minimization and unnecessarily exposes sensitive data to external parties, increasing breach risk and non-compliance with privacy regulations. Option B is wrong because encrypting the report only protects data in transit; once decrypted by the auditors, the full PII is exposed in plaintext, offering no ongoing protection against misuse or further disclosure. Option D is wrong because removing all PII entirely destroys the analytical value needed for audit correlation and verification, effectively rendering the report useless for its intended purpose.

536
Multi-Selectmedium

A security analyst is prioritizing vulnerabilities for remediation. Which TWO factors should be considered HIGHEST when determining prioritization? (Choose two.)

Select 2 answers
A.CVSS base score
B.Number of false positives associated with the scan
C.System owner's preference
D.Age of the vulnerability
E.Known exploit availability
AnswersA, E

The Common Vulnerability Scoring System (CVSS) base score provides a standardized, quantitative framework for assessing the inherent severity of a vulnerability. It evaluates immutable characteristics such as exploitability metrics and impact metrics, allowing analysts to establish an objective baseline for risk prioritization.

Why this answer

The CVSS base score provides a standardized, quantitative measure of a vulnerability's severity based on intrinsic characteristics like attack vector and complexity. Prioritizing by CVSS score ensures that remediation efforts focus on vulnerabilities with the highest potential impact, aligning with industry best practices for risk-based vulnerability management.

Exam trap

The CS0-004 exam often tests that candidates confuse vulnerability age with exploit maturity, but age alone is irrelevant without evidence of active exploitation or a functional exploit in the wild.

537
MCQhard

An analyst is performing static analysis on a suspicious executable. The analyst discovers that the PE file has a suspicious section name and a high entropy value. Which tool or technique would be MOST useful for further analyzing the packed nature of the file?

A.Extracting strings from the binary
B.Using a YARA rule to detect the packer
C.Using PEiD or similar packer identifier
D.Running the file in a sandbox
AnswerC

PEiD and similar packer detection tools analyze the Portable Executable (PE) headers, entry point signatures, and section characteristics to quickly and accurately identify specific packers, cryptors, or compilers. This static analysis technique is the most direct and efficient way to confirm if an executable is packed and to determine the exact packing algorithm applied.

Why this answer

PEiD or similar tools can detect packers by scanning for known signatures. High entropy and suspicious section names often indicate packing, so using a packer identifier is appropriate.

538
MCQeasy

Which analysis technique involves examining the parent-child relationships of processes to identify potentially malicious activity?

A.Network analysis
B.Memory analysis
C.Registry analysis
D.Process analysis
AnswerD

Process analysis specifically evaluates the execution lifecycle, metadata, and hierarchical relationships of running programs. By examining process trees, analysts can identify anomalous parent-child relationships, such as a web server spawning a command shell, which is a classic indicator of compromise.

Why this answer

Process analysis involves examining running processes, their attributes, and especially their parent-child relationships to detect anomalies such as a suspicious process spawned by an unexpected parent (e.g., a word processor spawning cmd.exe). This technique is fundamental in endpoint detection and response (EDR) and forensic investigations to identify malicious activity like process injection or lateral movement.

Exam trap

CS0-004 often tests the confusion between different analysis techniques, where candidates might choose memory analysis for process relationships because processes reside in memory, but the specific focus on parent-child relationships is unique to process analysis.

How to eliminate wrong answers

Option A is wrong because network analysis focuses on network traffic, protocols, and connections, not on process hierarchies. Option B is wrong because memory analysis examines volatile memory for artifacts like injected code or credentials, but does not specifically focus on parent-child process relationships. Option C is wrong because registry analysis involves examining Windows Registry keys and values for configuration changes or persistence mechanisms, not process relationships.

539
MCQhard

A SOC analyst receives an alert from a threat intelligence platform (TIP) about a new phishing campaign. The indicator is a URL. Which enrichment source is BEST for determining the URL's current hosting infrastructure?

A.VirusTotal
B.WHOIS
C.Shodan
D.Passive DNS
AnswerD

Passive DNS databases log DNS query and response transactions captured by sensors across the internet. This allows analysts to reconstruct historical domain-to-IP mappings, identify fast-flux DNS techniques, and pinpoint when a malicious domain pointed to specific infrastructure.

Why this answer

Passive DNS allows querying historical and current IP addresses associated with a domain, revealing hosting changes.

540
MCQmedium

Refer to the exhibit. A security analyst is reviewing SIEM logs and notices repeated entries from the same source IP. Which of the following actions should the analyst take NEXT?

A.Immediately block the source IP at the firewall
B.Check the baseline behavior of the source IP
C.Update the signature database
D.Isolate the affected system for forensic analysis
AnswerB

Checking the baseline behavior of the source IP is a crucial initial step in incident response, as it provides essential context for the triggered SIEM alert. By comparing the current activity against established normal patterns for that IP, the analyst can determine if the behavior is truly anomalous or if it represents a routine, albeit unusual, operation. This comparison helps to quickly differentiate between legitimate, expected traffic and genuinely suspicious activity, thereby reducing false positives and prioritizing actual threats.

Why this answer

The first step in incident response is to validate whether the activity is malicious by comparing it against a known baseline. Repeated entries from the same source IP could indicate a benign automated process (e.g., a legitimate monitoring tool or scheduled scan) rather than an attack. Checking the baseline behavior prevents unnecessary disruption and aligns with the NIST SP 800-61 incident response framework's emphasis on identification and analysis before containment.

Exam trap

CompTIA often tests the candidate's ability to resist the impulse to immediately block or contain, emphasizing that verification against a baseline is the mandatory next step before any action in the incident response process.

How to eliminate wrong answers

Option A is wrong because immediately blocking the source IP without verifying the baseline could disrupt legitimate services (e.g., a corporate VPN concentrator or authorized vulnerability scanner) and violates the principle of least disruption during initial triage. Option C is wrong because updating the signature database is a preventive maintenance task for IDS/IPS systems, not a reactive step for analyzing a specific repeated log entry; it does not help determine if the source IP's behavior is anomalous. Option D is wrong because isolating the affected system for forensic analysis is a containment step that should only occur after confirming the activity is malicious; premature isolation can cause unnecessary downtime and data loss if the system is not actually compromised.

541
Multi-Selectmedium

A security analyst is performing a web application security assessment and identifies a potential cross-site scripting (XSS) vulnerability. The application is critical to business operations. Which TWO of the following are appropriate immediate actions?

Select 2 answers
A.Take the application offline immediately
B.Implement a web application firewall (WAF) rule to block XSS payloads
C.Ignore the finding because XSS is low risk
D.Notify law enforcement immediately
E.Report the vulnerability to the development team for remediation
AnswersB, E

Implementing a web application firewall (WAF) rule (e.g., using the OWASP Core Rule Set) immediately blocks known XSS payloads at the edge, providing a temporary mitigation that reduces exploitability without taking the application offline. The WAF can be tuned to inspect query strings, POST bodies, and headers for attack signatures, allowing the security team to protect users while the development team prepares a permanent patch. This is a standard first-line response for web vulnerabilities, but the WAF rule should be considered a compensating control, not a substitute for secure coding.

Why this answer

Option B is correct because deploying a WAF rule to block XSS payloads provides an immediate compensating control that mitigates exploitation attempts while a permanent code fix is developed, which is essential for a business-critical application that cannot simply be shut down. Option E is correct because reporting the vulnerability to the development team initiates proper remediation, such as output encoding, input validation, and context-aware escaping, addressing the root cause of the XSS flaw. Option A is not appropriate because taking a critical business application offline immediately would cause severe operational disruption; a compensating control is preferred first.

Option C is wrong because XSS is a serious vulnerability that can lead to session hijacking, credential theft, and data exfiltration, not a low-risk finding. Option D is incorrect because notifying law enforcement is not an immediate technical response to an internally discovered vulnerability; it would only apply in cases of confirmed criminal attack or breach with legal reporting requirements.

Exam trap

CS0-004 often tests the balance between security and availability; candidates may choose to take the application offline, but that is rarely the correct immediate action for a vulnerability unless actively exploited. The trap is overreacting versus underreacting.

542
MCQhard

A new cloud log source is onboarded, but analytics fail because source IP, user, and action fields are mapped inconsistently. What should the engineer fix?

A.Log normalization and field mapping in the parser
B.Disable all enrichment lookups
C.Increase the dashboard refresh interval
D.Move logs to cold storage immediately
AnswerA

When a new cloud log source is onboarded, raw log data arrives in various formats. The parser's role is to transform this unstructured or semi-structured data into a standardized, structured format, assigning consistent field names through normalization and mapping. If this crucial parsing and field mapping process fails, analytics engines cannot correctly interpret or query the data, leading directly to the failure of detection rules and other analytical functions that rely on these consistent fields.

Why this answer

Log normalization and field mapping in the parser ensure that source IP, user, and action fields from the new cloud log source are consistently transformed into the schema expected by the SIEM or analytics platform. Without this, the analytics engine cannot correlate or alert on the data because the fields are not recognized or are mapped to incorrect attributes, leading to failed analytics.

Exam trap

The CS0-004 exam often tests the misconception that analytics failures are due to display or enrichment issues, when the real problem is almost always a parsing or normalization mismatch at the ingestion layer.

How to eliminate wrong answers

Option B is wrong because disabling all enrichment lookups would remove valuable context (e.g., geo-IP, threat intelligence) but does not fix the root cause of inconsistent field mapping; the logs would still be parsed incorrectly. Option C is wrong because increasing the dashboard refresh interval only changes how often the dashboard updates its display; it has no effect on how the raw log data is parsed or normalized, so the analytics would still fail.

543
Drag & Dropmedium

Arrange the steps for a typical digital forensics investigation process.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

Digital forensics follows identification, preservation, collection, examination, and presentation.

544
Multi-Selecteasy

An incident response team is conducting post-incident activities after containing a malware outbreak. Which TWO activities should be included in the lessons learned phase? (Choose TWO.)

Select 2 answers
A.Deleting all logs from the incident.
B.Conducting a root cause analysis.
C.Rewriting the organization's security policy from scratch.
D.Updating detection rules based on IOCs.
E.Patching all systems immediately.
AnswersB, D

Conducting a root cause analysis is the central activity of the lessons-learned phase, as it systematically identifies the underlying human, technical, or procedural factors that allowed the incident. Using structured methods like "5 Whys" or fault tree analysis, the team traces the chain of events back to initial conditions, distinguishing the immediate trigger from the deeper vulnerabilities or gaps. This analysis drives targeted remediation—such as revised hardening standards or additional training—so that similar incidents are less likely to recur.

Why this answer

Option B (Conducting a root cause analysis) is correct because the lessons learned phase of incident response requires determining why the malware outbreak occurred and how it bypassed existing controls, so the team can address the underlying weakness rather than just the symptom. Option D (Updating detection rules based on IOCs) is correct because indicators of compromise gathered during the incident should be operationalized into SIEM correlation rules, IDS/IPS signatures, or EDR detections to improve future detection and reduce time to identify similar threats. Option A is wrong because deleting logs destroys forensic evidence and violates retention and chain-of-custody requirements; logs should be preserved and reviewed.

Option C is wrong because rewriting the entire security policy from scratch is an overreaction not scoped to lessons learned, which should produce targeted improvements. Option E is wrong because patching all systems immediately is a remediation action that belongs to the eradication/recovery phase, not the post-incident lessons learned review.

Exam trap

CS0-004 often tests the confusion between remediation actions (patching, deleting malware, restoring systems) and post-incident lessons-learned activities (root cause analysis, detection tuning, playbook updates) — candidates pick 'patching all systems' because it sounds proactive, but it belongs to the eradication/recovery phase, not lessons learned.

545
Multi-Selectmedium

Which TWO of the following are essential steps in the incident response phase of 'Containment, Eradication, and Recovery'? (Choose two.)

Select 2 answers
A.Reimage all systems in the environment
B.Disconnect the organization from the internet
C.Remove malicious files and artifacts from affected systems
D.Collect and preserve forensic evidence
E.Isolate affected systems from the network
AnswersC, E

Removing malicious files, registry keys, and unauthorized user accounts is a core component of the eradication phase. This step ensures that the active threat vectors and persistence mechanisms are completely purged from the compromised hosts before transitioning to the recovery phase.

Why this answer

Removing malicious files and artifacts from affected systems is a core step in the eradication phase, ensuring that the root cause of the incident is eliminated and the system can be safely restored to normal operations. This step directly addresses the removal of malware, persistence mechanisms, and unauthorized changes that were identified during analysis.

Exam trap

CompTIA often tests the distinction between 'containment' actions (like isolation) and 'eradication' actions (like removal of artifacts), and the trap here is that candidates confuse 'collecting forensic evidence' (which belongs to the identification phase) with a step in the containment/eradication process.

546
MCQeasy

A security analyst is reviewing vulnerability scan results and sees a critical vulnerability on a web server with a CVSS score of 9.8. The server is a legacy system that cannot be patched without causing application downtime. The business requires the application to remain available. Which of the following is the BEST course of action?

A.Remove the system from the network.
B.Disable the vulnerable service on the server.
C.Accept the risk and do nothing.
D.Implement a virtual patch using a web application firewall.
AnswerD

Implementing a virtual patch using a Web Application Firewall (WAF) is an effective and non-disruptive mitigation strategy. A WAF can inspect incoming traffic and block malicious requests targeting known vulnerabilities, effectively shielding the application without modifying its underlying code or taking it offline. This approach allows organizations to mitigate immediate risks and maintain system availability while awaiting a vendor-supplied patch or a more permanent code fix.

Why this answer

A virtual patch via a web application firewall (WAF) can inspect and block exploit attempts against the vulnerability without modifying the legacy server's code or binaries. This allows the business-critical application to remain available while mitigating the 9.8 CVSS risk at the network layer, typically using signature-based or behavioral rules to intercept malicious payloads targeting the flaw.

Exam trap

CompTIA often tests the misconception that a critical vulnerability always requires immediate patching or removal, when in reality compensating controls like a WAF virtual patch are the preferred risk treatment for legacy systems that cannot be taken offline.

How to eliminate wrong answers

Option A is wrong because removing the system from the network would cause the exact application downtime the business requires to avoid, and it is an overly drastic measure when a compensating control exists. Option B is wrong because disabling the vulnerable service on the server would likely break the application's functionality, as the service is presumably the core web server process, and this also fails to address the business requirement for availability. Option C is wrong because accepting the risk and doing nothing ignores the critical severity (CVSS 9.8) and the high likelihood of exploitation, which is irresponsible without first attempting a compensating control like a WAF.

547
MCQmedium

A security analyst needs to report a critical vulnerability to the executive team. The report should balance technical details with business impact. Which of the following is the BEST approach?

A.Simply state the vulnerability exists and a patch is available
B.Write a 50-page report covering every technical detail and mitigation option
C.Explain the vulnerability in terms of potential business impact and recommended risk treatment
D.Provide a full technical analysis of the vulnerability and remediation steps
AnswerC

Explaining a critical vulnerability in terms of its potential business impact—such as financial loss, reputational damage, operational disruption, or regulatory non-compliance—directly addresses executive concerns. Coupled with recommended risk treatment strategies (e.g., mitigation, acceptance, transfer), this approach provides decision-makers with the necessary context to understand the strategic implications and approve appropriate resource allocation. This empowers informed risk management decisions aligned with organizational objectives.

Why this answer

It directly addresses the core requirement of balancing technical details with business impact. For a critical vulnerability, the executive team needs to understand the potential financial, operational, and reputational risks, not just the technical flaw. This approach aligns with the NIST risk management framework, which emphasizes communicating risk in terms of business context to enable informed decision-making on risk treatment (e.g., accept, mitigate, transfer, avoid).

Exam trap

CompTIA often tests the distinction between technical completeness and audience-appropriate communication, trapping candidates who choose Option D because they mistake 'full technical analysis' for the best approach, when the question explicitly requires balancing technical details with business impact for an executive audience.

How to eliminate wrong answers

Option A is wrong because simply stating a vulnerability exists and a patch is available lacks the necessary business context and risk assessment; executives need to understand the potential impact on operations, compliance, and revenue to prioritize remediation. Option B is wrong because a 50-page report with every technical detail is excessive and counterproductive for an executive audience, who require concise, actionable summaries focused on risk and business outcomes, not exhaustive technical minutiae. Option D is wrong because providing a full technical analysis and remediation steps, while thorough, fails to translate the vulnerability into business terms; it omits the critical risk treatment recommendation and does not help executives weigh the cost of remediation against potential business disruption.

548
MCQmedium

A vulnerability report for a critical application shows that a high-risk vulnerability has been accepted by the business owner. What should the analyst include in the report to document this decision?

A.A formal risk acceptance form signed by the business owner with a justification
B.The technical details of the vulnerability only
C.An automatic closure of the vulnerability ticket
D.A note that the vulnerability is low priority
AnswerA

Formal risk acceptance requires accountability and explicit authorization from the asset owner who bears the ultimate business risk. This document must detail the business justification for not remediating the flaw, alongside compensating controls, to satisfy regulatory compliance and internal governance frameworks.

Why this answer

Proper risk acceptance documentation requires a formal sign-off by the risk owner, typically including a justification and acceptance date.

549
Multi-Selecteasy

An incident response team is analyzing indicators of compromise (IOCs) from a phishing campaign. Which THREE of the following are commonly used IOC types? (Select THREE.)

Select 3 answers
A.CPU registers
B.IP addresses
C.Domain names
D.Software version numbers
E.File hashes
AnswersB, C, E

IP addresses are fundamental network-level IOCs because they denote the source or destination of malicious traffic observed in logs, packet captures, or DNS queries. When an infection communicates with a command-and-control (C2) node or an attacker launches a brute-force attack, that IP address becomes a repeatable, searchable value in firewall logs, SIEM alerts, and threat feeds. Sharing an IP address allows other organizations to block the endpoint, but note that IPs can change quickly, making them a time-sensitive indicator.

Why this answer

IP addresses (B) are a standard network-based IOC, since malicious command-and-control servers, phishing hosts, and payload delivery endpoints are tracked by their IPv4/IPv6 addresses. Domain names (C) are equally common IOCs, as phishing URLs, C2 domains, and DNS-based exfiltration are identified by fully qualified domain names. File hashes (E), typically MD5, SHA-1, or SHA-256 values, are host-based IOCs used to uniquely identify known malicious files such as phishing attachments or malware binaries.

CPU registers (A) are volatile runtime processor state, not a shareable indicator of compromise, and software version numbers (D) describe legitimate application builds rather than evidence of malicious activity.

Exam trap

CS0-004 often tests whether candidates distinguish IOCs from vulnerability indicators — software version numbers describe exposure, not observed compromise, and are not IOCs.

550
MCQeasy

Which of the following vulnerability scanning tools is open source and commonly used for network vulnerability assessment?

A.Nessus
B.Qualys
C.Rapid7 InsightVM
D.OpenVAS
AnswerD

OpenVAS (Open Vulnerability Assessment System) is a fully open-source vulnerability scanner maintained by Greenbone Networks. It provides a comprehensive, community-driven feed of Network Vulnerability Tests (NVTs) under the GNU General Public License (GPL), allowing organizations to inspect, modify, and deploy the scanner without licensing fees.

Why this answer

OpenVAS is a well-known open-source vulnerability scanner.

551
MCQmedium

A security analyst at a financial institution is responsible for vulnerability management. The company has a policy that all critical vulnerabilities must be remediated within 72 hours. The weekly vulnerability scan identifies a critical vulnerability on a file server that hosts sensitive customer data. The vulnerability is a remote code execution in the operating system. The server is running a legacy OS that is no longer supported by the vendor. The system owner states that the application on the server cannot be migrated to a newer OS for at least six months. The server cannot be taken offline because it is used by the compliance team for daily audits. Which of the following should the analyst recommend to best address the risk?

A.Remove the server from the network immediately.
B.Implement compensating controls such as network segmentation and host-based firewall rules.
C.Accept the risk and document the exception.
D.Apply a custom patch developed by the manufacturer.
AnswerB

Implementing compensating controls like network segmentation and host-based firewall rules is the most appropriate immediate action. These controls effectively reduce the attack surface and limit potential exploitation of the vulnerability without disrupting critical services, buying valuable time for a planned migration or upgrade. This strategy aligns with risk management principles by mitigating immediate threats while a long-term solution is prepared and executed.

Why this answer

When a critical vulnerability cannot be patched due to legacy OS constraints, compensating controls are the best approach to reduce risk. Network segmentation isolates the server from untrusted hosts, and host-based firewall rules restrict inbound/outbound traffic to only necessary ports and IPs, mitigating the remote code execution vector without taking the server offline.

Exam trap

CompTIA often tests the concept that compensating controls are the appropriate response when patching is impossible and business continuity is critical, tricking candidates into choosing risk acceptance (C) without considering that compensating controls must be implemented first.

How to eliminate wrong answers

Option A is wrong because immediately removing the server from the network would halt compliance audits, violating business requirements and potentially causing regulatory issues; it is an extreme measure not aligned with risk acceptance or compensating controls. Option C is wrong because accepting risk and documenting an exception without implementing any technical safeguards ignores the policy requiring remediation within 72 hours and leaves sensitive customer data exposed to remote code execution. Option D is wrong because the OS is no longer supported by the vendor, so no custom patch is available; applying an unsupported or unofficial patch could introduce instability or security flaws and is not a recommended practice.

552
MCQeasy

An analyst needs to identify which process on a Windows system is making outbound connections to the internet. Which tool should be used?

A.netstat -an
B.Task Manager
C.Resource Monitor
D.Performance Monitor
AnswerC

Resource Monitor is a built-in Windows tool that provides detailed real-time information about hardware and software resource usage, including network activity. Under the "Network" tab, it clearly lists all processes with active network connections, displaying their associated Process IDs (PIDs), local and remote addresses, port numbers, and even latency. This comprehensive view allows an analyst to precisely identify which process is responsible for specific network communications, fulfilling the requirement to map network activity directly to a process.

Why this answer

Resource Monitor (resmon.exe) provides a real-time view of network activity, including which processes are making outbound TCP and UDP connections, along with the remote addresses and ports. Unlike netstat, it directly associates network connections with specific process names and allows filtering by process, making it the most efficient tool for identifying the exact process responsible for outbound internet traffic.

Exam trap

CompTIA often tests the distinction between tools that show aggregate network usage (Task Manager) versus those that show per-connection process mapping (Resource Monitor), leading candidates to choose Task Manager because they associate it with network activity without realizing it lacks connection-level detail.

How to eliminate wrong answers

Option A is wrong because netstat -an shows all active connections and listening ports but does not display the process name or PID by default; without the -b or -o flags, it cannot identify which process owns a connection. Option B is wrong because Task Manager's default view shows CPU, memory, disk, and network utilization per process, but it does not list individual outbound connections or remote addresses, only aggregate network usage. Option D is wrong because Performance Monitor is designed for long-term performance logging and analysis of system counters, not for real-time identification of specific process-to-remote-address connections.

553
MCQeasy

Which of the following is a key performance indicator (KPI) for measuring the efficiency of patch management?

A.Mean time to respond (MTTR)
B.Number of open vulnerabilities
C.Phishing simulation click rate
D.Patch SLA compliance %
AnswerD

Patch SLA compliance percentage is a primary key performance indicator (KPI) because it directly measures how effectively the IT and security teams meet established service-level agreement deadlines for deploying updates. By tracking the percentage of systems patched within the mandated window (e.g., critical patches within 72 hours), organizations can quantitatively evaluate the efficiency and consistency of their vulnerability management lifecycle.

Why this answer

Patch SLA compliance % directly measures how efficiently the patch management process meets its defined service-level targets — the percentage of patches applied within the agreed remediation window. This is a process-efficiency KPI because it evaluates the speed and consistency of the patching workflow against a defined benchmark. MTTR measures incident response, not patch throughput, and open vulnerability count reflects exposure rather than process efficiency.

Exam trap

CS0-004 often tests the distinction between process-efficiency KPIs (SLA compliance, patch cycle time) and outcome/risk metrics (open vulnerabilities, MTTR), so candidates who grab the most 'security-sounding' metric pick the wrong answer.

How to eliminate wrong answers

Option A is wrong because MTTR (mean time to respond) is an incident-response metric that measures how quickly security teams react to incidents, not how efficiently patches are deployed. Option B is wrong because the number of open vulnerabilities is a risk/exposure metric — it can rise or fall for reasons unrelated to patch process efficiency (new scans, new CVEs, false positives). Option C is wrong because phishing simulation click rate measures security awareness training effectiveness, which is unrelated to patch management.

554
Multi-Selecteasy

Which TWO of the following are best practices for secure log management? (Choose TWO)

Select 2 answers
A.Enable log encryption in transit and at rest
B.Implement log aggregation from multiple sources
C.Disable logging on non-critical systems to save space
D.Store logs on the same server for easy access
E.Use a common log format for all sources
AnswersA, B

Encrypting logs in transit, typically with syslog over TLS, prevents an attacker on the network path from intercepting or tampering with events as they move to the collector, while encryption at rest protects stored log archives from unauthorized read access if the storage media or backup is stolen, together preserving both confidentiality and evidentiary integrity for later forensic use.

Why this answer

Encrypting logs in transit (e.g., using TLS/SSL for syslog over TCP 6514) and at rest (e.g., AES-256 encryption on the storage volume) ensures confidentiality and integrity, preventing unauthorized access or tampering. This aligns with security frameworks like NIST SP 800-92 and PCI DSS requirements for protecting log data.

Exam trap

CompTIA often tests the misconception that 'common log format' is a security best practice, but it is actually an operational convenience; the trap is confusing operational efficiency with security controls.

555
MCQeasy

A security analyst is using OpenVAS to perform a vulnerability scan of an internal network. The scan completes and generates a report listing several vulnerabilities. What is the next step in the vulnerability lifecycle?

A.Prioritization
B.Verification
C.Reporting
D.Remediation
AnswerA

Immediately after scan results are generated, analysts must rank findings by exploitability, asset criticality, and business context so limited remediation resources are directed at the highest-impact vulnerabilities first, which is prioritization.

Why this answer

After discovery (scanning), the next step is prioritization of vulnerabilities based on risk, exploitability, and business impact.

556
Multi-Selectmedium

Which TWO of the following are key phases of the incident response process as defined by NIST?

Select 2 answers
A.Recovery
B.Containment
C.Preparation
D.Eradication
E.Post-Incident Activity
AnswersC, E

Preparation is the foundational first phase of the incident response lifecycle, establishing the necessary policies, tools, and training before an incident occurs. This phase ensures that the organization has a trained Incident Response Team (IRT), defined communication channels, and pre-configured security controls to effectively handle threats.

Why this answer

The NIST SP 800-61 Rev. 2 incident response lifecycle consists of four key phases: Preparation, Detection & Analysis, Containment/Eradication/Recovery, and Post-Incident Activity. Option C (Preparation) is correct because it is the foundational phase where policies, tools (e.g., SIEM, EDR), and communication plans are established before any incident occurs. Option E (Post-Incident Activity) is correct because it includes lessons learned, evidence retention, and report generation to improve future response efforts.

Exam trap

The CS0-004 exam often tests the distinction between the four key NIST phases and the sub-steps within the third phase, causing candidates to mistakenly select Containment, Eradication, or Recovery as separate key phases instead of recognizing they are combined.

557
MCQmedium

A scan of Windows servers reports few findings, but the scanner used no credentials. The security manager suspects missing patch data. What should be changed? For control selection, Which control best addresses the stated weakness without hiding risk?

A.Run authenticated scans using least-privilege scanner credentials
B.Increase only the port range
C.Disable host firewalls permanently
D.Trust the unauthenticated result as complete
AnswerA

Authenticated scanning, utilizing least-privilege credentials, provides the vulnerability scanner with direct access to the target system's internal configuration, installed software inventory, and precise patch levels. This deep visibility allows for accurate identification of missing security updates, misconfigurations, and local vulnerabilities that unauthenticated scans cannot detect. Employing least privilege ensures that the scanner only has the necessary permissions to gather security-relevant data, minimizing potential attack surface if credentials are compromised.

Why this answer

Unauthenticated scans only enumerate open ports and services visible without credentials, missing the patch status of installed software because they cannot query the Windows registry or WMI for installed updates. Running authenticated scans with least-privilege credentials allows the scanner to log into each target and retrieve detailed patch data via the Windows Update Agent API or registry keys, revealing missing patches that were previously invisible. This directly addresses the security manager's suspicion of missing patch data without introducing unnecessary risk.

Exam trap

The CS0-004 exam often tests the misconception that increasing scan depth (e.g., port range or intensity) compensates for lack of authentication, but the trap here is that patch data is only accessible through authenticated access, not by broader network scanning.

How to eliminate wrong answers

Option B is wrong because increasing only the port range expands the network-layer scan but still cannot access patch-level information without authentication; it only finds more open ports, not missing patches. Option C is wrong because permanently disabling host firewalls exposes the servers to network-based attacks and does not enable the scanner to retrieve patch data—authentication is required, not firewall bypass. Option D is wrong because trusting the unauthenticated result as complete ignores the fundamental limitation that unauthenticated scans cannot assess patch status, leaving the organization vulnerable to known exploits that the scanner missed.

558
MCQhard

A security analyst is reviewing SIEM alerts and sees multiple failed logon events from a single external IP address across several user accounts within two minutes. The source IP is from a known malicious geolocation. What type of attack is most likely occurring?

A.Password spraying attack
B.Distributed denial-of-service (DDoS) attack
C.Brute-force attack
D.Pass-the-hash attack
AnswerA

A password spraying attack involves attempting a single, common password against a large number of user accounts to avoid triggering account lockout policies for any single account. While it targets multiple accounts, the defining characteristic is the single password and often distributed source IPs or spaced-out attempts to evade detection. The scenario described, "multiple failed logon attempts from one IP across accounts," suggests a concentrated effort from a single source trying different credentials, which is less typical for a stealthy password spray.

Why this answer

The scenario describes multiple failed logon attempts from a single external IP address across several different user accounts within a short timeframe. This is the classic signature of a password spraying attack, where an attacker attempts to gain access by testing a few common passwords (like 'Password123!') against many different usernames to bypass account lockout policies that would trigger if they targeted a single account with multiple passwords.

Exam trap

CompTIA frequently tests the distinction between brute-force and password spraying. Remember: Brute-force targets a single account with many passwords, while password spraying targets many accounts with a few common passwords.

How to eliminate wrong answers

Option A is wrong because a password spraying attack uses a small number of common passwords against many accounts over an extended period to evade account lockout, not rapid attempts from one IP against multiple accounts. Option B is wrong because a DDoS attack aims to overwhelm a service with traffic to cause denial of service, not to authenticate via logon events. Option D is wrong because a pass-the-hash attack involves capturing and reusing NTLM or Kerberos hashes to authenticate without knowing the plaintext password, which does not generate failed logon events from a single external IP.

559
MCQhard

A company policy requires that all security incidents be reported to management within one hour of detection. An analyst discovers a low-severity incident (a single malware download attempt blocked by antivirus) at 4:55 PM on a Friday. The analyst is about to leave for the weekend. What should the analyst do?

A.Document the incident in the ticketing system and report it the next business day.
B.Report the incident immediately according to policy, even if it means staying late.
C.Report the incident via email and ignore it until Monday.
D.Wait until Monday morning to report, as it is low severity.
AnswerB

Policy mandates reporting every security incident to management within one hour of detection, regardless of severity or timing. The analyst must comply immediately, so staying late to report the blocked malware attempt satisfies that explicit one-hour constraint.

Why this answer

The company policy explicitly requires reporting all security incidents within one hour of detection, regardless of severity. The analyst must report the incident immediately, even if it means staying late, as policy compliance is mandatory and low-severity incidents still represent a security event that could indicate broader compromise or be part of a larger attack chain. Delaying reporting violates the policy and could lead to disciplinary action or missed escalation windows.

Exam trap

The trap here is that candidates assume low-severity incidents can be deferred or handled casually, but CompTIA CySA+ tests strict adherence to policy timelines regardless of severity, emphasizing that all incidents must be reported within the specified window.

How to eliminate wrong answers

Option A is wrong because documenting the incident in the ticketing system but delaying the report until the next business day violates the one-hour reporting policy, and low severity does not exempt the analyst from timely notification. Option C is wrong because reporting via email and then ignoring the incident until Monday fails to ensure the incident is properly tracked, escalated, or remediated, and it does not constitute a complete report within the required timeframe. Option D is wrong because waiting until Monday morning to report, even for a low-severity incident, directly contradicts the policy that mandates reporting within one hour of detection, and severity does not override the reporting requirement.

560
MCQeasy

A security analyst needs to communicate the business impact of a newly discovered critical vulnerability to the executive team. Which of the following is the BEST approach?

A.Send the raw vulnerability scan report.
B.Explain the vulnerability in layman's terms and estimate potential financial loss.
C.Recommend immediate patching without further context.
D.Provide a detailed CVSS score and exploit code.
AnswerB

This is the correct approach because it strips out jargon and instead frames the exposure as a concrete estimate of financial loss, which is the currency executives use to weigh competing priorities. Plain-language framing paired with a dollar figure lets leadership approve remediation resources without needing a technical background.

Why this answer

Translating technical risk into business terms (financial, reputational, regulatory) helps executives understand the impact and make informed decisions.

561
Drag & Dropmedium

Arrange the steps for a typical penetration testing engagement in the correct order.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

Penetration testing follows a structured methodology: recon, scanning, exploitation, post-exploitation, and reporting.

562
MCQeasy

A security analyst is analyzing a suspicious file using static analysis. The analyst wants to identify imported functions to determine the file's capabilities. Which tool or technique is BEST suited for this task?

A.Extracting strings from the file
B.Submitting the file to VirusTotal
C.Running the file in a sandbox like Cuckoo
D.Analyzing the PE header's import table
AnswerD

Analyzing the Portable Executable (PE) header's import table, specifically the Import Address Table (IAT), is a fundamental static analysis technique. It explicitly lists the dynamic-link libraries (DLLs) and the specific functions that the binary requests from the operating system, such as InternetOpenA or WriteProcessMemory. This provides immediate, concrete clues about the program's intended capabilities and behavior without executing the payload.

Why this answer

PE header analysis includes examining the import table to see which Windows API functions the executable calls, revealing its potential behavior.

563
MCQhard

During an incident, the SOC team identifies indicators of compromise (IoCs) that may affect partners. According to best practices, what should the analyst do first?

A.Follow the incident response communication plan
B.Wait until the incident is fully resolved
C.Post the IoCs on a public threat sharing platform
D.Directly notify all affected partners
AnswerA

Adhering to the pre-established incident response communication plan ensures that all internal and external stakeholders are notified in a controlled, legally compliant, and authorized manner. This plan defines specific roles, escalation paths, and approved channels, preventing unauthorized disclosures that could compromise the active investigation or violate regulatory requirements.

Why this answer

An incident response plan should define communication procedures; typically, the team should escalate internally to leadership who can authorize external notifications.

564
MCQhard

An analyst examines a memory dump from a compromised host and finds that 'svchost.exe' is executing code from a memory region that is not backed by any executable file. What technique is most likely being used?

A.Reflective DLL injection
B.API hooking
C.Process hollowing
D.DLL injection
AnswerC

Process hollowing involves spawning a legitimate system process in a suspended state, unmapping its original executable memory using APIs like NtUnmapViewOfSection, and writing malicious code into the hollowed-out space. Because the malicious payload is written directly into the allocated memory of the victim process without being loaded from a corresponding file on disk, memory analysis reveals executable regions that lack proper file backing. This allows the malware to masquerade as a trusted system process.

Why this answer

Process hollowing involves creating a legitimate process (often svchost.exe) in a suspended state, unmapping its original executable image from memory, and replacing it with malicious code. The result is a process whose in-memory code is not backed by any executable file on disk, which is exactly what the memory dump shows. Reflective DLL injection and classic DLL injection leave the host image intact and load a DLL into it.

Exam trap

CS0-004 often tests whether candidates can distinguish process hollowing (original image unmapped, unbacked executable region) from DLL injection (host image intact, extra DLL loaded) — the phrase 'not backed by any executable file' is the tell for hollowing.

How to eliminate wrong answers

Option A is wrong because reflective DLL injection loads a DLL directly into memory via a reflective loader, but the host process's original executable image remains mapped and file-backed, so the 'not backed by any executable file' signature does not match. Option B is wrong because API hooking redirects function calls within a process (e.g., via IAT or inline hooks) and does not replace the process image or create unbacked executable regions. Option D is wrong because classic DLL injection uses LoadLibrary or manual mapping to add a DLL to a running process, but the primary executable image is still file-backed, so the specific indicator described points to hollowing.

565
Multi-Selecthard

A threat hunter suspects data exfiltration over HTTPS from a database server. Which data sources are most useful? (Choose two.)

Select 2 answers
A.Database audit logs showing queried objects and accounts
B.Printer toner status
C.Building temperature logs
D.NetFlow or proxy logs showing destination, volume, and timing
AnswersA, D

Database audit logs are critical for identifying data exfiltration because they record specific queries executed, the objects (tables, columns) accessed, and the user accounts performing these actions. These logs can reveal unauthorized access to sensitive data, unusual query patterns, or the bulk retrieval of information just prior to suspected exfiltration, directly linking internal data manipulation to potential outbound transfers. This provides crucial evidence of *what* data was accessed and *who* accessed it.

Why this answer

Database audit logs record which objects (tables, columns) were queried and by which accounts, directly revealing unauthorized access or unusual data retrieval patterns that could indicate exfiltration. NetFlow or proxy logs capture destination IP addresses, data volumes, and timing of HTTPS sessions, allowing the hunter to spot large or anomalous outbound transfers to suspicious hosts, even though the payload is encrypted.

Exam trap

The CS0-004 exam often tests the misconception that encrypted traffic (HTTPS) is completely opaque, leading candidates to overlook metadata sources like NetFlow or proxy logs that can reveal exfiltration patterns without decryption.

566
MCQeasy

During a vulnerability scan of an internal web server, the scanner reports a critical vulnerability with a CVSS score of 9.8. The analyst reviews the finding and determines that the vulnerability is mitigated by a Web Application Firewall (WAF) deployed in front of the server. What should the analyst do with this finding?

A.Mark the finding as a false positive and close it.
B.Immediately patch the server to remove the vulnerability.
C.Document the compensating control and track the finding until patched.
D.Increase the scan frequency to detect if the vulnerability changes.
AnswerC

This is the correct approach because it maintains accurate risk visibility while acknowledging the temporary protection provided by the Web Application Firewall (WAF). Documenting the WAF as a compensating control justifies delaying immediate patching, but the vulnerability must still be tracked in the risk register. This ensures the flaw is eventually remediated permanently during scheduled maintenance, preventing exposure if the WAF is misconfigured or bypassed.

Why this answer

The vulnerability is effectively mitigated by the compensating control (WAF), so it should be documented as such and tracked until the patch is applied.

567
Multi-Selectmedium

A Security Operations Center (SOC) analyst is tuning a SIEM rule to reduce false positives. Which three of the following are valid approaches to improve the signal-to-noise ratio of a detection rule? (Choose three.)

Select 3 answers
.Adding a whitelist for known benign source IP addresses or user accounts.
.Increasing the severity level of the alert to ensure faster response.
.Adjusting the time window for event correlation to reduce overlapping alerts.
.Removing the rule entirely to eliminate all associated noise.
.Refining the event frequency threshold to require a higher number of occurrences.
.Adding additional event sources to broaden the scope of detection.

Why this answer

Adding a whitelist for known benign source IP addresses or user accounts is a valid approach because it directly reduces false positives by excluding traffic that is known to be safe from triggering the rule. This improves the signal-to-noise ratio by ensuring that only truly suspicious activity generates alerts, without altering the detection logic itself.

Exam trap

CompTIA often tests the misconception that increasing severity or adding more data sources improves detection quality, when in fact these actions can degrade the signal-to-noise ratio by amplifying noise or misdirecting analyst attention.

568
MCQmedium

A vulnerability scanner reports that an internal web application is vulnerable to SQL injection. The development team says they fixed it by input sanitization. Which of the following should the analyst do FIRST?

A.Update the vulnerability report
B.Perform a manual penetration test
C.Rescan the application to confirm remediation
D.Review the code changes
AnswerC

Rescanning the application with the vulnerability scanner is the most direct, efficient, and objective method to confirm whether the reported vulnerability has been successfully remediated. This automated verification provides immediate, tangible evidence, quickly validating the development team's claim of a fix and ensuring the flaw no longer appears in subsequent reports, which is crucial before closing the vulnerability ticket and moving to the next phase of the vulnerability management lifecycle.

Why this answer

The first step after a claimed fix is to verify the remediation by rescanning the application with the same vulnerability scanner. This provides objective evidence that the SQL injection vector is no longer exploitable, confirming the input sanitization was effective before any further actions are taken.

Exam trap

CompTIA often tests the misconception that reviewing code changes is the immediate next step, but the correct first action is always to verify the fix with the same scanning tool to maintain an objective audit trail.

How to eliminate wrong answers

Option A is wrong because updating the vulnerability report without verifying the fix could propagate false information and lead to compliance issues. Option B is wrong because performing a manual penetration test is a valid next step but should come after automated rescanning to confirm the basic fix, as it is more resource-intensive and may miss simple residual issues. Option D is wrong because reviewing code changes is a development task and not the analyst's first action; the analyst should first confirm the fix via scanning to maintain an objective security posture.

569
MCQeasy

A CI pipeline blocks a container image because the base layer contains a critical OpenSSL CVE. The application team says the vulnerable binary is not used. What is the BEST next step? For validation, Which action should be taken before closing or downgrading the finding?

A.Ship the image and document nothing
B.Validate exploitability and rebuild from a patched base image where feasible
C.Only rename the image tag
D.Ignore all base-image vulnerabilities
AnswerB

Validate exploitability to confirm whether the vulnerable OpenSSL binary is reachable, then rebuild from a patched base image where feasible. This satisfies the stem's constraint of evidence before closing or downgrading, since unused code paths may lower risk but patching remains the durable fix.

Why this answer

The best next step is to validate whether the vulnerable OpenSSL binary is actually exploitable in the container's runtime context (e.g., it may be a statically linked unused library or a dead code path). If the binary is truly unused, the team should still rebuild from a patched base image where feasible to maintain a clean supply chain and avoid false-positive fatigue; if it is used, the vulnerability must be remediated. This balances security rigor with operational pragmatism, aligning with vulnerability management best practices for containerized environments.

Exam trap

CompTIA often tests the misconception that a vulnerability can be safely ignored simply because the application team claims the binary is unused, without requiring validation or a documented risk acceptance process.

How to eliminate wrong answers

Option A is wrong because shipping the image without documentation violates security policy and audit requirements, leaving no record of the risk acceptance decision. Option C is wrong because renaming the image tag does not change the vulnerable base layer; the CVE remains present and exploitable if the binary is used. Option D is wrong because ignoring all base-image vulnerabilities is negligent; even if this specific CVE is not exploitable, other vulnerabilities in the same base layer could be active, and blanket ignoring undermines the CI pipeline's security gates.

570
MCQmedium

During a forensic analysis, an analyst needs to collect data in order of volatility. Which of the following represents the correct order from most volatile to least volatile?

A.Disk, swap, RAM, CPU registers, logs
B.CPU registers, RAM, swap, disk, logs
C.RAM, CPU registers, swap, disk, logs
D.Logs, disk, swap, RAM, CPU registers
AnswerB

This matches the RFC 3227 order of volatility precisely: CPU registers and cache decay in nanoseconds, RAM contents are lost on power-off within seconds, swap/pagefile persists slightly longer on disk, and log files and disk data remain until explicitly deleted, so evidence must be captured in exactly this sequence to avoid destroying the most fragile artifacts first.

Why this answer

The order of volatility dictates that volatile data in memory (CPU registers, RAM) is collected first, then less volatile data like swap, disk, and logs. The correct sequence is CPU registers, RAM, swap, disk, then logs.

571
MCQmedium

During a network traffic analysis, a security analyst observes repeated TCP SYN packets sent to a host that responds with SYN-ACK, but the connection never completes. What type of anomaly is this?

A.DNS amplification
B.SYN flood
C.ARP spoofing
D.Port scan
AnswerB

A SYN flood is a classic denial-of-service attack that exploits the TCP three-way handshake. The attacker floods the target with SYN packets using spoofed source IP addresses, forcing the victim to allocate resources and respond with SYN-ACKs, but never completes the connection with a final ACK. This rapidly exhausts the target's connection queue, preventing legitimate users from establishing connections.

Why this answer

A half-open TCP handshake (SYN flood) is a common DoS technique where the attacker sends many SYN packets without completing the handshake, exhausting server resources.

572
Multi-Selectmedium

During the post-incident analysis phase of an incident response process, which of the following activities are considered essential best practices? Choose all that apply. (There are four correct answers.)

Select 4 answers
.Creating a detailed timeline of the incident from detection to containment and recovery.
.Identifying gaps in existing security controls that allowed the incident to occur.
.Updating playbooks and incident response plans based on lessons learned.
.Performing a root cause analysis to determine the underlying cause of the incident.
.Immediately deleting all logs related to the incident to free up storage space.
.Notifying law enforcement and regulatory bodies before conducting any internal investigation.

Why this answer

A detailed timeline is essential for reconstructing the sequence of events, identifying the initial compromise vector, and measuring response effectiveness. It provides a factual basis for all subsequent analysis and reporting, ensuring that the incident response team can accurately assess the scope and impact of the incident.

Exam trap

CompTIA often tests the distinction between 'immediate containment actions' and 'post-incident analysis best practices,' where candidates mistakenly select actions that are appropriate during the containment phase (like preserving evidence) but not during the analysis phase, or they confuse notification requirements with internal investigation priorities.

573
Multi-Selecthard

An emergency patch may break a revenue-critical system. Which actions balance risk and availability? (Choose two.)

Select 2 answers
A.Test the patch in a representative staging environment
B.Apply temporary compensating controls while preparing deployment
C.Disable monitoring to avoid alerts during the change
D.Ignore active exploitation until the next annual review
AnswersA, B

Deploying an emergency patch directly to a revenue-critical production system introduces severe operational risk. Testing the patch in a representative staging environment that mirrors production configurations allows administrators to identify dependency conflicts, performance regressions, or stability issues before deployment, thereby mitigating the risk of costly downtime.

Why this answer

Testing the emergency patch in a representative staging environment that mirrors the production system's configuration, dependencies, and load allows you to identify potential breaking changes before deployment. This balances risk by validating the patch's impact on revenue-critical systems while maintaining availability, as any failures are contained in the test environment. Option B is correct because applying temporary compensating controls—such as additional monitoring, rate limiting, or failover mechanisms—provides a safety net that reduces the blast radius of a potential patch failure, enabling you to proceed with deployment while preserving system availability.

Exam trap

The CS0-004 exam often tests the misconception that disabling monitoring reduces operational overhead during changes, but the trap here is that it actually increases risk by removing the ability to detect and respond to failures, which is essential for maintaining availability in revenue-critical systems.

574
MCQeasy

A security analyst is reviewing logs from multiple sources to investigate a potential intrusion. Which log source would provide the most reliable evidence of successful authentication from an unusual location?

A.Endpoint detection and response (EDR) logs
B.Firewall logs
C.Authentication logs
D.DNS logs
AnswerC

Authentication logs, such as those generated by Active Directory, Kerberos, or RADIUS servers, explicitly record identity verification events, including usernames, source IPs, timestamps, and explicit success or failure codes. These logs are the definitive source for tracking credential usage, identifying brute-force attacks, and verifying successful access to systems. Analyzing these events allows security analysts to correlate login patterns with potential unauthorized access.

Why this answer

Authentication logs record login events including source IP, timestamp, and success/failure status, making them the best source for identifying successful authentication from unusual locations.

575
Matchingmedium

Match each incident response phase to its activity.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Establish policies and tools

Identify potential incidents

Isolate affected systems

Remove threat from environment

Restore normal operations

Why these pairings

The incident response phases are correctly matched as: Preparation with developing policies, Detection and Analysis with identifying incidents, Containment, Eradication, and Recovery with limiting damage and restoring operations, and Post-Incident Activity with lessons learned. Common confusions include swapping Preparation and Detection activities.

576
Multi-Selectmedium

A security analyst is investigating a potential data exfiltration incident. The analyst observes the following network traffic from an internal host: Outbound connections to an external IP on port 22, large data transfers during off-hours, and the use of SCP. Which two indicators of compromise (IOCs) are most relevant? (Select TWO.)

Select 2 answers
A.Frequent DNS queries
B.HTTP POST requests
C.Large outbound data transfers during off-hours
D.Use of SCP on port 22
E.ICMP echo requests
AnswersC, D

Large outbound transfers during off-hours deviate from the host's normal baseline, indicating possible automated exfiltration rather than legitimate business activity. Volume combined with unusual timing is the behavioural anomaly that distinguishes data theft from routine traffic in this scenario.

Why this answer

Option C is correct because the scenario explicitly describes large data transfers occurring during off-hours, which is a classic exfiltration IOC indicating data is being moved out of the network when normal business activity and monitoring are minimal. Option D is correct because SCP operates over SSH on TCP port 22, and using SCP to an external IP is a concrete IOC showing a file-transfer protocol being abused to move data outbound, matching the observed port 22 traffic. The other options do not fit: frequent DNS queries (A) could suggest DNS tunneling but no such activity is described, HTTP POST requests (B) would indicate web-based exfiltration over ports 80/443 rather than SCP/22, and ICMP echo requests (E) are ordinary ping traffic and not consistent with the SCP-over-port-22 behavior observed.

Exam trap

CS0-004 often tests the ability to distinguish between common network activities and specific IOCs of data exfiltration, such as SCP and off-hours large transfers.

577
MCQmedium

During forensic acquisition, which of the following types of data is considered the MOST volatile?

A.Network connections.
B.Disk.
C.Page file.
D.RAM.
AnswerD

Random Access Memory (RAM) is the most volatile data type in a computer system, constantly being overwritten and updated by the CPU and active processes. Its contents are lost immediately upon power loss or system shutdown, making it critical to acquire during live forensic investigations before it disappears. RAM often holds crucial artifacts like running processes, open files, network connections, encryption keys, and unencrypted data that may not be written to persistent storage.

Why this answer

RAM (Random Access Memory) is the most volatile data because it loses its contents immediately when power is removed. In forensic acquisition, the order of volatility dictates that RAM must be captured first, as it contains running processes, open network connections, and decrypted data that cannot be recovered from disk. Network connections, while volatile, are a subset of the data stored in RAM and are less critical to capture first.

Exam trap

CompTIA often tests the order of volatility by making candidates confuse 'network connections' as the most volatile because they change rapidly, but the key is that network connection data is stored in RAM, making RAM itself the most volatile component that must be acquired first.

How to eliminate wrong answers

Option A is wrong because network connections are a type of data that resides in RAM and are therefore less volatile than RAM itself; they are captured as part of the RAM dump. Option B is wrong because disk data is non-volatile and persists after power loss, making it the least volatile among the options. Option C is wrong because the page file (swap file) is stored on disk and is non-volatile; it is a secondary storage mechanism, not primary memory.

578
MCQeasy

During an incident response, the team identifies that a workstation was compromised via a phishing email. Which of the following should be performed immediately after containment?

A.Notify law enforcement about the phishing campaign.
B.Collect forensic evidence from the workstation.
C.Conduct a root cause analysis of the phishing email.
D.Eradicate the malware from the workstation.
AnswerD

Following the identification of malware and subsequent containment (isolating the affected workstation to prevent further spread), the logical and necessary next technical step in the incident response lifecycle is eradication. This involves thoroughly removing the identified malware and any associated malicious components from the compromised system to eliminate the immediate threat and prepare for recovery.

Why this answer

Immediately after containment, the priority is to eradicate the malware from the workstation to prevent reinfection or lateral movement. Containment isolates the system, but eradication removes the malicious artifacts (e.g., registry keys, scheduled tasks, or malicious binaries) to ensure the system is clean before recovery. This step aligns with the NIST SP 800-61 incident response lifecycle, where eradication follows containment to eliminate the threat's foothold.

Exam trap

CompTIA often tests the order of the incident response phases (containment, eradication, recovery, lessons learned) and the trap here is that candidates mistakenly choose 'Collect forensic evidence' (Option B) because they confuse the need for evidence with the immediate priority of removing the active threat after containment.

How to eliminate wrong answers

Option A is wrong because notifying law enforcement is a post-incident activity that occurs after eradication and recovery, not immediately after containment; premature notification can delay technical response and may not be required for every phishing incident. Option B is wrong because collecting forensic evidence should occur before containment (or during containment with proper imaging), not after containment, as containment actions (e.g., disconnecting the network) can alter volatile data if evidence collection is delayed. Option C is wrong because conducting a root cause analysis is part of the lessons-learned phase, which happens after eradication and recovery; performing it immediately after containment wastes time that should be spent removing the active threat.

579
Multi-Selectmedium

A security analyst is performing forensic analysis of a compromised system. The analyst needs to acquire disk evidence in a forensically sound manner. Which TWO actions should the analyst take to ensure the integrity of the evidence? (Choose TWO.)

Select 2 answers
A.Calculate a hash of the original drive before imaging
B.Disable the write blocker to speed up the imaging process
C.Use a write blocker when connecting the source drive
D.Power on the system and run a full antivirus scan before imaging
E.Reboot the system to clear any temporary files
AnswersA, C

Computing a cryptographic hash (e.g., SHA-256) of the original drive before imaging establishes a baseline integrity value. This baseline lets the examiner later hash the acquired image and confirm it is bit-for-bit identical to the source, proving the imaging process did not alter or omit data. Recording the hash in chain-of-custody documentation also provides legal defensibility.

Why this answer

Option A is correct because calculating a cryptographic hash (e.g., MD5 or SHA-256) of the original drive before imaging establishes a baseline value that can later be compared to the hash of the forensic image, proving the data was not altered. Option C is correct because a hardware or software write blocker prevents any write operations to the source drive during acquisition, preserving the original evidence in an unmodified state as required for forensic soundness. Option B is incorrect because disabling the write blocker would allow the forensic workstation to write to the source drive, contaminating or altering the evidence.

Option D is incorrect because powering on the system and running an antivirus scan modifies file system metadata, timestamps, and potentially deletes or quarantines files, destroying evidence integrity. Option E is incorrect because rebooting the system alters volatile data and can modify file system artifacts such as temporary files, log entries, and timestamps, which compromises the evidence.

Exam trap

The trap here is confusing 'speed' or 'cleanup' actions (disabling write blocker, rebooting, running AV) with integrity-preserving actions — candidates who prioritize convenience over forensic soundness pick the wrong options.

580
MCQmedium

Based on the exhibit, which type of issue is most likely affecting the server's network performance?

A.Faulty network cable or interface
B.Duplex mismatch between the server and switch
C.Incorrect TCP/IP configuration
D.Outdated network driver
AnswerA

CRC (Cyclic Redundancy Check) errors and frame errors are strong indicators of data corruption occurring during transmission or reception. These typically point to issues at the physical layer (Layer 1) of the OSI model, such as a damaged Ethernet cable, a loose connection, or a malfunctioning network interface card (NIC) or switch port. Such physical defects introduce noise or signal degradation, leading to corrupted frames that fail their integrity checks upon arrival.

Why this answer

The exhibit shows excessive CRC errors and runts on the server's network interface, which are classic symptoms of a faulty physical layer component such as a damaged cable or failing NIC. These errors indicate that frames are being corrupted during transmission, and the interface is discarding them, leading to retransmissions and degraded performance. A faulty cable or interface directly causes these physical-layer issues, unlike configuration or driver problems.

Exam trap

CompTIA often tests the distinction between physical-layer errors (CRC, runts) and data-link layer issues (duplex mismatch, collisions), leading candidates to mistakenly choose duplex mismatch when the exhibit shows CRC errors instead of late collisions.

How to eliminate wrong answers

Option B is wrong because a duplex mismatch typically causes late collisions and FCS errors, not CRC errors and runts; the interface counters would show alignment errors and excessive collisions. Option C is wrong because incorrect TCP/IP configuration (e.g., wrong subnet mask, gateway, or DNS) would cause connectivity failures or routing issues, not physical-layer CRC errors. Option D is wrong because an outdated network driver might cause performance issues or interface resets, but it would not generate CRC errors or runts at the hardware level; those are physical-layer phenomena.

581
Matchingmedium

Match each network protocol to its well-known port number.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

22

443

53

25

3389

Why these pairings

These are standard well-known port assignments as defined by IANA. Common confusions include swapping HTTP/HTTPS ports or mixing SSH with Telnet.

582
MCQeasy

Which metric in the CVSS v3.1 base score indicates the level of access an attacker needs to exploit a vulnerability?

A.Privileges Required (PR)
B.Attack Vector (AV)
C.Attack Complexity (AC)
D.User Interaction (UI)
AnswerA

The Privileges Required (PR) metric measures the level of access privileges an attacker must possess prior to successfully exploiting the vulnerability. It is scored as None, Low, or High, directly reflecting whether the exploit requires administrative control, standard user access, or no authentication at all.

Why this answer

Privileges Required (PR) indicates the level of privileges an attacker must have before successfully exploiting the vulnerability.

583
MCQmedium

A security analyst discovers a server that is missing multiple critical patches. The server hosts a legacy application that cannot be patched immediately due to compatibility issues. Which of the following is the BEST approach to manage the vulnerability risk?

A.Apply a virtual patch using a WAF
B.Implement network segmentation and increase monitoring
C.Disable the server until a patch is available
D.Remove the server from the network
AnswerB

Implementing network segmentation involves isolating the vulnerable server into a dedicated network segment, such as a specific VLAN or DMZ, to restrict its communication paths and limit potential lateral movement by an attacker. Concurrently, increasing monitoring through enhanced logging, intrusion detection/prevention systems (IDS/IPS), and security information and event management (SIEM) correlation allows for early detection of exploitation attempts or anomalous behavior. This combined approach significantly reduces the attack surface and improves incident response capabilities without disrupting critical business operations.

Why this answer

The best approach because network segmentation isolates the vulnerable legacy server from critical assets, reducing the attack surface, while increased monitoring allows the security team to detect and respond to any exploitation attempts in real time. This balances risk acceptance with active defense, which is a core principle of vulnerability management when patching is not immediately feasible.

Exam trap

The trap here is that candidates often choose 'Apply a virtual patch using a WAF' because they overestimate the scope of WAF protection, forgetting that it only covers web-based attacks and not OS-level or protocol-level vulnerabilities.

How to eliminate wrong answers

Option A is wrong because a WAF (Web Application Firewall) applies virtual patches only at the application layer (HTTP/HTTPS), and cannot protect against vulnerabilities in other services (e.g., SMB, RDP, or OS-level exploits) that the legacy server may expose. Option C is wrong because disabling the server entirely disrupts business operations and is an overly drastic measure that does not align with risk management best practices unless the vulnerability is critical and actively exploited. Option D is wrong because removing the server from the network completely halts its function and is equivalent to decommissioning, which is not a temporary risk management strategy and ignores the need to maintain business continuity.

584
Drag & Dropmedium

Arrange the steps for conducting a risk assessment in the correct order.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

Risk assessment involves asset identification, threat/vulnerability identification, likelihood/impact analysis, risk calculation, and prioritization.

585
MCQmedium

A security analyst notices that an IDS is generating a high number of false positives for legitimate encrypted traffic. Which tuning method should the analyst use to reduce false positives without reducing detection capability?

A.Whitelist the source IP addresses of known, trusted servers.
B.Disable the signatures that trigger for encrypted traffic.
C.Increase the sensitivity threshold for the encrypted traffic signatures.
D.Enable full packet capture and analyze the encrypted traffic manually.
AnswerA

Whitelisting specific source IP addresses for known, trusted servers is an effective method to reduce false positives without compromising detection capabilities. By instructing the IDS to ignore or suppress alerts for traffic originating from these verified legitimate sources, the analyst can significantly decrease the volume of benign alerts. This action helps to improve the signal-to-noise ratio, allowing security personnel to focus on genuinely suspicious activities rather than expected operational traffic.

Why this answer

Whitelisting the source IP addresses of known, trusted servers reduces false positives by instructing the IDS to ignore alerts for encrypted traffic from those specific hosts. This approach preserves detection capability because the IDS continues to apply all signatures to traffic from other, potentially malicious sources. It is a targeted tuning method that does not disable detection mechanisms or alter sensitivity thresholds, which could otherwise miss real threats.

Exam trap

CompTIA often tests the misconception that disabling signatures or increasing thresholds is an acceptable tuning method, but the trap here is that those actions reduce detection capability, whereas whitelisting trusted sources is the only option that maintains full detection for untrusted traffic.

How to eliminate wrong answers

Option B is wrong because disabling signatures that trigger for encrypted traffic would eliminate detection of any malicious activity hidden within that encrypted stream, such as command-and-control traffic or data exfiltration, thus reducing detection capability. Option C is wrong because increasing the sensitivity threshold for encrypted traffic signatures would actually make the IDS less likely to trigger on any encrypted traffic, potentially missing real attacks while still generating false positives for legitimate traffic that exceeds the new threshold. Option D is wrong because enabling full packet capture and manually analyzing encrypted traffic is not a tuning method; it is a resource-intensive forensic approach that does not reduce false positives in real-time and does not scale for ongoing operations.

586
MCQmedium

A security analyst is preparing a vulnerability report for the IT operations team. Which section should provide a high-level overview of the organization's risk posture?

A.Risk acceptance
B.Executive summary
C.Remediation timeline
D.Findings by severity
AnswerB

The executive summary condenses findings into a high-level view of overall risk posture, enabling the IT operations team to grasp severity and priorities without reading technical detail. It satisfies the stem's requirement for a high-level overview, whereas detailed vulnerability listings and remediation steps are granular.

Why this answer

The executive summary provides a concise overview of key findings and risk posture for management.

587
MCQeasy

An organization wants to automate the sharing of threat intelligence with other trusted entities using a standardized protocol. Which protocol is specifically designed for this purpose?

A.STIX
B.TAXII
C.REST API
D.MISP
AnswerB

Trusted Automated Exchange of Intelligence Information (TAXII) is the application-layer protocol specifically designed to route and exchange cyber threat intelligence over HTTPS. It supports multiple sharing models, such as hub-and-spoke or peer-to-peer, enabling organizations to securely automate the ingestion and dissemination of STIX-formatted data.

Why this answer

TAXII (Trusted Automated eXchange of Indicator Information) is a protocol for exchanging cyber threat intelligence in a standardized format, often used with STIX.

588
MCQhard

A security analyst is performing memory acquisition on a compromised Linux server using LiME. The analyst needs to capture the memory image with minimal impact on the system. Which of the following parameters should the analyst use to ensure the output is forensically sound?

A.Use the --digest option to calculate a SHA256 hash during acquisition
B.Specify a format that compresses the output to reduce size
C.Ensure the output path is on a write-blocked device
D.Use the --reload option to reload the original kernel module after acquisition
AnswerC

Directing the acquired memory image to a write-blocked destination device is a critical forensic practice that prevents accidental overwriting, modification, or contamination of the evidence. This ensures that the captured volatile data remains in an untampered state from the exact moment of acquisition through the entire chain of custody.

Why this answer

Using a write blocker ensures the memory capture does not alter the storage media, preserving forensic integrity.

589
MCQhard

A security team is implementing a patch management process for a large enterprise. They must ensure that patches are tested before deployment to production. The team has a staging environment that mirrors production. During patch testing, they discover that a critical security patch for a database server causes a performance degradation of 30% in a key application. What should the team do next?

A.Skip the patch and rely on existing security controls.
B.Apply the patch to production immediately because it fixes a critical vulnerability.
C.Contact the vendor for a fix or workaround, and implement compensating controls in the meantime.
D.Deploy the patch to a subset of production servers to test performance.
AnswerC

Engaging the vendor for a hotfix or documented workaround while layering compensating controls, such as WAF rules, enhanced monitoring, or restricted access, addresses the vulnerability's risk in the interim without forcing the team to accept either the security exposure or the measured performance degradation.

Why this answer

The patch is critical but causes performance issues. The best approach is to work with the vendor for a resolution or apply compensating controls until a fix is available. Applying the patch blindly may disrupt operations, while skipping it leaves the vulnerability unaddressed.

590
Multi-Selectmedium

Which THREE of the following are essential tools and technologies used in a Security Operations Center (SOC) for monitoring and detection?

Select 3 answers
A.Firewall
B.Endpoint Detection and Response (EDR)
C.Intrusion Detection/Prevention System (IDS/IPS)
D.Security Information and Event Management (SIEM) system
E.Vulnerability scanner
AnswersB, C, D

EDR solutions provide continuous monitoring and threat detection directly on host devices, such as workstations and servers. By analyzing endpoint behavior, running processes, and system files in real-time, EDR allows analysts to identify and rapidly respond to advanced persistent threats that bypass traditional perimeter defenses.

Why this answer

Endpoint Detection and Response (EDR) is essential in a SOC because it provides continuous monitoring and analysis of endpoint activities, enabling detection of advanced threats such as fileless malware and ransomware. EDR tools collect telemetry data from endpoints, correlate it with threat intelligence, and allow for automated response actions, which are critical for real-time incident detection and investigation.

Exam trap

CompTIA often tests the distinction between tools that provide continuous monitoring and detection (SIEM, EDR, IDS/IPS) versus tools that are preventive or periodic (firewall, vulnerability scanner), leading candidates to incorrectly include the latter as essential SOC monitoring technologies.

591
Multi-Selectmedium

An organization is experiencing a distributed denial-of-service (DDoS) attack targeting its web servers. The incident response team is implementing containment strategies. Which TWO actions are appropriate for short-term containment of a DDoS attack? (Choose TWO.)

Select 2 answers
A.Rerouting traffic through a DDoS mitigation service or scrubbing center
B.Disabling the accounts of the attackers
C.Applying a security patch to the web server software
D.Rebuilding the web servers from clean images
E.Blocking the attacking IP addresses at the firewall
AnswersA, E

Rerouting traffic through a DDoS mitigation service or scrubbing center is the most effective response because these services employ specialized filtering, rate limiting, and behavioral analysis to distinguish legitimate user requests from malicious traffic, forwarding only clean traffic to the origin. This approach is well-suited for both volumetric floods and application-layer attacks, and it can be activated quickly by updating DNS or BGP to redirect traffic.

Why this answer

Option A is correct because rerouting traffic through a DDoS mitigation service or scrubbing center filters and absorbs malicious volumetric traffic before it reaches the web servers, providing immediate short-term relief during an active attack. Option E is correct because blocking the attacking IP addresses at the firewall quickly drops traffic from known malicious sources, reducing the immediate impact on the targeted web servers. Option B is not appropriate because DDoS attacks typically originate from botnets or spoofed sources, so disabling attacker accounts is neither feasible nor effective for containment.

Option C is incorrect because applying a security patch addresses a software vulnerability, not an ongoing traffic-flooding attack, and would not stop the DDoS. Option D is incorrect because rebuilding web servers from clean images is a recovery action, not a short-term containment measure, and does nothing to stop the incoming attack traffic.

Exam trap

The trap is confusing containment with eradication or recovery; candidates pick patching or rebuilding because they sound like fixes, but the question asks specifically for short-term containment of an active DDoS.

592
MCQhard

During a forensic investigation, an analyst finds a suspicious registry key that runs a program at startup. What is the best way to determine if the program is malicious?

A.Search the startup folder for the file
B.Compute the hash of the executable and query threat intelligence
C.Execute the program in a sandbox and observe behavior
D.Check the file's last modified timestamp
AnswerB

Generating a cryptographic hash (such as SHA-256) of the suspicious file and querying threat intelligence databases allows the analyst to quickly identify known malware. This passive analysis technique is safe, efficient, and leverages global threat data without risking exposure or executing the payload.

Why this answer

Computing the hash of the executable and querying threat intelligence (e.g., VirusTotal, AlienVault OTX) provides a definitive, objective indicator of known maliciousness by comparing the file's cryptographic fingerprint against global threat databases. This is the fastest and most reliable method to determine if the program is malicious without risking execution or relying on circumstantial evidence.

Exam trap

The CS0-004 exam often tests the distinction between 'best first step' and 'thorough analysis'—candidates mistakenly choose sandbox execution (Option C) because it seems more comprehensive, but the exam prioritizes speed and safety via hash-based threat intelligence queries.

How to eliminate wrong answers

Option A is wrong because searching the startup folder only confirms the file's location, not its maliciousness; legitimate programs also reside there. Option C is wrong because executing the program in a sandbox, while useful for behavioral analysis, is time-consuming and could still expose the system to risk if the sandbox is misconfigured; it is not the 'best' first step. Option D is wrong because the last modified timestamp is metadata that can be easily altered (timestomping) and provides no indication of malicious intent.

593
MCQeasy

A security analyst is reviewing NetFlow data and notices a significant amount of traffic from an internal host to a known malicious IP address on port 443. What tool would be most effective for further analyzing the payload of this traffic?

A.Nikto
B.Wireshark
C.Nmap
D.tcpdump
AnswerB

Wireshark captures and decodes packets in real time or from a saved capture file, reassembling TCP streams and, where the session is unencrypted or keys are available, rendering application-layer payload content, protocol fields, and TLS handshake metadata needed to determine what data is actually being exchanged with the malicious IP.

Why this answer

Wireshark captures and analyzes packet payloads, which is necessary for examining the content of encrypted or unencrypted traffic.

594
Multi-Selectmedium

What should be included in incident scoping for ransomware? (Choose three.)

Select 3 answers
A.Initial infected host and user context
B.The brand of office chairs near the server room
C.Backup integrity and last known clean restore point
D.Shares or systems touched by the compromised account
AnswersA, C, D

Identifying patient zero (the initial infected host) and the associated user context is critical during ransomware scoping. This allows analysts to pinpoint the entry vector, such as a phishing email or drive-by download, and determine the privilege level of the compromised account to predict potential lateral movement.

Why this answer

Identifying the initial infected host and user context is critical for understanding the attack vector, containing the threat, and preventing further spread. In ransomware incidents, the first compromised system often reveals the entry point (e.g., phishing email, RDP brute force) and the user account used, which helps scope the blast radius and prioritize remediation.

Exam trap

The CS0-004 exam often tests the ability to filter out irrelevant physical or administrative details (like office chairs) that distract from the core technical scoping steps required in incident response.

595
MCQeasy

Which of the following is the primary purpose of log normalisation in a SIEM?

A.Encrypt logs to protect confidentiality
B.Reduce storage space by compressing log data
C.Remove false positives from log entries
D.Convert logs into a standardised format for correlation and analysis
AnswerD

The primary objective of log normalization is to ingest disparate log formats from various vendors—such as firewalls, operating systems, and databases—and map them to a common schema, such as mapping "src_ip", "source", and "src" all to "source_ip". This standardization is essential for SIEM correlation engines to accurately analyze cross-platform events and detect complex attack patterns.

Why this answer

Log normalisation converts logs from different sources into a common, structured format so that the SIEM can correlate and analyse them uniformly.

596
MCQhard

A security analyst uses Wireshark to capture traffic and notices an unusually high number of DNS queries for random-looking subdomains under a single domain, such as 'a1b2c3.malicious.com'. The TTL values are very low. The analyst suspects DNS tunneling. Which of the following additional indicators would most strongly support this hypothesis?

A.Large number of NXDOMAIN responses
B.DNS queries with unusually large TXT record response sizes
C.High number of A record queries
D.Queries originating from a DNS server
AnswerB

DNS tunneling protocols frequently abuse TXT records because they can carry arbitrary, unstructured text payloads up to 65,535 bytes in size. When an analyst observes unusually large TXT record responses, it strongly indicates that an external server is sending encapsulated payload data or command-and-control instructions back to a compromised internal host.

Why this answer

DNS tunneling often uses TXT records to encode data, and the packet sizes can be larger than normal DNS queries.

597
Matchingmedium

Match each attack type to its description.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Deceptive email to steal credentials

Malware that encrypts data for ransom

Overwhelming a service with traffic

Injecting malicious SQL queries

Intercepting communication between parties

Why these pairings

Correct matches: Phishing (mass email), Spear phishing (targeted email), Whaling (targeting executives). Common confusions: Vishing is voice, Smishing is SMS.

598
Multi-Selecthard

An organization has identified a ransomware outbreak on several workstations. Which TWO actions should the incident response team take immediately?

Select 2 answers
A.Pay the ransom to recover data quickly.
B.Disconnect all network shares to prevent encryption.
C.Contact law enforcement for guidance.
D.Reimage all affected systems immediately.
E.Isolate the affected workstations from the network.
AnswersB, E

Disconnecting all network shares is a critical containment step because modern ransomware actively scans for mapped drives and open SMB shares, which it can encrypt just like local disks after compromising a single endpoint. By severing access to shared folders, you eliminate a large portion of the attack surface and prevent the ransomware from quickly encrypting centralized file servers and backup repositories. This action directly limits the blast radius while you deploy more comprehensive containment measures.

Why this answer

Option B is correct because disconnecting or disabling network shares (e.g., SMB/CIFS shares) immediately limits the ransomware's ability to propagate laterally and encrypt files on shared network resources, which is a critical containment step during an active outbreak. Option E is correct because isolating the affected workstations from the network (e.g., unplugging the Ethernet cable, disabling Wi-Fi, or placing them in a quarantine VLAN) prevents the malware from spreading to other systems and stops further command-and-control communication. Option A is not appropriate because paying the ransom is discouraged, does not guarantee data recovery, and may fund criminal activity.

Option C, while often advisable, is not an immediate technical containment action and typically follows initial isolation. Option D is not immediate because reimaging should occur only after containment, eradication, and forensic evidence preservation, not as a first response.

Exam trap

CS0-004 often tests the difference between containment and recovery actions, and candidates may confuse 'contact law enforcement' as an immediate step when it is actually a notification step that follows containment.

599
MCQmedium

A scan of Windows servers reports few findings, but the scanner used no credentials. The security manager suspects missing patch data. What should be changed? For tool configuration, Which scanner or pipeline change most directly improves result quality?

A.Increase only the port range
B.Trust the unauthenticated result as complete
C.Run authenticated scans using least-privilege scanner credentials
D.Disable host firewalls permanently
AnswerC

Running authenticated scans allows the vulnerability scanner to log into the target Windows servers using provided credentials, gaining internal access to query the operating system directly. This enables the scanner to accurately identify installed software, verify patch levels against known vulnerabilities, and assess local security configurations, providing a significantly more comprehensive and precise vulnerability report. Employing least-privilege credentials for the scanner account is crucial to minimize the potential impact should those credentials ever be compromised, adhering to security best practices.

Why this answer

Unauthenticated scans rely on network-visible services and banners, which miss registry-level patch data, OS configuration details, and installed updates. Authenticated scans with least-privilege credentials (e.g., using WMI, WinRM, or the Windows Update API) provide deep visibility into missing patches by querying the actual patch database (e.g., via the Microsoft Update Catalog or WSUS). This directly addresses the security manager's suspicion of missing patch data, making option C the correct choice.

Exam trap

The CS0-004 exam often tests the misconception that increasing scan scope (ports, protocols) or disabling firewalls can substitute for proper authentication, when in fact only credentialed scanning provides the access needed to assess patch levels accurately.

How to eliminate wrong answers

Option A is wrong because increasing the port range only expands the number of ports scanned for open services; it does not enable credential-based access to patch information, so missing patch data remains invisible. Option B is wrong because trusting unauthenticated results as complete ignores the fundamental limitation that unauthenticated scans cannot access registry, file system, or WMI data needed to verify patch levels, leading to false negatives. Option D is wrong because disabling host firewalls permanently is an insecure and drastic measure that does not grant the scanner the necessary privileges to read patch data; it only removes network-level access controls, not the authentication requirement.

600
Multi-Selectmedium

Which three of the following are effective techniques for prioritizing vulnerabilities for remediation in a vulnerability management program? (Choose three.)

Select 3 answers
.Applying the Common Vulnerability Scoring System (CVSS) base score as the sole prioritization metric
.Correlating vulnerabilities with active exploit campaigns and threat intelligence feeds
.Using asset criticality ratings derived from business impact analysis (BIA)
.Prioritizing vulnerabilities based solely on the age of the CVE
.Incorporating compensating controls that may reduce the effective risk of a vulnerability
.Focusing remediation efforts exclusively on vulnerabilities with a CVSS score of 9.0 or higher

Why this answer

Correlating vulnerabilities with active exploit campaigns and threat intelligence feeds is effective because it prioritizes vulnerabilities that are currently being exploited in the wild, which directly reduces the risk of a breach. This approach aligns remediation with real-world attacker behavior rather than theoretical severity.

Exam trap

CompTIA often tests the misconception that CVSS base scores alone are sufficient for prioritization, when in fact they must be combined with asset criticality, threat context, and compensating controls to reflect true organizational risk.

Page 7

Page 8 of 10

Page 9

All pages