CompTIA CS0-004 Practice Test 43
Question 420
Before restoring service, the following risk must be addressed: An attacker-scanning service connects to a decoy database port that no legitimate client should access. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Contain the endpoint and remove the confirmed malicious macro and payload.
- Block confirmed hostile probes and repair unsafe input handling if a weakness exists.
- Correct clock synchronization and normalize collected events to UTC.
- Investigate source behavior while keeping the decoy isolated from real production data.
Explanation
Correct Answer
D:Investigate source behavior while keeping the decoy isolated from real production data. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Interaction with a deliberately unused decoy is a strong investigation trigger but not automatic proof of compromise. The reported evidence is: An attacker-scanning service connects to a decoy database port that no legitimate client should access. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Contain the endpoint and remove the confirmed malicious macro and payload. It belongs to a different edr process ancestry case where An endpoint agent flags mshta.exe launched by a spreadsheet macro with outbound HTTP connections. That situation concerns Unusual trusted-binary lineage can indicate malicious script execution. Here the evidence instead concerns honeypot connection: Interaction with a deliberately unused decoy is a strong investigation trigger but not automatic proof of compromise. The corrective action limits unnecessary changes to unaffected systems.
B:Block confirmed hostile probes and repair unsafe input handling if a weakness exists. It belongs to a different injection reconnaissance case where A customer login endpoint receives repeated malformed parameters and application errors tied to one automated client. That situation concerns Unusual parameter patterns and 500 responses warrant validation for application probing. Here the evidence instead concerns honeypot connection: Interaction with a deliberately unused decoy is a strong investigation trigger but not automatic proof of compromise. The corrective action limits unnecessary changes to unaffected systems.
C:Correct clock synchronization and normalize collected events to UTC. It belongs to a different siem clock skew case where Firewall denies occur at 10:04 UTC while the identity provider records the related login at 10:11 UTC, breaking event correlation. That situation concerns Unsynchronized device clocks can misorder otherwise valid security events. Here the evidence instead concerns honeypot connection: Interaction with a deliberately unused decoy is a strong investigation trigger but not automatic proof of compromise. The corrective action limits unnecessary changes to unaffected systems.
Question 421
During an authorized response window, this condition is observed: A compromised employee mailbox has an auto-forward rule sending financial attachments to an external address. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Remove unauthorized forwarding, revoke sessions, and remediate the account.
- Map each confirmed behavior to its applicable technique with timestamps.
- Conduct a documented after-action review with owners and corrective deadlines.
- Restore a representative clean segment before scaling reconnects.
Explanation
Correct Answer
A:Remove unauthorized forwarding, revoke sessions, and remediate the account. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Mailbox forwarding changes can persistently leak data after initial credential theft. The reported evidence is: A compromised employee mailbox has an auto-forward rule sending financial attachments to an external address. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
B:Map each confirmed behavior to its applicable technique with timestamps. It belongs to a different att&ck credential access case where Investigators observe a browser credential store read followed by a remote logon and need normalized technique labels. That situation concerns The access to stored credentials and subsequent lateral movement are distinct ATT&CK behaviors. Here the evidence instead concerns phishing mailbox rules: Mailbox forwarding changes can persistently leak data after initial credential theft. The corrective action limits unnecessary changes to unaffected systems.
C:Conduct a documented after-action review with owners and corrective deadlines. It belongs to a different post-incident learning case where An incident is marked closed when systems are back online but the compromised vendor access workflow remains unchanged. That situation concerns Restoring service without addressing systemic failure invites recurrence. Here the evidence instead concerns phishing mailbox rules: Mailbox forwarding changes can persistently leak data after initial credential theft. The corrective action limits unnecessary changes to unaffected systems.
D:Restore a representative clean segment before scaling reconnects. It belongs to a different staged service restoration case where After ransomware removal, engineers plan to reconnect all isolated file servers at once without testing backups. That situation concerns A phased recovery reduces risk of reinfection and supports controlled validation. Here the evidence instead concerns phishing mailbox rules: Mailbox forwarding changes can persistently leak data after initial credential theft. The corrective action limits unnecessary changes to unaffected systems.
Question 422
An incident commander requests a targeted change for this case: An application declares a current framework but its lockfile brings in a vulnerable transitive parser library. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Use conservative discovery and vendor-approved tests on a restricted schedule.
- Set private access in the reviewed IaC definition and enforce pipeline policy.
- Tighten the validation template and request manual verification for ambiguous matches.
- Upgrade or replace the vulnerable transitive dependency and rebuild reproducibly.
Explanation
Correct Answer
D:Upgrade or replace the vulnerable transitive dependency and rebuild reproducibly. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Third-party dependency risk includes indirect packages resolved by the build. The reported evidence is: An application declares a current framework but its lockfile brings in a vulnerable transitive parser library. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Use conservative discovery and vendor-approved tests on a restricted schedule. It belongs to a different sensitive asset scan throttling case where A fragile database proxy becomes unstable after full-speed service fingerprinting in a scheduled scan. That situation concerns Intrusive fingerprinting and parallel connections can exceed a fragile service's tolerance. Here the evidence instead concerns sca transitive package: Third-party dependency risk includes indirect packages resolved by the build. The corrective action limits unnecessary changes to unaffected systems.
B:Set private access in the reviewed IaC definition and enforce pipeline policy. It belongs to a different checkov iac finding case where A Terraform plan provisions public object storage although an old console screenshot shows the bucket as private. That situation concerns IaC source and planned state may expose risks hidden by legacy point-in-time screenshots. Here the evidence instead concerns sca transitive package: Third-party dependency risk includes indirect packages resolved by the build. The corrective action limits unnecessary changes to unaffected systems.
C:Tighten the validation template and request manual verification for ambiguous matches. It belongs to a different nuclei template validation case where A Nuclei HTTP template reports an exposed admin path that actually returns a generic application login page. That situation concerns A response matching a loose template may be a false positive without exploit-specific evidence. Here the evidence instead concerns sca transitive package: Third-party dependency risk includes indirect packages resolved by the build. The corrective action limits unnecessary changes to unaffected systems.
Question 423
A control owner must reduce risk from this issue: A high CVSS flaw exists on a powered-off laboratory appliance with no route to production. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Rebuild from a supported patched base image and pin the approved digest.
- Schedule an approved vulnerability scan of identified assets and reconcile inventory.
- Use approved endpoint agents to assess local software when roaming systems connect.
- Prioritize alongside exposed production weaknesses using documented risk context.
Explanation
Correct Answer
D:Prioritize alongside exposed production weaknesses using documented risk context. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Base severity alone cannot determine enterprise remediation order without exposure and asset context. The reported evidence is: A high CVSS flaw exists on a powered-off laboratory appliance with no route to production. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Rebuild from a supported patched base image and pin the approved digest. It belongs to a different trivy image layers case where A container image scan reports a vulnerable OpenSSL library in a base layer even though the app does not ship its own copy. That situation concerns Inherited image components can introduce vulnerabilities outside direct application dependencies. Here the evidence instead concerns isolated high cvss host: Base severity alone cannot determine enterprise remediation order without exposure and asset context. The corrective action limits unnecessary changes to unaffected systems.
B:Schedule an approved vulnerability scan of identified assets and reconcile inventory. It belongs to a different asset discovery versus assessment case where A quick network mapping job finds forty active IPs, but management claims all forty have been security assessed. That situation concerns Presence discovery is not equivalent to vulnerability or configuration evaluation. Here the evidence instead concerns isolated high cvss host: Base severity alone cannot determine enterprise remediation order without exposure and asset context. The corrective action limits unnecessary changes to unaffected systems.
C:Use approved endpoint agents to assess local software when roaming systems connect. It belongs to a different agent-based remote coverage case where Remote laptops are offline during network scan windows but are enrolled in a centrally managed endpoint platform. That situation concerns Network-only scans undercount intermittently connected roaming endpoints. Here the evidence instead concerns isolated high cvss host: Base severity alone cannot determine enterprise remediation order without exposure and asset context. The corrective action limits unnecessary changes to unaffected systems.
Question 424
During an authorized response window, this condition is observed: A suspected exfiltration host uses DNS tunneling but full packet capture is unavailable; Zeek dns.log remains intact. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Restrict access to approved application resources with conditional identity and device policies.
- Create a targeted detection from confirmed tunneling patterns and inspect the source endpoint.
- Remove the confirmed malicious Run value and remediate the dropped script.
- Publish a versioned response runbook with decision points, owners, and evidence rules.
Explanation
Correct Answer
B:Create a targeted detection from confirmed tunneling patterns and inspect the source endpoint. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Zeek protocol metadata can reveal abnormal DNS sizes, timing, and queried domains. The reported evidence is: A suspected exfiltration host uses DNS tunneling but full packet capture is unavailable; Zeek dns.log remains intact. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Restrict access to approved application resources with conditional identity and device policies. It belongs to a different ztna policy gap case where A contractor can reach an entire internal subnet after authenticating to a single sanctioned application. That situation concerns Network-level trust exceeds the application-specific least-privilege access requirement. Here the evidence instead concerns zeek network metadata: Zeek protocol metadata can reveal abnormal DNS sizes, timing, and queried domains. The corrective action limits unnecessary changes to unaffected systems.
C:Remove the confirmed malicious Run value and remediate the dropped script. It belongs to a different registry run key case where An endpoint's HKCU Run key changes to execute a downloaded script at next sign-in. That situation concerns User-level autorun configuration can create persistence without administrator rights. Here the evidence instead concerns zeek network metadata: Zeek protocol metadata can reveal abnormal DNS sizes, timing, and queried domains. The corrective action limits unnecessary changes to unaffected systems.
D:Publish a versioned response runbook with decision points, owners, and evidence rules. It belongs to a different runbook drift case where Two SOC shifts follow different steps for the same confirmed credential-theft alert, producing inconsistent evidence handling. That situation concerns Unversioned procedures can make response inconsistent and difficult to audit. Here the evidence instead concerns zeek network metadata: Zeek protocol metadata can reveal abnormal DNS sizes, timing, and queried domains. The corrective action limits unnecessary changes to unaffected systems.
Question 425
During an authorized response window, this condition is observed: A cardholder data environment has a completed scan but lacks evidence of required scan scope and approvals. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Prioritize alongside exposed production weaknesses using documented risk context.
- Deploy the reviewed fixed build to production under change control.
- Remove the information leak and enforce independent API authorization.
- Perform required approved assessments and retain supporting scoping and remediation records.
Explanation
Correct Answer
D:Perform required approved assessments and retain supporting scoping and remediation records. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: A compliance result depends on the authorized scope and validated evidence, not a pass label alone. The reported evidence is: A cardholder data environment has a completed scan but lacks evidence of required scan scope and approvals. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Prioritize alongside exposed production weaknesses using documented risk context. It belongs to a different isolated high cvss host case where A high CVSS flaw exists on a powered-off laboratory appliance with no route to production. That situation concerns Base severity alone cannot determine enterprise remediation order without exposure and asset context. Here the evidence instead concerns pci scanning evidence: A compliance result depends on the authorized scope and validated evidence, not a pass label alone. The corrective action limits unnecessary changes to unaffected systems.
B:Deploy the reviewed fixed build to production under change control. It belongs to a different patch remediation validation case where A team marks a web server vulnerability closed after deploying a patch to staging, but production still runs the older build. That situation concerns A staging change does not prove remediation on the actual production asset. Here the evidence instead concerns pci scanning evidence: A compliance result depends on the authorized scope and validated evidence, not a pass label alone. The corrective action limits unnecessary changes to unaffected systems.
C:Remove the information leak and enforce independent API authorization. It belongs to a different exploit chain path case where A low-severity information disclosure lets unauthenticated users learn a token that can reach a sensitive management API. That situation concerns Chained weaknesses may create high impact even when components have modest individual scores. Here the evidence instead concerns pci scanning evidence: A compliance result depends on the authorized scope and validated evidence, not a pass label alone. The corrective action limits unnecessary changes to unaffected systems.
Question 426
During an authorized response window, this condition is observed: A service account is added to a local administrators group by a nonapproved remote-management process. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Contain the endpoint and remove the confirmed malicious macro and payload.
- Quarantine suspect labels and retrain only from validated approved training records.
- Revoke the unauthorized privilege and rotate the compromised identity if indicated.
- Update tested normalization mappings and affected correlations while retaining raw logs.
Explanation
Correct Answer
C:Revoke the unauthorized privilege and rotate the compromised identity if indicated. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: An unexplained privilege grant suggests potential elevation or unauthorized change. The reported evidence is: A service account is added to a local administrators group by a nonapproved remote-management process. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Contain the endpoint and remove the confirmed malicious macro and payload. It belongs to a different edr process ancestry case where An endpoint agent flags mshta.exe launched by a spreadsheet macro with outbound HTTP connections. That situation concerns Unusual trusted-binary lineage can indicate malicious script execution. Here the evidence instead concerns unexpected administrator grant: An unexplained privilege grant suggests potential elevation or unauthorized change. The corrective action limits unnecessary changes to unaffected systems.
B:Quarantine suspect labels and retrain only from validated approved training records. It belongs to a different poisoned ai training labels case where An attacker alters analyst feedback labels so known malicious traffic is marked clean before a detection model retrains. That situation concerns Compromised training labels can corrupt a defensive model even when inference code is unchanged. Here the evidence instead concerns unexpected administrator grant: An unexplained privilege grant suggests potential elevation or unauthorized change. The corrective action limits unnecessary changes to unaffected systems.
D:Update tested normalization mappings and affected correlations while retaining raw logs. It belongs to a different siem parser mismatch case where A firewall upgrade changes its JSON field name and correlation rules stop matching blocked egress events. That situation concerns A log schema change can silently degrade SIEM detection despite continued ingestion. Here the evidence instead concerns unexpected administrator grant: An unexplained privilege grant suggests potential elevation or unauthorized change. The corrective action limits unnecessary changes to unaffected systems.
Question 427
During an authorized response window, this condition is observed: During an enterprise intrusion, responders image every endpoint before triaging the first infected host, exhausting storage. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Remove persistence and malicious artifacts, rotate affected credentials, and correct entry vector.
- Collect high-value volatile and host evidence first, then extend acquisition by validated scope.
- Choose scoped containment aligned to verified risk and operational impact.
- Document supported Diamond relationships and maintain alternative hypotheses.
Explanation
Correct Answer
B:Collect high-value volatile and host evidence first, then extend acquisition by validated scope. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Evidence acquisition should be prioritized by relevance, volatility, scope, and operational constraints. The reported evidence is: During an enterprise intrusion, responders image every endpoint before triaging the first infected host, exhausting storage. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Remove persistence and malicious artifacts, rotate affected credentials, and correct entry vector. It belongs to a different malware eradication case where An isolated host still has malicious startup entries and a stolen service credential after blocking the attacker's domain. That situation concerns Blocking egress contains activity but does not remove persistence or stolen credentials. Here the evidence instead concerns evidence collection at scale: Evidence acquisition should be prioritized by relevance, volatility, scope, and operational constraints. The corrective action limits unnecessary changes to unaffected systems.
C:Choose scoped containment aligned to verified risk and operational impact. It belongs to a different analysis before containment case where A high-value database makes outbound connections but responders plan to shut it down before confirming origin or dependencies. That situation concerns Analysis should determine scope, evidence, and likely impact before disruptive containment when feasible. Here the evidence instead concerns evidence collection at scale: Evidence acquisition should be prioritized by relevance, volatility, scope, and operational constraints. The corrective action limits unnecessary changes to unaffected systems.
D:Document supported Diamond relationships and maintain alternative hypotheses. It belongs to a different diamond model relationships case where Two intrusions use the same remote server but different victims and malware, prompting a proposed common-campaign conclusion. That situation concerns The Diamond Model relates adversary, infrastructure, capability, and victim but shared infrastructure alone does not prove one actor. Here the evidence instead concerns evidence collection at scale: Evidence acquisition should be prioritized by relevance, volatility, scope, and operational constraints. The corrective action limits unnecessary changes to unaffected systems.
Question 428
During an authorized response window, this condition is observed: A Linux server passes port checks but has weak file permissions and permissive SSH settings. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Prioritize alongside exposed production weaknesses using documented risk context.
- Plan and execute the approved restart or live-patch procedure as supported.
- Configure sanctioned authenticated scanning and recheck page coverage.
- Run authenticated security-configuration assessment against the approved CIS benchmark.
Explanation
Correct Answer
D:Run authenticated security-configuration assessment against the approved CIS benchmark. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Configuration posture requires baseline checks beyond network-exposed vulnerabilities. The reported evidence is: A Linux server passes port checks but has weak file permissions and permissive SSH settings. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Prioritize alongside exposed production weaknesses using documented risk context. It belongs to a different isolated high cvss host case where A high CVSS flaw exists on a powered-off laboratory appliance with no route to production. That situation concerns Base severity alone cannot determine enterprise remediation order without exposure and asset context. Here the evidence instead concerns cis baseline evaluation: Configuration posture requires baseline checks beyond network-exposed vulnerabilities. The corrective action limits unnecessary changes to unaffected systems.
B:Plan and execute the approved restart or live-patch procedure as supported. It belongs to a different patch without reboot case where A scanner still detects a vulnerable kernel after a package manager installed the fixed version but before reboot. That situation concerns Installed software metadata may differ from the actively running vulnerable kernel. Here the evidence instead concerns cis baseline evaluation: Configuration posture requires baseline checks beyond network-exposed vulnerabilities. The corrective action limits unnecessary changes to unaffected systems.
C:Configure sanctioned authenticated scanning and recheck page coverage. It belongs to a different zap scanner session case where A web application scan reports no authenticated vulnerabilities because the ZAP session expired after the login redirect. That situation concerns Unauthenticated crawl coverage can miss protected pages and their flaws. Here the evidence instead concerns cis baseline evaluation: Configuration posture requires baseline checks beyond network-exposed vulnerabilities. The corrective action limits unnecessary changes to unaffected systems.
Question 429
An incident commander requests a targeted change for this case: A contractor can reach an entire internal subnet after authenticating to a single sanctioned application. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Restrict access to approved application resources with conditional identity and device policies.
- Tag confirmed behaviors in the incident case and tune matching detections.
- Expire or downgrade obsolete indicators unless local evidence confirms present risk.
- Deduplicate on trustworthy event identity while preserving original source records.
Explanation
Correct Answer
A:Restrict access to approved application resources with conditional identity and device policies. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Network-level trust exceeds the application-specific least-privilege access requirement. The reported evidence is: A contractor can reach an entire internal subnet after authenticating to a single sanctioned application. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
B:Tag confirmed behaviors in the incident case and tune matching detections. It belongs to a different mitre att&ck technique case where An analyst sees credential dumping followed by remote service creation and wants a consistent adversary-behavior map. That situation concerns Behavior should be mapped to ATT&CK techniques instead of equating tool name with adversary identity. Here the evidence instead concerns ztna policy gap: Network-level trust exceeds the application-specific least-privilege access requirement. The corrective action limits unnecessary changes to unaffected systems.
C:Expire or downgrade obsolete indicators unless local evidence confirms present risk. It belongs to a different threat intel freshness case where A feed flags an IP as malicious based on a report from five years ago, but it now belongs to a shared hosting provider. That situation concerns Stale indicators can be irrelevant or harmful if applied without current context. Here the evidence instead concerns ztna policy gap: Network-level trust exceeds the application-specific least-privilege access requirement. The corrective action limits unnecessary changes to unaffected systems.
D:Deduplicate on trustworthy event identity while preserving original source records. It belongs to a different siem duplicate alerts case where Three sensors send the same firewall event to a SIEM and analysts receive three separate incidents. That situation concerns Duplicate ingestion without correlation grouping increases analyst load without new evidence. Here the evidence instead concerns ztna policy gap: Network-level trust exceeds the application-specific least-privilege access requirement. The corrective action limits unnecessary changes to unaffected systems.
Question 430
A control owner must reduce risk from this issue: A high-severity investigation changes shifts with an open containment decision, but the incoming analyst receives only a ticket number. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Escalate the overdue exposure to the designated risk owner with required plan.
- Provide a structured handover with current impact, indicators, tasks, and escalation contacts.
- Document a long-term replacement plan and interim least-privilege isolation.
- Correct the report disposition while retaining the evidence and review date.
Explanation
Correct Answer
B:Provide a structured handover with current impact, indicators, tasks, and escalation contacts. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Effective handover must preserve scope, evidence, current actions, blockers, and owners. The reported evidence is: A high-severity investigation changes shifts with an open containment decision, but the incoming analyst receives only a ticket number. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Escalate the overdue exposure to the designated risk owner with required plan. It belongs to a different remediation sla breach case where A high-priority internet-facing vulnerability passes its ten-day remediation SLA with no assigned escalation. That situation concerns SLA exceptions should trigger escalation with owner, impact, and recovery plan. Here the evidence instead concerns soc shift handover: Effective handover must preserve scope, evidence, current actions, blockers, and owners. The corrective action limits unnecessary changes to unaffected systems.
C:Document a long-term replacement plan and interim least-privilege isolation. It belongs to a different proprietary system dependency case where A proprietary legacy controller requires an obsolete operating system and cannot be changed without a factory qualification test. That situation concerns A platform dependency is a remediation inhibitor requiring alternate controls and explicit risk decisions. Here the evidence instead concerns soc shift handover: Effective handover must preserve scope, evidence, current actions, blockers, and owners. The corrective action limits unnecessary changes to unaffected systems.
D:Correct the report disposition while retaining the evidence and review date. It belongs to a different false-positive report labeling case where A monthly vulnerability report counts a confirmed backported patch false positive as an unremediated critical exposure. That situation concerns Validated scanner false positives must be distinguished from genuine open findings. Here the evidence instead concerns soc shift handover: Effective handover must preserve scope, evidence, current actions, blockers, and owners. The corrective action limits unnecessary changes to unaffected systems.