Courseiva

CompTIA CySA+ CS0-004 (CS0-004) — Questions 175

236 questions total · 4pages · All types, answers revealed

Page 1 of 4

Page 2
1
MCQeasy

Refer to the exhibit. The output is from a Linux system running `netstat -an`. Which of the following ports is likely being used for remote command-and-control communication?

A.54321
B.22
C.53
D.80
AnswerA

Port 54321 falls into the dynamic/private port range, typically used for ephemeral client-side connections. However, if observed as a listening port or as the destination port for an established connection to an external IP, it becomes highly anomalous. Attackers frequently utilize high, non-standard ports for command and control (C2) communication or data exfiltration to bypass basic firewall rules and blend with legitimate outbound traffic, making it a strong indicator of compromise.

Why this answer

Port 54321 is a high-numbered ephemeral port that is not associated with any standard service, making it a common choice for malware or remote access tools (RATs) to establish command-and-control (C2) communication. In the netstat -an output, an established connection on a non-standard high port from the local system to a remote IP is a strong indicator of C2 activity, as legitimate services typically use well-known ports.

Exam trap

CompTIA often tests the concept that high-numbered ephemeral ports (above 1024) with no associated standard service are strong indicators of C2 activity, tricking candidates into choosing common service ports like 22, 53, or 80 because they are familiar, even though those are legitimate and monitored.

How to eliminate wrong answers

Option B is wrong because port 22 is the default for SSH, a legitimate remote administration protocol, and while it can be abused for C2, it is not the likely port for covert C2 communication in this context. Option C is wrong because port 53 is used for DNS, which is essential for name resolution; although DNS can be tunnelled for C2, the direct use of port 53 for an established connection (not just queries) is less common and would be more conspicuous. Option D is wrong because port 80 is the standard HTTP port for web traffic; while HTTP can be used for C2, it is a well-known port that is heavily monitored and less likely to be used for stealthy C2 compared to a non-standard high port.

2
MCQmedium

When performing digital forensics, which of the following represents the correct order of volatility from most volatile to least volatile?

A.RAM, CPU registers, disk, swap, logs, archived media
B.Swap, RAM, CPU registers, disk, logs, archived media
C.Archived media, logs, disk, swap, RAM, CPU registers
D.CPU registers, RAM, swap, disk, logs, archived media
AnswerD

This is the standard order of volatility used in digital forensics, ranking evidence by how quickly it is lost. CPU registers are the most volatile, holding the CPU's current working values and disappearing in nanoseconds; RAM follows, losing all data when power is removed; swap is a disk-backed file that may persist but is overwritten and purged; then disk, logs (which are written regularly but more durable), and finally archived media, which is deliberately preserved and least volatile. Following this order ensures the most fragile evidence is collected first.

Why this answer

The order of volatility dictates that evidence should be collected from most volatile to least volatile to avoid losing transient data. CPU registers are the most volatile, followed by RAM, swap, disk, logs, and archived media.

3
MCQeasy

A mid-sized e-commerce company uses a multi-cloud environment with AWS and Azure. The vulnerability management team performs monthly authenticated scans using a commercial scanner. During the last scan, a critical remote code execution vulnerability (CVE-2023-XXXX) was identified on an EC2 instance running a legacy application. The application owner states that the instance cannot be patched immediately because the patch would break compatibility with a third-party API. The instance has direct internet access and handles PCI data. The CISO wants to reduce risk to an acceptable level within 48 hours. Which course of action should the analyst recommend?

A.Place the EC2 instance behind a web application firewall (WAF) and restrict inbound access to known IPs using security groups.
B.Decommission the instance and remove the legacy application from service immediately.
C.Apply the vendor-recommended patch after testing in a dev environment within two weeks.
D.Disable TLS 1.0 and enable TLS 1.2 on the instance to reduce the attack surface.
AnswerA

This is a strong immediate mitigation strategy. A Web Application Firewall (WAF) inspects HTTP/S traffic and can block common attack patterns, including those leading to Remote Code Execution (RCE), without requiring application changes. Security groups act as a virtual firewall, limiting network access to only necessary IP addresses, significantly reducing the attack surface and potential for exploitation while a permanent fix is developed. This provides immediate protection for PCI data.

Why this answer

Placing the EC2 instance behind a WAF and restricting inbound access to known IPs via security groups provides immediate, compensating controls that reduce the attack surface for the critical RCE vulnerability. Since the instance cannot be patched within 48 hours, this network-layer isolation (WAF filtering malicious payloads, security groups limiting source IPs) aligns with the CISO's risk reduction requirement while maintaining business operations and PCI compliance.

Exam trap

CompTIA often tests the concept that compensating controls (like WAF + security group restrictions) are acceptable for immediate risk reduction when patching is not feasible, and candidates mistakenly choose a delayed patch (Option C) or an irrelevant security fix (Option D) instead of the correct network-layer mitigation.

How to eliminate wrong answers

Option B is wrong because decommissioning the instance immediately would break the legacy application and the third-party API integration, causing unacceptable business disruption and potential PCI data processing failure; the CISO asked for risk reduction, not removal. Option C is wrong because applying the patch in two weeks violates the 48-hour risk reduction mandate and does not address the immediate threat; the analyst must recommend a compensating control, not a delayed patch. Option D is wrong because disabling TLS 1.0 and enabling TLS 1.2 addresses encryption weaknesses, not the remote code execution vulnerability (CVE-2023-XXXX); it does not mitigate the specific RCE attack vector.

4
MCQmedium

A company uses a mix of Windows and Linux servers. The vulnerability scanner reports a critical remote code execution vulnerability in Apache Struts (CVE-2017-5638) on a web server located in the DMZ. This server is behind a load balancer with an identical twin server that does not appear vulnerable. The security team needs to implement immediate remediation while minimizing downtime. What should the analyst do?

A.Re-image the server with a hardened operating system
B.Implement a virtual patch via web application firewall (WAF) rules
C.Shut down the vulnerable server until a patch can be tested
D.Apply the vendor patch immediately during business hours
AnswerB

Implementing a virtual patch through WAF rules provides an immediate and non-intrusive layer of protection by inspecting and filtering malicious traffic targeting the Apache Struts vulnerability. This method blocks known exploit patterns at the network edge, preventing successful attacks from reaching the vulnerable application without requiring changes to the server or application code. It effectively buys critical time for security teams to thoroughly test and deploy the official vendor patch in a controlled manner, minimizing service disruption.

Why this answer

Implementing a virtual patch via WAF rules can immediately block exploitation attempts against CVE-2017-5638 (Apache Struts) without modifying the server or taking it offline. The WAF inspects HTTP requests for malicious Content-Type headers used in the exploit and drops them, providing protection while the identical twin server remains unaffected and the vulnerable server can be patched later with minimal downtime.

Exam trap

The trap here is that candidates may choose immediate patching (Option D) without considering the requirement to minimize downtime, or they may choose shutdown (Option C) thinking it's the safest, but the scenario explicitly prioritizes uptime over a full patch cycle.

How to eliminate wrong answers

Option A is wrong because re-imaging the server with a hardened OS does not address the specific Apache Struts vulnerability and introduces significant downtime, which contradicts the requirement to minimize downtime. Option C is wrong because shutting down the vulnerable server would cause an outage for the DMZ web service, and the load balancer would route all traffic to the twin server, potentially overloading it or exposing a single point of failure. Option D is wrong because applying the vendor patch immediately during business hours risks service disruption if the patch introduces compatibility issues or requires a restart, and the scenario explicitly calls for minimizing downtime.

5
MCQeasy

A security analyst is reviewing a vulnerability scan report and notices a plugin that identifies a critical vulnerability with a CVSS v3.1 base score of 9.8. The CVSS vector string is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Which attack vector is indicated?

A.Network
B.Adjacent network
C.Local
D.Physical
AnswerA

AV:N (Attack Vector: Network) means the vulnerable component is bound to the network stack and the attacker's path to exploit lies through a routable network connection, potentially even across the internet, rather than requiring physical or local access. This is the highest-severity attack vector value because it maximizes the pool of potential attackers, contributing to this vulnerability's near-maximum CVSS base score of 9.8 alongside low complexity and no required privileges or user interaction.

Why this answer

AV:N indicates network attack vector, meaning the vulnerability can be exploited remotely over the network without any physical or local access.

6
Multi-Selectmedium

After a phishing incident, the security team wants to improve detection of similar attacks in the future. Which THREE actions should the team take as part of post-incident activity? (Choose THREE.)

Select 3 answers
A.Disabling user accounts that clicked the phishing link
B.Updating email filtering rules and detection signatures
C.Sharing indicators of compromise with other organizations via a threat intelligence platform
D.Conducting a lessons learned meeting to identify process improvements
E.Reimaging all affected workstations
AnswersB, C, D

Updating email filtering rules and detection signatures is a direct, preventive improvement that uses indicators from the phishing campaign (such as sender domain, subject line patterns, and payload hashes) to enhance the email security gateway. This action hardens the environment against similar attacks by proactively blocking malicious emails before they reach users. It is a classic post-incident activity because it closes the specific vulnerability that allowed the phishing email to be delivered, reducing the likelihood of recurrence.

Why this answer

Post-incident activities include updating detection rules, sharing IOCs, and conducting lessons learned to improve processes. Reimaging is recovery, and disabling accounts is containment.

7
Multi-Selectmedium

A security analyst is conducting a vulnerability assessment of a Kubernetes cluster. Which TWO of the following are common misconfigurations that could lead to security risks? (Select TWO.)

Select 2 answers
A.Setting resource limits on containers
B.Configuring network policies to restrict traffic
C.Running containers in privileged mode
D.Using read-only root filesystems
E.Using hostPath mounts
AnswersC, E

Running containers in privileged mode grants them every Linux capability, disables seccomp and AppArmor/SELinux confinement, and exposes all host devices, effectively removing isolation between the container and the host kernel. An attacker who exploits a vulnerability in a privileged container can trivially escalate to full host control, making it one of the most dangerous container misconfigurations. During a vulnerability assessment, this should immediately be flagged as a critical finding.

Why this answer

Privileged containers and hostPath mounts are common Kubernetes misconfigurations that can lead to container breakout and host access.

8
MCQeasy

Which metric would best indicate the effectiveness of an organization's patch management program?

A.Phishing simulation click rates
B.Open vulnerability counts by severity
C.Mean time to detect (MTTD)
D.Patch SLA compliance percentage
AnswerD

Patch SLA compliance percentage directly measures the proportion of patches applied within the stipulated timeframes, such as critical patches within 48 hours or high-severity within 30 days. It quantifies adherence to the patching policy and reflects the organization's ability to remediate known vulnerabilities on schedule. This is the most relevant benchmark because it captures timeliness, completeness, and scheduling discipline, which are the core factors of patch management effectiveness.

Why this answer

Patch SLA compliance percentage directly measures how often patches are applied within required timeframes.

9
MCQmedium

A SOC analyst reviews DNS telemetry and sees a workstation resolving hundreds of algorithmically generated domains at fixed intervals, with most responses returning NXDOMAIN. What evidence should the analyst prioritize to validate command-and-control beaconing? In the evidence source phase, Which evidence source best supports or refutes the detection?

A.Search only for successful HTTP 200 responses
B.Delete the host from the SIEM asset inventory
C.Block all DNS traffic from the subnet
D.Correlate DNS query logs with endpoint process and network connection telemetry
AnswerD

Correlating DNS query logs with endpoint process and network connection telemetry is the most effective approach to validate and understand suspicious DGA activity. This comprehensive analysis allows security analysts to pinpoint the specific process generating the unusual DNS queries, observe subsequent network connection attempts (or failures), and confirm if the host is indeed attempting outbound command-and-control communication, thereby enabling precise and targeted remediation efforts.

Why this answer

Correlating DNS query logs with endpoint process and network connection telemetry (Option D) provides direct evidence of command-and-control (C2) beaconing by linking the algorithmically generated domain (AGD) queries to a specific process initiating outbound connections. This cross-referencing validates whether the DNS activity is part of a malware's C2 channel, as legitimate applications rarely generate hundreds of NXDOMAIN responses at fixed intervals. The SOC analyst can confirm the detection by identifying the parent process (e.g., a suspicious executable) and matching its network connections to the queried domains.

Exam trap

The trap here is that candidates often focus on the DNS NXDOMAIN responses alone and choose a reactive action like blocking traffic (Option C) or deleting the host (Option B), instead of recognizing that correlation with endpoint telemetry is required to validate the detection before any response.

How to eliminate wrong answers

Option A is wrong because searching only for successful HTTP 200 responses ignores the core indicator of C2 beaconing—the repeated NXDOMAIN responses—and would miss malware that uses DNS tunneling or fails to resolve before switching domains. Option B is wrong because deleting the host from the SIEM asset inventory removes visibility into the suspicious activity, destroying evidence and preventing further analysis of the beaconing behavior. Option C is wrong because blocking all DNS traffic from the subnet is an overly disruptive response that would break legitimate network operations and does not help validate the detection; it should only be considered as a containment step after confirmation.

10
MCQeasy

An analyst is using AWS GuardDuty and sees a finding that an EC2 instance is communicating with a known command-and-control (C2) IP address. What type of alert is this?

A.CASB alert investigation
B.Vulnerability scan result
C.Cloud audit log analysis
D.Threat intelligence finding
AnswerD

AWS GuardDuty actively leverages continuously updated threat intelligence feeds, including lists of known malicious IP addresses, domains, and attack signatures, to identify suspicious activity. When an EC2 instance communicates with an IP address or domain identified as a known command and control (C2) server by these feeds, GuardDuty generates a finding, indicating a high probability of compromise and C2 communication.

Why this answer

GuardDuty detects threats based on known malicious IPs, so communication with a C2 IP is a security finding indicating a potential compromise.

11
Multi-Selecteasy

A security analyst is selecting tools for vulnerability management. Which THREE of the following are vulnerability scanning tools?

Select 3 answers
A.Lynis
B.Nessus
C.Wireshark
D.Qualys
E.OpenVAS
AnswersB, D, E

Nessus is a commercial vulnerability scanner developed by Tenable that actively scans hosts and network services, comparing software versions and configurations against a comprehensive plugin database of known Common Vulnerabilities and Exposures (CVEs). It supports credentialed scans, agent-based scanning, and integration with patch management and SIEM platforms, making it a primary tool for continuous vulnerability management. This directly matches the goal of identifying exploitable weaknesses across an enterprise.

Why this answer

Nessus, Qualys, and OpenVAS are well-known vulnerability scanners. Lynis is a security auditing tool for hardening, but not primarily a vulnerability scanner, and Wireshark is a network protocol analyzer.

12
Multi-Selectmedium

A security analyst is tuning a SIEM rule that generates alerts for every failed login attempt. The rule is causing alert fatigue. Which TWO actions would reduce false positives while maintaining security visibility?

Select 2 answers
A.Aggregate alerts by source IP and time window
B.Disable the rule entirely
C.Whitelist IP addresses of internal services that generate repeated failed logins
D.Increase the alert severity threshold
E.Increase the log retention period
AnswersA, C

Aggregating alerts by source IP and time window groups multiple failed login attempts into a single, consolidated alert, effectively suppressing repetitive notifications while still preserving detection of brute-force or credential-stuffing activity. This correlation technique condenses dozens or hundreds of individual events into one actionable incident, reducing analyst alert fatigue and allowing the security team to focus on the actual attack pattern rather than being overwhelmed by event-level noise.

Why this answer

Aggregating alerts by source IP reduces noise from individual attempts. Whitelisting known service accounts performing repeated failed logins (due to misconfigured services) also reduces false positives.

13
MCQhard

A security analyst is evaluating a vulnerability with CVSS v3.1 base score: AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N. Which of the following best describes the scope and impact of this vulnerability?

A.Scope is unchanged, high impact on confidentiality only
B.Scope is changed, high impact on integrity only
C.Scope is unchanged, high impact on confidentiality and integrity
D.Scope is changed, high impact on confidentiality only
AnswerD

This is correct: the vector specifies S:C (Scope Changed) and C:H (high confidentiality impact), while integrity and availability are None (I:N/A:N). A Changed scope means the vulnerability affects resources outside the vulnerable component's security authority, and the only rated impact is disclosure of sensitive information. These values exactly match the analyst's finding.

Why this answer

The scope is Changed (S:C), meaning the vulnerable component impacts resources beyond its security scope. The impact is High on confidentiality (C:H), but none on integrity or availability.

14
Multi-Selecteasy

During a post-incident review, a security analyst identifies that the mean time to detect (MTTD) for incidents is significantly higher than the industry benchmark. Which THREE actions should the analyst recommend to improve detection capabilities?

Select 3 answers
A.Implement additional network monitoring sensors.
B.Enhance SIEM correlation rules based on current threat intelligence.
C.Subscribe to threat intelligence feeds to enrich alerts.
D.Increase the frequency of vulnerability scans.
E.Reduce the retention period for logs.
AnswersA, B, C

Deploying additional network monitoring sensors at segmentation boundaries and critical ingress/egress points eliminates the blind spots that allowed this incident to go undetected. These sensors capture full packet data, NetFlow metadata, or IDS/IPS alerts, enabling analysts to detect lateral movement and command-and-control activity that passive host-based tools might miss. This is a direct corrective action to improve visibility and reduce time-to-detection for future attacks.

Why this answer

Updating detection rules, integrating threat intelligence, and improving monitoring coverage directly reduce detection time.

15
Multi-Selectmedium

During a security incident, which THREE elements are critical to include in the incident report for a compliance review?

Select 3 answers
A.Lessons learned
B.Impact assessment
C.Remediation timeline
D.Timeline of events
E.Root cause analysis
AnswersB, D, E

This quantifies the degradation to confidentiality, integrity, and availability, including data exfiltration volume, systems compromised, financial losses, and regulatory exposure. It is critical because it drives the severity classification, escalations, and short-term mitigation priorities such as isolating affected hosts or activating business continuity plans. Impact assessment also provides stakeholders with the information needed to decide on legal reporting and customer notifications.

Why this answer

Timeline, impact assessment, and root cause are essential for understanding the incident and meeting compliance requirements. Lessons learned are important for improvement but not always mandatory for compliance; remediation timeline may be separate.

16
Multi-Selectmedium

During a security incident, a cybersecurity analyst must communicate with various stakeholders. Which TWO are appropriate internal escalation paths? (Select TWO.)

Select 2 answers
A.Legal and compliance department
B.Law enforcement
C.Customers
D.Incident response team
E.Media
AnswersA, D

The legal and compliance department is the correct first point of contact because it ensures the organization satisfies statutory and regulatory breach notification obligations (e.g., GDPR, HIPAA, SEC rules) before any public or external disclosure. They also provide legal counsel on preservation of evidence and attorney-client privilege, which directly influences containment and eradication actions. Engaging this internal team early prevents costly penalties and legal exposure from mishandled incident response.

Why this answer

Internal escalation typically goes to the incident response team for technical handling and to legal/compliance for regulatory and liability issues. Law enforcement is external, and customers are external as well.

17
Multi-Selecthard

A security analyst is reviewing a containerized application for vulnerabilities. The analyst uses a container image scanner and identifies several issues. Which THREE of the following are common container and Kubernetes misconfigurations that the analyst should prioritize? (Choose three.)

Select 3 answers
A.Overly permissive RBAC configurations
B.Keeping container images up to date
C.Running containers with the 'privileged' flag
D.Implementing network policies to restrict pod communication
E.Using hostPath mounts
AnswersA, C, E

Excessive permissions in Kubernetes can lead to privilege escalation or unauthorized access.

Why this answer

Privileged containers grant excessive permissions, hostPath mounts allow host filesystem access, and overly permissive RBAC can lead to unauthorized actions. Keeping containers updated is important but not a misconfiguration, and network policies are a best practice.

18
MCQmedium

During a network traffic analysis, a security analyst observes repeated connections from an internal host to a known malicious IP on port 4444. The payload appears to be encrypted. Which type of activity is most likely indicated?

A.Port scanning activity
B.Command and control beaconing
C.Data exfiltration via DNS tunnelling
D.Lateral movement using SMB
AnswerB

Command and control (C2) beaconing involves an infected host periodically initiating outbound connections to a C2 server, often on a non-standard port like 4444, to check for new commands or upload data. These connections are typically regular, repetitive, and consistent in their destination and port, fitting the description of repeated connections to a single IP on port 4444. This behavior establishes a persistent communication channel for remote control of the compromised system.

Why this answer

Repeated connections to a known malicious IP on a non-standard port with encrypted payloads strongly suggest command and control (C2) beaconing.

19
Multi-Selecteasy

A security analyst is creating metrics for a security dashboard aimed at executive leadership. Which THREE metrics are most appropriate for this audience? (Select THREE.)

Select 3 answers
A.Phishing simulation click rates
B.Number of security incidents by category
C.Mean time to detect (MTTD)
D.Vulnerability scan details for individual hosts
E.Firewall rule change request logs
AnswersA, B, C

Phishing simulation click rates are a leading indicator of user resilience to social engineering attacks, directly measuring the effectiveness of security awareness training. A high click rate signals elevated human risk, while declining clicks over successive campaigns demonstrate improved workforce behavior. This metric is strategic because it quantifies a primary attack vector—email—and supports data-driven adjustments to training content and cadence.

Why this answer

Executives prefer high-level metrics that show overall security posture, trends, and business impact.

20
Multi-Selectmedium

A vulnerability management team is prioritizing vulnerabilities for remediation. They have a list of vulnerabilities with different characteristics. According to best practices, which TWO factors should be considered when prioritizing vulnerabilities? (Select TWO.)

Select 2 answers
A.The CVSS base score
B.The asset's criticality to the business
C.The availability of a patch
D.Whether the vulnerability is listed in the CISA KEV catalog
E.The number of open ports on the asset
AnswersB, D

Asset criticality is the correct primary driver for prioritization because it directly captures the potential business impact if confidentiality, integrity, or availability is compromised. A vulnerability on a server that processes financial transactions or contains protected health information poses far greater risk than the same CVE on an internet-facing demo server with no sensitive data. This aligns with risk-based vulnerability management, where risk equals the likelihood of exploitation multiplied by the consequence to the business.

Why this answer

Asset criticality (business context) and the presence of known exploits (e.g., KEV) are key prioritization factors. CVSS base score is a factor but not as dynamic. Patch availability is important but secondary to exploitability and business impact.

21
Matchingmedium

Match each analysis technique to its description.

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

Concepts
Matches

Matches known patterns

Identifies deviations from baseline

Uses rules to detect suspicious behavior

Monitors actions over time

Applies mathematical models

Why these pairings

Behavioral analysis monitors entity behavior; signature-based uses known patterns; anomaly-based uses baselines; heuristic uses rules. Common confusions include swapping behavioral and anomaly definitions or misassigning signature analysis.

22
Multi-Selectmedium

During a security incident, a digital forensics investigator must preserve evidence according to best practices. Which three of the following actions align with proper forensic procedures? (Choose three.)

Select 3 answers
.Calculate and document cryptographic hashes of acquired images.
.Boot the suspect system to check for running processes.
.Maintain a documented chain of custody for all evidence.
.Use a write blocker when creating disk images.
.Store original evidence on the same network as the investigation.
.Reinstall the operating system before imaging to ensure stability.

Why this answer

Calculating and documenting cryptographic hashes (e.g., SHA-256) of acquired images ensures data integrity by providing a verifiable fingerprint that can prove the image has not been altered since acquisition. Maintaining a documented chain of custody tracks every person who handled the evidence, preserving its admissibility in legal proceedings. Using a write blocker when creating disk images prevents any accidental writes to the original media, which is critical to avoid altering the evidence.

Exam trap

CompTIA often tests the misconception that booting a system to check processes is acceptable, but in forensic procedures, any live interaction with the original evidence is prohibited to avoid altering the state.

23
MCQmedium

An organization uses automated patch management for workstations but manual patching for servers. After a critical vulnerability is announced, the security team wants to expedite patching for servers. Which of the following is the BEST approach?

A.Test the patch in a staging environment and then deploy
B.Disable the affected services until the patch can be applied
C.Deploy the patch immediately to all servers
D.Implement virtual patching via an IPS
AnswerA

Testing a patch in a staging environment is the most prudent and recommended practice before deploying it to production systems, especially with automated patch management. This process allows administrators to thoroughly evaluate the patch's compatibility with existing applications and configurations, identify potential regressions, and confirm its effectiveness in a controlled, non-production setting. This crucial step minimizes the risk of introducing new vulnerabilities, system instability, or service outages that could arise from an untested patch in a live environment.

Why this answer

Testing the patch in a staging environment before deploying to production servers validates compatibility and stability, reducing the risk of service disruption. This approach balances the urgency of a critical vulnerability with the need to maintain server availability, which is especially important given that manual patching is the standard procedure for servers. Staging allows the security team to identify any conflicts with existing configurations or dependencies before widespread deployment.

Exam trap

The trap here is that candidates may choose immediate deployment (Option C) due to the urgency of a critical vulnerability, overlooking the operational risk of untested patches in a manual patching environment, while CompTIA often tests the principle that security must be balanced with availability and change management processes.

How to eliminate wrong answers

Option B is wrong because disabling affected services may cause significant business disruption and does not address the underlying vulnerability; it is a temporary workaround that still leaves the system vulnerable if the service is re-enabled without patching. Option C is wrong because deploying the patch immediately to all servers without testing can lead to unforeseen compatibility issues, crashes, or service outages, which is particularly risky in a manual patching environment where automated rollback mechanisms may not be in place. Option D is wrong because implementing virtual patching via an IPS only provides a detection and blocking layer at the network level, but does not remediate the actual vulnerability on the server; it can be bypassed and adds latency, making it a compensating control rather than a definitive fix.

24
MCQmedium

After a security incident, which component of the incident report provides a chronological sequence of events from detection to recovery?

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

The timeline is the chronological reconstruction of every observable event leading up to, during, and after the security incident. It consolidates artifacts like log entries, file system changes, network flows, and user actions into a coherent sequence. This component is foundational because it enables analysts to map the attack lifecycle and determine the exact order of compromise, which is essential for effective containment and eradication.

Why this answer

The timeline is a critical component that shows the order of events during an incident.

25
Multi-Selectmedium

A security analyst is performing a vulnerability assessment and needs to identify potential misconfigurations in a Kubernetes cluster. Which TWO of the following are common Kubernetes misconfigurations that should be checked? (Select TWO.)

Select 2 answers
A.Privileged containers
B.Using network policies
C.hostPath mounts
D.Running containers as non-root user
E.Using ConfigMaps for non-sensitive data
AnswersA, C

Privileged containers run with all Linux capabilities and disable isolation mechanisms such as seccomp, AppArmor, or SELinux, effectively granting the process root-equivalent access to the host kernel and devices. This means a malicious or compromised workload inside the container can directly attempt to escape the container and compromise the underlying node. Thus, enabling privileged mode is a critical misconfiguration that should be avoided in standard deployments.

Why this answer

Privileged containers and hostPath mounts are well-known security risks in Kubernetes. The other options are not typical misconfigurations.

26
Multi-Selectmedium

A security analyst is creating a YARA rule to detect a specific malware strain that uses a unique string in its code section and has a characteristic import table. The analyst wants to minimize false positives. Which THREE YARA rule elements should the analyst include?

Select 3 answers
A.File size condition
B.PE import table condition
C.Hash condition
D.String condition containing the unique string
E.Module condition (e.g., pe)
AnswersA, B, D

A file size condition in YARA, such as `filesize < 300KB`, is a fast, cheap filter that eliminates unrelated files before more expensive scanning takes place. Since many malware families produce samples with a consistent size range, imposing a size bound helps the rule avoid flagging innocuous files that happen to share other attributes. This increases precision and reduces the false-positive rate.

Why this answer

Including file size limits, a specific string, and the import table condition reduces false positives by narrowing the scope.

27
Multi-Selecteasy

A security analyst is setting up a vulnerability management program and needs to select tools for container image scanning. Which THREE of the following are commonly used container image scanning tools? (Select THREE.)

Select 3 answers
A.Snyk
B.OpenVAS
C.Burp Suite
D.Clair
E.Trivy
AnswersA, D, E

Snyk provides container scanning and vulnerability management.

Why this answer

Trivy, Clair, and Snyk are well-known container image scanning tools. OpenVAS is a network vulnerability scanner, and Burp Suite is for web application testing.

28
Multi-Selecteasy

A cybersecurity analyst is building a compliance dashboard for an upcoming audit. Which TWO metrics are most relevant for demonstrating effective patch management? (Select TWO.)

Select 2 answers
A.Open vulnerability counts by severity
B.Security incidents by category
C.Patch SLA compliance %
D.Mean time to detect (MTTD)
E.Phishing simulation click rates
AnswersA, C

Tracks the number of unresolved vulnerabilities broken down by CVSS severity level (e.g., critical, high, medium, low). This is a core patch-management metric because it directly reflects the current attack-surface exposure and backlog of unpatched systems, which compliance frameworks typically require to be monitored and reduced over time.

Why this answer

Patch SLA compliance % shows adherence to patching timelines, and open vulnerability counts by severity show the current risk posture. Mean time to remediate is also relevant but not listed as an option; here the two best are patch SLA compliance and open vulnerabilities.

29
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

Write blockers prevent modification, hash verification ensures integrity, and proper documentation maintains chain of custody.

30
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

Forensic imaging of the affected systems captures the state before containment actions alter it. Recording current network connections captures volatile evidence that may be lost when the system is isolated.

31
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 logs can show query patterns and payload sizes. NetFlow can show data transfer volumes. Both help confirm tunneling.

32
Drag & Dropmedium

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

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

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.

33
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.

34
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.

35
Multi-Selecthard

A security analyst is reviewing the output of a vulnerability scanner that uses CVSS v3.1. The analyst wants to understand the impact metrics. Which THREE of the following are impact metrics in the CVSS v3.1 base score? (Select THREE.)

Select 3 answers
A.Scope (S)
B.Attack Vector (AV)
C.Confidentiality (C)
D.Availability (A)
E.Integrity (I)
AnswersC, D, E

Confidentiality (C) is one of the three core impact metrics in the CVSS base score, assessing the degree of unauthorized information disclosure that results from an exploit. It measures the impact on data privacy, where a rating of High means complete loss of confidentiality, such as exposing sensitive user credentials or protected records. This metric directly reflects the impact on the CIA triad's confidentiality component, making it a valid impact metric.

Why this answer

CVSS v3.1 base score includes three impact metrics: Confidentiality (C), Integrity (I), and Availability (A). Attack Vector, Attack Complexity, Privileges Required, etc., are exploitability metrics.

36
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).

37
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

Staging environment testing, regression testing, and vendor advisory review are key pre-deployment steps.

38
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.

39
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 logs can reveal phishing attachments or links. Endpoint logs may show process execution or downloads. Network logs can identify C2 communication or lateral movement.

These three together help trace the initial entry.

40
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.

41
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.

42
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.

43
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

An incident report should include a timeline of events, impact assessment, root cause, lessons learned, and recommendations. Timeline and root cause are essential.

44
MCQhard

After a high-priority SOC escalation, an incident was contained successfully, but delayed escalation allowed the attacker more dwell time. What should the post-incident review produce? During eradication, which decision is most defensible? which response best matches incident-response practice?

A.A generic statement that security is important
B.Deletion of all incident tickets
C.A blame list of individual analysts
D.Specific playbook updates, escalation triggers, owners, and due dates
AnswerD

Lessons learned should translate findings into trackable process improvements. In eradication, responders need action that reduces risk while preserving the investigation record.

Why this answer

A post-incident review (PIR) should produce actionable improvements, not generic statements or blame. Specific playbook updates, escalation triggers, owners, and due dates directly address the delayed escalation by refining incident response procedures, ensuring future incidents are escalated faster and with clear accountability. This aligns with NIST SP 800-61 Rev. 2 guidance on lessons learned and process improvement.

Exam trap

CompTIA often tests the concept that post-incident reviews must produce concrete, process-improvement artifacts (like updated playbooks) rather than punitive or vague outputs, and candidates mistakenly choose blame or deletion due to a misunderstanding of incident response maturity.

How to eliminate wrong answers

Option A is wrong because a generic statement that security is important provides no measurable, actionable steps to fix the escalation delay or improve the incident response process. Option B is wrong because deletion of all incident tickets destroys forensic evidence, audit trails, and compliance records required for post-incident analysis and potential legal proceedings. Option C is wrong because a blame list of individual analysts fosters a toxic culture, discourages reporting, and violates the principle of a blameless post-mortem focused on process flaws, not individual errors.

45
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

Internal escalation procedures dictate notifying the incident response team and relevant management first.

46
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 intelligence reports provide high-level analysis of threats, trends, and risks for decision-makers.

47
Multi-Selecthard

A threat hunter is using Velociraptor to search for signs of lateral movement across multiple endpoints. The hunter wants to identify instances where a user logged into multiple systems using the same credentials within a short time frame. Which THREE artifacts should the hunter collect from each endpoint?

Select 3 answers
A.Network connections (netstat)
B.Windows Event Logs for WMI activity
C.File system for malicious executables
D.Registry hives for persistence
E.Security Event Logs (logon events)
AnswersA, B, E

Active network connections enumerated via netstat are a primary indicator of remote access tools (RATs) and command-and-control communications, which often accompany lateral movement. The artifact lists both listening and established connections, allowing the hunter to correlate suspicious external IPs and ports with the specific process IDs that own them. In Velociraptor, this yields immediate, direct evidence of an attacker's current or recent remote access session.

Why this answer

Security Event Logs (Event ID 4624) show logon sessions, network connections show remote access, and WMI Activity logs can indicate lateral movement via WMI.

48
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.

49
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

DNS tunneling often involves large payloads, high query volume to a single domain, and non-standard record types to encode data.

50
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.

51
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.

52
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

Audit evidence for access controls includes log exports (showing access events), access reviews (certifying user permissions), and vulnerability scan reports (identifying misconfigurations). Incident reports are not directly relevant.

53
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.

54
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.

55
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

Disabling directory listing, removing default accounts, and enforcing HTTPS are common secure configuration practices recommended by CIS benchmarks.

56
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

Forensic soundness requires maintaining evidence integrity. Using a verified write blocker prevents alteration. Hashing the original and copy ensures integrity.

Documenting the chain of custody maintains accountability.

57
MCQeasy

A DAST scan cannot reach authenticated pages of a web application and reports only public content findings. What should be configured? For control selection, Which control best addresses the stated weakness without hiding risk?

A.Disable all application authentication
B.Treat absence of findings as proof of security
C.Reduce the scan to only the landing page
D.Authenticated scanning with a test account and session handling
AnswerD

This is the correct approach because DAST tools can be configured to simulate a legitimate user's interaction by logging in with a dedicated test account. By properly managing session tokens or cookies, the scanner gains access to protected areas of the application, allowing it to thoroughly test functionality behind authentication. This method ensures comprehensive coverage of the entire application, including pages requiring login, thereby identifying vulnerabilities that would otherwise remain hidden.

Why this answer

DAST scanners require authenticated access to crawl and test pages behind login forms. By configuring authenticated scanning with a test account and session handling (e.g., using cookies or OAuth tokens), the scanner can traverse protected routes and detect vulnerabilities such as SQL injection or XSS on authenticated pages. This directly addresses the stated weakness without masking risk.

Exam trap

CompTIA often tests the misconception that a DAST scanner's lack of findings on public pages implies the entire application is secure, when in fact the scanner never accessed the authenticated areas, so the risk remains hidden.

How to eliminate wrong answers

Option A is wrong because disabling all application authentication would remove the security control entirely, exposing the application to unauthorized access and violating security best practices. Option B is wrong because treating absence of findings as proof of security is a false sense of security; the scanner simply did not test the authenticated pages, so no conclusion about their security can be drawn. Option C is wrong because reducing the scan to only the landing page ignores the majority of the application's attack surface, leaving authenticated pages untested and vulnerabilities undiscovered.

58
MCQhard

In a regulated payment environment, after containing a compromised host, analysis shows persistence through a scheduled task and a stolen service account. What is required before recovery? During containment, which decision is most defensible? which action best reduces risk without losing evidence?

A.Reconnect the host because users need it
B.Disable logging to improve performance
C.Close the incident after isolation
D.Remove persistence, rotate affected credentials, and verify no related hosts remain compromised
AnswerD

Recovery should follow eradication of persistence and credential exposure. In containment, responders need action that reduces risk while preserving the investigation record.

Why this answer

After containing a compromised host, the recovery phase requires removing the persistence mechanism (the scheduled task), rotating the stolen service account credentials to prevent re-authentication, and verifying that no other hosts are compromised via lateral movement. This ensures the threat is fully eradicated before returning the host to production, which is critical in a regulated payment environment where PCI DSS or similar standards mandate thorough remediation.

Exam trap

CompTIA often tests the misconception that containment (isolation) alone is sufficient for recovery, but the exam emphasizes that eradication (removing persistence and rotating credentials) and validation (checking other hosts) are mandatory steps before declaring recovery complete.

How to eliminate wrong answers

Option A is wrong because reconnecting the host without completing eradication and verification reintroduces the compromised system to the network, risking data exfiltration or further lateral movement. Option B is wrong because disabling logging destroys forensic evidence needed for post-incident analysis and compliance reporting, violating regulatory requirements like PCI DSS 10.2. Option C is wrong because closing the incident after isolation without removing persistence and rotating credentials leaves the backdoor active, allowing the attacker to regain access via the scheduled task or stolen account.

59
Multi-Selectmedium

A cybersecurity analyst is preparing an incident report after a data breach. Which TWO components are essential to include? (Select TWO.)

Select 2 answers
A.Root cause
B.Timeline
C.Budget forecast
D.Employee performance review
E.Marketing analysis
AnswersA, B

Root cause analysis identifies the fundamental underlying reason for the security incident, such as an unpatched vulnerability, misconfigured firewall rule, or successful phishing campaign. For an incident report, establishing the root cause is critical because it guides remediation efforts and prevents recurrence, and it satisfies regulatory and stakeholder requirements for understanding why the incident occurred. Without a root cause, the report is merely descriptive, not prescriptive.

Why this answer

Root cause and timeline are standard components of incident reports.

60
MCQmedium

After a ransomware incident, the incident report includes lessons learned. Which of the following is the BEST example of a lesson learned?

A.The ransomware encrypted 500 files.
B.The incident started at 2:00 AM.
C.The root cause was a phishing email.
D.Implement multi-factor authentication for remote access to reduce risk.
AnswerD

This is a concrete, actionable recommendation that directly addresses a common attack vector used in ransomware incidents, such as compromised VPN credentials. It specifies the control (MFA), the scope (remote access), and the goal (risk reduction), making it a proper lesson learned. Unlike observations or causes, it provides a clear implementation step that stakeholders can act on to harden their environment.

Why this answer

Lessons learned should be actionable recommendations to prevent recurrence.

61
MCQhard

A security analyst discovers that a data breach involving personally identifiable information (PII) of European Union citizens occurred two weeks ago but was not detected until now due to a monitoring gap. The company is subject to GDPR, which requires notification to the relevant supervisory authority within 72 hours of becoming aware of the breach. The analyst reports this to the CISO, who decides to delay notification for another week to prepare a more comprehensive response. The analyst believes this violates regulatory requirements. The analyst has documented the breach details and is concerned about the legal and financial penalties for non-compliance. The company's legal department has a strong compliance focus. The analyst has a duty to escalate within the organization. The organization has a whistleblower policy and an ethics hotline. What should the analyst do?

A.Document the decision and the delay, then proceed with the notification after one week as instructed.
B.Escalate the matter to the company's legal department and explain the regulatory requirement for timely notification.
C.Report the incident to the data protection authority (DPA) immediately, bypassing the CISO, as required by GDPR.
D.Follow the CISO's orders and delay the notification.
AnswerB

Escalating the matter to the company's legal department is the most appropriate action because legal counsel is responsible for ensuring compliance with all applicable laws and regulations, including data protection mandates. This allows the legal team to assess the risk of non-compliance and advise on the correct course of action, potentially overriding the CISO's decision while respecting internal authority structures. It ensures the organization acts within legal boundaries.

Why this answer

The analyst has a duty to escalate within the organization, and the legal department is the appropriate internal authority to address compliance with GDPR's 72-hour notification requirement. By escalating to legal, the analyst ensures the regulatory obligation is formally raised without bypassing internal hierarchy, which aligns with the company's compliance focus and whistleblower policy. This approach balances the CISO's decision with the legal imperative to notify the supervisory authority within the mandated timeframe.

Exam trap

CompTIA often tests the distinction between internal escalation and external reporting, where the trap is that candidates may choose Option C (direct DPA notification) because they confuse an individual's ethical duty with the organizational process required by GDPR, but the correct action is to escalate internally first to allow the organization to fulfill its legal obligation as the data controller.

How to eliminate wrong answers

Option A is wrong because it instructs the analyst to accept a deliberate delay that violates GDPR's explicit 72-hour notification requirement, which could lead to severe penalties under Article 83(4) of the GDPR (up to 10 million EUR or 2% of annual global turnover). Option C is wrong because bypassing the CISO and reporting directly to the DPA violates the organization's internal escalation procedures and could undermine the chain of command; GDPR requires the data controller (the company) to notify, not an individual analyst acting unilaterally. Option D is wrong because blindly following the CISO's order to delay notification for a week constitutes willful non-compliance with GDPR, exposing the company to regulatory fines and the analyst to potential personal liability under Article 82.

62
Multi-Selecthard

During a threat hunt, an analyst uses Velociraptor to collect forensic artifacts from endpoints. Which THREE of the following artifacts are most useful for detecting persistence mechanisms?

Select 3 answers
A.List of installed updates
B.Scheduled tasks
C.ARP cache
D.Service configuration
E.Registry Run keys
AnswersB, D, E

Scheduled tasks are a native Windows mechanism that can trigger a binary or script when a user logs on, at system startup, or at regular intervals. Attackers routinely create named or hidden tasks to rerun malware or maintain command-and-control, and these tasks survive a reboot (unless disabled). Because the task description, action, triggers, and run-as user are all stored in the Task Scheduler database, examining it with Velociraptor can reveal suspicious persistence. This makes scheduled tasks an essential artifact in any threat hunt.

Why this answer

Scheduled tasks, registry Run keys, and service configurations are common persistence locations monitored by attackers.

63
MCQmedium

During incident response, a team isolates a host but needs to preserve volatile evidence. What should be done first?

A.Capture a memory dump
B.Disconnect from the network
C.Reimage the hard drive
D.Reboot the system
AnswerA

Capturing a memory dump is the critical next step after isolating a host because it preserves volatile data residing in RAM. This data, which includes running processes, network connections, open files, and potentially malware artifacts, would be lost upon system shutdown or reboot. Analyzing a memory dump provides invaluable forensic evidence for understanding the attacker's activities and the extent of the compromise without altering the live system state.

Why this answer

When a host is isolated during incident response, the first priority is to capture volatile data before it is lost. A memory dump preserves the contents of RAM, which includes running processes, network connections, open files, and encryption keys. This data is critical for forensic analysis and disappears when the system is powered off.

Disconnecting the network (option B) is important but should follow memory capture because network activity is part of the volatile state.

Exam trap

CompTIA often tests the order of volatility (OOV) by making candidates think network isolation is the immediate priority, but the trap is that volatile memory must be captured first because network state is part of that volatile data and disconnecting the network changes the system's state before evidence is collected.

How to eliminate wrong answers

Option B is wrong because disconnecting the network should occur after capturing memory; network state (active connections, IP addresses, ports) is volatile and would be lost if the network cable is pulled first. Option C is wrong because reimaging the hard drive destroys all evidence, including non-volatile data, and is a recovery step, not a preservation step. Option D is wrong because rebooting the system clears RAM, destroying the very volatile evidence you need to preserve, and may trigger anti-forensic mechanisms.

64
MCQhard

A security analyst is reviewing the output of a vulnerability scan and notices that a critical vulnerability on a Linux server has been reported as 'Confirmed' by the scanner. The analyst checks the system and finds that the actual vulnerability does not exist because a kernel upgrade was applied via a yum update but the scanner did not detect the change. Which of the following is the MOST likely cause?

A.The vulnerability database was not updated before the scan
B.The scanner is configured to alert on missing patches only
C.The scanner was not configured with proper credentials for authenticated scanning
D.The scanner's plugins for Linux are outdated
AnswerC

Without proper credentials, a vulnerability scanner performs unauthenticated scans, relying on network-level probes and banner grabbing. This method often leads to false positives because it cannot log into the target system to verify actual patch levels, installed software versions, or configuration files. For example, a service banner might display an older version string even if the underlying software has been patched or backported, causing the scanner to incorrectly flag a vulnerability as "Confirmed" on a secure system.

Why this answer

The vulnerability scanner reported a 'Confirmed' critical vulnerability that no longer exists after a kernel upgrade via yum. This indicates the scanner performed an unauthenticated scan, relying on banner grabbing or service version detection, which cannot verify the actual installed kernel version. With proper credentials (e.g., SSH keys or a service account), the scanner would have performed an authenticated scan, queried the package manager (rpm -q kernel), and correctly identified that the kernel was updated, thus not flagging the vulnerability.

Exam trap

CompTIA often tests the distinction between authenticated and unauthenticated scanning, and the trap here is that candidates assume a 'Confirmed' status means the scanner has verified the vulnerability through deep inspection, when in fact it may only indicate that the scanner's unauthenticated checks matched a signature, not that it has actual system-level access to confirm the patch state.

How to eliminate wrong answers

Option A is wrong because the vulnerability database being outdated would cause the scanner to miss new vulnerabilities or report false negatives, not to falsely confirm a vulnerability that was already patched. Option B is wrong because the scanner is configured to alert on missing patches only; this would mean it only reports vulnerabilities when patches are absent, but here the patch was applied, so the scanner should not have alerted at all. Option D is wrong because outdated plugins for Linux would likely cause the scanner to miss vulnerabilities or report incorrect severity, but the core issue is the lack of authenticated access to verify the kernel version, not the plugin version.

65
Multi-Selectmedium

A threat hunter is reviewing endpoint telemetry and sees a process 'svchost.exe' spawning 'cmd.exe', which then executes 'reg.exe add' to create a Run key. The hunter suspects persistence. Which TWO artifacts should the hunter examine to confirm persistence?

Select 2 answers
A.Registry Run keys
B.Windows Event Logs for service creation
C.Browser history
D.Scheduled tasks
E.Network connections
AnswersA, D

The registry Run key (HKLM\Software\Microsoft\Windows\CurrentVersion\Run) is a classic autostart persistence mechanism; a command using reg.exe to add a value there explicitly indicates the attacker intends to execute a payload at user logon. Inspecting this key for the malicious entry is the highest-priority action because the observed telemetry directly aligns with this persistence method, and the associated binary path or command can be identified and remediated. This is not merely incidental—the command's purpose is to modify this specific key.

Why this answer

Run keys are stored in the registry, and scheduled tasks can also be created via command line. Examining these confirms persistence.

66
Multi-Selecthard

An organization has experienced a data breach involving personal information of EU residents. The incident response team is preparing communications. Which THREE of the following are mandatory actions under GDPR? (Select THREE.)

Select 3 answers
A.Notify all affected data subjects without undue delay if high risk
B.Document the breach and remediation actions
C.Publish a public notice in the local newspaper
D.Notify law enforcement within 24 hours
E.Notify the supervisory authority within 72 hours
AnswersA, B, E

GDPR Article 34 mandates that data controllers must notify affected data subjects without undue delay when a personal data breach is likely to result in a high risk to their rights and freedoms. This direct communication enables individuals to take necessary precautions to mitigate potential harm, such as identity theft or financial fraud. The 'without undue delay' clause emphasizes the urgency of informing those directly impacted by the breach.

Why this answer

GDPR requires notification to the supervisory authority within 72 hours, documentation of the breach, and notification to affected individuals if high risk.

67
Multi-Selectmedium

A security analyst is preparing a compliance report for an upcoming audit. The auditor has requested evidence of access controls. Which TWO of the following would provide appropriate evidence? (Select TWO.)

Select 2 answers
A.Recent access review reports
B.A network topology diagram
C.User account audit logs showing privilege changes
D.A list of all employees
E.The company's password policy
AnswersA, C

Access review reports are a direct artifact of an identity governance process, showing that the organization periodically re-certifies user entitlements against current roles and business need. Because the reports are generated from actual access decisions and reviews, they demonstrate that the access-control control is operating as intended, which is exactly the type of evidence a compliance auditor expects to see.

Why this answer

Access review reports and user account audit logs directly demonstrate access control implementation.

68
MCQhard

You are a senior security analyst at a mid-sized financial company. The SOC has been alerted by the EDR system about anomalous behavior on a domain controller (DC) that runs Windows Server 2019. The alert indicates that a process named 'svchost.exe' spawned a PowerShell process that executed a one-liner to connect to an external IP address (203.0.113.5) over TCP port 443. Further investigation shows that the DC's event logs have gaps of about 10 minutes each, and the local administrator account 'Administrator' was used to log in from a workstation named 'WKSTN-FIN-12' at the time of the event. The company has strict policies: all administrative access must be via dedicated jump hosts, and privileged accounts are monitored. Upon checking, 'WKSTN-FIN-12' is assigned to an employee in the finance department who has no administrative privileges. The employee reports that they did not log in recently. The CISO wants a swift containment and eradication without losing forensic evidence. Based on this scenario, which of the following is the BEST first course of action?

A.Isolate the domain controller from the network by disabling its network interface.
B.Capture a memory dump of the domain controller for offline analysis.
C.Power down the domain controller to prevent further damage.
D.Reset the password for the local Administrator account and revoke the user's access.
AnswerA

Isolating the domain controller by disabling its network interface is the immediate priority in a suspected compromise. This action effectively contains the threat, preventing the attacker from further lateral movement, exfiltrating data, or causing additional damage across the network. Crucially, it preserves the system's current volatile state and disk evidence for subsequent forensic analysis, allowing investigators to understand the attack vector and scope. This containment strategy is a fundamental step in the incident response lifecycle.

Why this answer

Isolating the domain controller by disabling its network interface is the best first step because it immediately halts any ongoing malicious communication (e.g., C2 traffic over TCP 443) while preserving the volatile state of the system for forensic acquisition. This action prevents further data exfiltration or lateral movement without destroying evidence like memory or logs, which would occur with a power-down. It also aligns with the CISO's requirement for swift containment without losing forensic evidence.

Exam trap

CompTIA often tests the distinction between containment and forensic preservation, trapping candidates who choose memory capture (Option B) as a first step instead of immediate isolation, or who mistakenly think powering down (Option C) preserves evidence when it actually destroys volatile data.

How to eliminate wrong answers

Option B is wrong because capturing a memory dump is a forensic step that should follow containment, not precede it; performing it first could allow the attacker to continue exfiltrating data or executing commands while the dump is taken. Option C is wrong because powering down the domain controller destroys volatile evidence (e.g., memory, active network connections) and may trigger anti-forensic mechanisms, violating the requirement to preserve forensic evidence. Option D is wrong because resetting the password and revoking access does not stop the active malicious process (PowerShell connecting to 203.0.113.5) or the potential persistence mechanism; it only addresses the compromised credential, leaving the threat active.

69
Multi-Selecthard

A security analyst is reviewing the results of a web application vulnerability scan and needs to identify the vulnerabilities that are part of the OWASP Top 10 (2021) category 'Injection'. Which THREE of the following vulnerabilities fall under this category? (Select THREE.)

Select 3 answers
A.SQL injection
B.OS command injection
C.Broken Access Control
D.Cross-Site Scripting (XSS)
E.Security Misconfiguration
AnswersA, B, D

SQL injection is an injection flaw that occurs when untrusted data is directly concatenated into SQL queries, allowing attackers to manipulate database logic. For example, an attacker can submit a value like `' OR '1'='1` to bypass authentication or extract sensitive data. This happens because user input is not parameterized or properly sanitized before being sent to the database interpreter.

Why this answer

SQL injection, Cross-Site Scripting (XSS), and OS command injection are all types of injection flaws. XXE is also injection, but it is often listed separately; however, in OWASP Top 10 2021, Injection includes XSS, SQL injection, etc. Broken access control is a separate category.

70
MCQeasy

A small business with 50 employees uses a single Windows Server 2019 as a domain controller and file server. The company recently experienced a ransomware attack that encrypted all files on the server. The IT manager restored the files from a backup that was taken two days before the attack. However, the next day, the files were encrypted again. The analyst suspects the ransomware may have persisted or re-entered. The network is air-gapped from the internet, but employees use USB drives. Which of the following is the MOST likely reason for the re-infection?

A.The backup itself contained the ransomware.
B.An employee inserted an infected USB drive after the restoration.
C.The ransomware was still active in memory on the server.
D.The domain controller was not fully patched.
AnswerB

This is the most plausible explanation for a re-infection following a successful restoration from a clean backup. After a system is restored, it often operates in a vulnerable state, potentially with reduced network connectivity or security controls temporarily relaxed for validation. An employee inserting an infected USB drive directly into the server or a connected workstation provides a direct, physical vector for malware re-introduction, bypassing network perimeter defenses that might have been re-established. This action re-establishes the infection chain.

Why this answer

The network is air-gapped from the internet, leaving USB drives as the primary vector for reintroducing malware. If an employee inserted an infected USB drive after the restoration, the ransomware could execute and re-encrypt the files. The air-gap eliminates internet-based re-entry, and the backup was clean since it restored files without immediate re-encryption until the next day.

Exam trap

The trap here is that candidates may assume the backup was infected (Option A) or that patching (Option D) is the root cause, but the air-gap and USB vector point directly to physical media reintroduction, not network-based persistence or patch status.

How to eliminate wrong answers

Option A is wrong because if the backup contained the ransomware, the files would have been encrypted immediately upon restoration, not the next day. Option C is wrong because ransomware that persists only in memory would be wiped by a server reboot during the restoration process, and it cannot survive a reboot without writing to disk. Option D is wrong because while an unpatched domain controller is a security risk, the air-gapped network prevents remote exploitation, and the attack vector is local via USB drives, not network-based patching issues.

71
MCQmedium

After a risk assessment, a security analyst recommends accepting a low-risk finding. The system owner disagrees. Which communication strategy should the analyst use?

A.Escalate the disagreement to the CISO immediately
B.Agree with the system owner and change the recommendation
C.Present the risk assessment data and cost-benefit analysis to justify acceptance
D.Insist that the finding must be mitigated due to policy
AnswerC

Presenting the comprehensive risk assessment data, including the identified threats, vulnerabilities, likelihood, and impact, alongside a detailed cost-benefit analysis for various treatment options, is the most effective approach. This allows stakeholders, including the system owner, to make an informed, data-driven decision regarding risk acceptance, ensuring transparency and alignment with business objectives. It facilitates a collaborative understanding of why acceptance is the appropriate strategy, based on objective facts rather than subjective opinions.

Why this answer

The security analyst should use data-driven communication to resolve disagreements over risk acceptance. By presenting the risk assessment data and a cost-benefit analysis, the analyst provides objective evidence that the low-risk finding does not warrant mitigation, aligning with the NIST risk management framework's emphasis on informed decision-making. This approach respects the system owner's concerns while justifying the acceptance based on technical and business rationale.

Exam trap

The trap here is that candidates may choose immediate escalation (A) or policy insistence (D) because they confuse risk acceptance with risk avoidance, failing to recognize that data-driven justification is the standard professional approach for resolving such disagreements.

How to eliminate wrong answers

Option A is wrong because immediately escalating to the CISO bypasses collaborative resolution and may be seen as adversarial, which is not the first step in a professional disagreement over a low-risk finding. Option B is wrong because agreeing and changing the recommendation without justification undermines the risk assessment process and could lead to unnecessary resource expenditure or overlooked risks. Option D is wrong because insisting on mitigation due to policy ignores the risk assessment's conclusion that the finding is low-risk, and policy often allows for risk acceptance when justified by data.

72
Multi-Selectmedium

A security analyst is investigating a potential data breach. The analyst needs to collect digital evidence while preserving its integrity. Which TWO actions should the analyst take? (Choose TWO.)

Select 2 answers
A.Run a full antivirus scan on the system.
B.Delete any malicious files found during the investigation.
C.Verify the hash of the acquired image against the original.
D.Use a write blocker when imaging the hard drive.
E.Connect the suspect drive to a forensic workstation without a write blocker.
AnswersC, D

Computing a one-way cryptographic hash (such as SHA-256) of the original drive before acquisition and of the forensic image after, then comparing the two digests, is the definitive test that the image is a bit-for-bit clone with no changes introduced during capture. A matching hash validates the image for court admissibility and provides a baseline for later re-verification as part of the chain of custody.

Why this answer

Write blockers prevent modification of the original media during acquisition, and hash verification ensures the integrity of the acquired image by comparing hashes.

73
Multi-Selecteasy

An organization's incident response team is classifying an incident based on severity and priority. Which TWO factors should the team consider when determining the priority of an incident? (Select TWO.)

Select 2 answers
A.The number of users reporting the issue.
B.The potential business impact of the incident.
C.The criticality of the affected systems or data.
D.The time of day the incident occurred.
E.The type of threat actor involved.
AnswersB, C

The potential business impact of an incident drives its priority because the goal of incident management is to minimize harm to the organization. Impact includes financial loss, operational disruption, regulatory fines, reputational damage, and customer trust. A high-impact incident, such as a ransomware attack on a core revenue system, necessitates immediate escalation regardless of other factors.

Why this answer

Priority is often based on the criticality of the affected assets and the potential business impact, as these determine how quickly the incident needs to be addressed.

74
Multi-Selecteasy

A SOC team is evaluating cloud-native security monitoring tools. Which TWO of the following are AWS services specifically designed for threat detection and security monitoring?

Select 2 answers
A.AWS Lambda
B.AWS CloudTrail
C.AWS GuardDuty
D.AWS Security Hub
E.AWS VPC Flow Logs
AnswersC, D

GuardDuty is a managed threat detection service that continuously monitors for malicious or unauthorized behavior using machine learning, anomaly detection, and integrated threat intelligence. It ingests and analyzes VPC Flow Logs, DNS logs, and CloudTrail management events to identify threats like compromised EC2 instances, port scanning, or crypto mining. GuardDuty generates findings that a SOC can investigate, making it a core cloud-native security monitoring tool.

Why this answer

AWS GuardDuty is a threat detection service, and Security Hub aggregates security findings. Other services like CloudTrail are for logging, not primarily detection.

75
MCQmedium

A cloud posture scan finds a storage bucket with public read access containing customer exports. What should the team do first? For validation, Which action should be taken before closing or downgrading the finding?

A.Wait for the next quarterly review
B.Rotate database administrator passwords only
C.Delete all audit logs to reduce liability
D.Restrict public access and determine whether sensitive data was accessed
AnswerD

The immediate priority is to restrict public access to the storage bucket, effectively containing the data exposure and preventing further unauthorized access. Following containment, it is crucial to conduct a thorough investigation to determine if sensitive data was present in the bucket and whether it was accessed or exfiltrated during the period of public exposure. This two-pronged approach aligns with incident response best practices, focusing on mitigation and subsequent impact assessment.

Why this answer

The immediate priority is to restrict public read access to the storage bucket to prevent further unauthorized exposure, then determine whether sensitive customer data was accessed by reviewing access logs (e.g., AWS CloudTrail or S3 server access logs). This aligns with incident response best practices: contain the threat first, then assess impact. Without confirming data access, the team cannot properly scope the breach or notify affected parties.

Exam trap

CompTIA often tests the misconception that rotating credentials (Option B) is the primary fix for a misconfiguration, when the actual first step is to remove the public access and investigate exposure.

How to eliminate wrong answers

Option A is wrong because waiting for the next quarterly review violates incident response principles; a public bucket with customer exports requires immediate containment, not delayed action. Option B is wrong because rotating database administrator passwords does not address the root cause—public read access on a storage bucket—and is irrelevant to the misconfiguration. Option C is wrong because deleting audit logs destroys forensic evidence needed to determine if sensitive data was accessed, which could violate compliance requirements (e.g., GDPR, HIPAA) and hinder investigation.

Page 1 of 4

Page 2

All pages