CompTIA CS0-004 Practice Test 37
Question 360
A control owner must reduce risk from this issue: A Terraform plan provisions public object storage although an old console screenshot shows the bucket as private. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Classify FIM as detective and add preventive permissions where policy requires them.
- Escalate the expired exception for remediation or renewed documented approval.
- Set private access in the reviewed IaC definition and enforce pipeline policy.
- Apply urgent vetted mitigation or patch with targeted compensating controls.
Explanation
Correct Answer
C:Set private access in the reviewed IaC definition and enforce pipeline policy. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: IaC source and planned state may expose risks hidden by legacy point-in-time screenshots. The reported evidence is: A Terraform plan provisions public object storage although an old console screenshot shows the bucket as private. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Classify FIM as detective and add preventive permissions where policy requires them. It belongs to a different control function differentiation case where A SOC adds file-integrity monitoring to detect unauthorized changes but describes it as preventing all modifications. That situation concerns Monitoring is primarily detective unless paired with enforcement mechanisms. Here the evidence instead concerns checkov iac finding: IaC source and planned state may expose risks hidden by legacy point-in-time screenshots. The corrective action limits unnecessary changes to unaffected systems.
B:Escalate the expired exception for remediation or renewed documented approval. It belongs to a different risk acceptance expiration case where A temporary vulnerability exception granted during a migration remains open months after its expiration. That situation concerns Risk acceptance requires defined authority, expiration, rationale, and periodic review. Here the evidence instead concerns checkov iac finding: IaC source and planned state may expose risks hidden by legacy point-in-time screenshots. The corrective action limits unnecessary changes to unaffected systems.
D:Apply urgent vetted mitigation or patch with targeted compensating controls. It belongs to a different high epss exploited service case where A moderately rated vulnerability affects an internet-facing authentication service and has high EPSS and active exploitation evidence. That situation concerns Likely near-term exploitation and reachable business-critical service can outweigh static severity ranking. Here the evidence instead concerns checkov iac finding: IaC source and planned state may expose risks hidden by legacy point-in-time screenshots. The corrective action limits unnecessary changes to unaffected systems.
Question 361
Before restoring service, the following risk must be addressed: A new cloud workload serves requests but its security event stream is absent from the central SIEM. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Derive validated indicators and block the identified payload delivery paths.
- Disable the specific unauthorized access port under change control and collect the device.
- Quarantine a byte-for-byte confirmed malicious file without blocking the legitimate product name.
- Enable the approved audit trail and route it to the protected central collector.
Explanation
Correct Answer
D:Enable the approved audit trail and route it to the protected central collector. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Audit ingestion was never enabled or routed for the new workload. The reported evidence is: A new cloud workload serves requests but its security event stream is absent from the central SIEM. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Derive validated indicators and block the identified payload delivery paths. It belongs to a different sandbox detonation case where A suspicious email attachment creates a scheduled task and contacts a domain only when executed in an isolated sandbox. That situation concerns Dynamic detonation can reveal behaviors not evident from a static file hash. Here the evidence instead concerns missing audit logs: Audit ingestion was never enabled or routed for the new workload. The corrective action limits unnecessary changes to unaffected systems.
B:Disable the specific unauthorized access port under change control and collect the device. It belongs to a different rogue wireless device case where A conference-floor switch port learns a new access-point MAC that is broadcasting an unauthorized employee-like SSID. That situation concerns An unapproved wireless bridge may expose internal network access. Here the evidence instead concerns missing audit logs: Audit ingestion was never enabled or routed for the new workload. The corrective action limits unnecessary changes to unaffected systems.
C:Quarantine a byte-for-byte confirmed malicious file without blocking the legitimate product name. It belongs to a different threat intel hash hit case where VirusTotal reports a malicious hash for a file that shares a name with a critical signed enterprise utility. That situation concerns Hash-specific reputation must be tied to the actual bytes and local execution context. Here the evidence instead concerns missing audit logs: Audit ingestion was never enabled or routed for the new workload. The corrective action limits unnecessary changes to unaffected systems.
Question 362
During an authorized response window, this condition is observed: A SOAR workflow automatically isolates every host matching a single low-fidelity DNS indicator. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Require risk-based approval or corroborating evidence before destructive isolation.
- Quarantine suspect labels and retrain only from validated approved training records.
- Revoke the unauthorized privilege and rotate the compromised identity if indicated.
- Restore sanctioned SASE traffic steering for the relevant destinations and users.
Explanation
Correct Answer
A:Require risk-based approval or corroborating evidence before destructive isolation. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Unreviewed automation from low-confidence alerts risks high operational impact. The reported evidence is: A SOAR workflow automatically isolates every host matching a single low-fidelity DNS indicator. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
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 soar containment approval: Unreviewed automation from low-confidence alerts risks high operational impact. The corrective action limits unnecessary changes to unaffected systems.
C:Revoke the unauthorized privilege and rotate the compromised identity if indicated. It belongs to a different unexpected administrator grant case where A service account is added to a local administrators group by a nonapproved remote-management process. That situation concerns An unexplained privilege grant suggests potential elevation or unauthorized change. Here the evidence instead concerns soar containment approval: Unreviewed automation from low-confidence alerts risks high operational impact. The corrective action limits unnecessary changes to unaffected systems.
D:Restore sanctioned SASE traffic steering for the relevant destinations and users. It belongs to a different sase inspection bypass case where Remote employees route web traffic directly to the internet after a client update, bypassing the approved cloud security inspection path. That situation concerns A split-tunnel or client policy bypass has removed intended secure access controls. Here the evidence instead concerns soar containment approval: Unreviewed automation from low-confidence alerts risks high operational impact. The corrective action limits unnecessary changes to unaffected systems.
Question 363
Before restoring service, the following risk must be addressed: A newly deployed YARA signature matches many clean PDF documents because it uses a common header string. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Correct the reviewed IaC definition and apply through the controlled pipeline.
- Expire or downgrade obsolete indicators unless local evidence confirms present risk.
- Add distinctive verified combinations or context requirements to the rule.
- Contain the validated destination and preserve transfer evidence while investigating account misuse.
Explanation
Correct Answer
C:Add distinctive verified combinations or context requirements to the rule. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Low-specificity signature conditions can generate broad false positives. The reported evidence is: A newly deployed YARA signature matches many clean PDF documents because it uses a common header string. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Correct the reviewed IaC definition and apply through the controlled pipeline. It belongs to a different iac configuration drift case where A cloud storage firewall is manually opened and nightly infrastructure deployment restores the previous unsafe rule. That situation concerns Undeclared manual changes can diverge from infrastructure-as-code desired state. Here the evidence instead concerns yara rule precision: Low-specificity signature conditions can generate broad false positives. The corrective action limits unnecessary changes to unaffected systems.
B: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 yara rule precision: Low-specificity signature conditions can generate broad false positives. The corrective action limits unnecessary changes to unaffected systems.
D:Contain the validated destination and preserve transfer evidence while investigating account misuse. It belongs to a different unusual outbound transfer case where A file server sends a large TLS upload to a previously unseen external address immediately after a privileged login. That situation concerns Uncharacteristic outbound data movement raises a possible exfiltration signal. Here the evidence instead concerns yara rule precision: Low-specificity signature conditions can generate broad false positives. The corrective action limits unnecessary changes to unaffected systems.
Question 364
Before restoring service, the following risk must be addressed: An incident is marked closed when systems are back online but the compromised vendor access workflow remains unchanged. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Conduct a documented after-action review with owners and corrective deadlines.
- Record observed delivery and attempted execution as separate stages in the incident narrative.
- Document authorized handlers, timestamps, purpose, seals, and transfers.
- Redirect confirmed malicious domain requests to a monitored sinkhole under approved policy.
Explanation
Correct Answer
A:Conduct a documented after-action review with owners and corrective deadlines. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Restoring service without addressing systemic failure invites recurrence. The reported evidence is: An incident is marked closed when systems are back online but the compromised vendor access workflow remains unchanged. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
B:Record observed delivery and attempted execution as separate stages in the incident narrative. It belongs to a different kill chain delivery case where A phishing payload reaches a user mailbox but is stopped before any malicious execution, and an analyst labels it successful exploitation. That situation concerns The Cyber Kill Chain distinguishes delivery from later exploitation and installation phases. Here the evidence instead concerns post-incident learning: Restoring service without addressing systemic failure invites recurrence. The corrective action limits unnecessary changes to unaffected systems.
C:Document authorized handlers, timestamps, purpose, seals, and transfers. It belongs to a different chain-of-custody handoff case where A confiscated laptop changes hands three times without transfer timestamps or signatures. That situation concerns Unrecorded custody transfers undermine evidence accountability. Here the evidence instead concerns post-incident learning: Restoring service without addressing systemic failure invites recurrence. The corrective action limits unnecessary changes to unaffected systems.
D:Redirect confirmed malicious domain requests to a monitored sinkhole under approved policy. It belongs to a different dns sinkhole containment case where Multiple infected workstations attempt to resolve a known malicious control domain during business hours. That situation concerns A sinkhole can help contain and measure known malicious callbacks without blocking all DNS. Here the evidence instead concerns post-incident learning: Restoring service without addressing systemic failure invites recurrence. The corrective action limits unnecessary changes to unaffected systems.
Question 365
An incident commander requests a targeted change for this case: A suspicious email attachment creates a scheduled task and contacts a domain only when executed in an isolated sandbox. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Limit the suspicious source and investigate the initiating process and identity.
- Require risk-based approval or corroborating evidence before destructive isolation.
- Revoke the unauthorized privilege and rotate the compromised identity if indicated.
- Derive validated indicators and block the identified payload delivery paths.
Explanation
Correct Answer
D:Derive validated indicators and block the identified payload delivery paths. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Dynamic detonation can reveal behaviors not evident from a static file hash. The reported evidence is: A suspicious email attachment creates a scheduled task and contacts a domain only when executed in an isolated sandbox. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Limit the suspicious source and investigate the initiating process and identity. It belongs to a different network enumeration case where A user workstation attempts TCP connections to hundreds of server addresses on ports 22 and 3389 within one minute. That situation concerns High-cardinality port attempts suggest internal service discovery or scanning. Here the evidence instead concerns sandbox detonation: Dynamic detonation can reveal behaviors not evident from a static file hash. The corrective action limits unnecessary changes to unaffected systems.
B:Require risk-based approval or corroborating evidence before destructive isolation. It belongs to a different soar containment approval case where A SOAR workflow automatically isolates every host matching a single low-fidelity DNS indicator. That situation concerns Unreviewed automation from low-confidence alerts risks high operational impact. Here the evidence instead concerns sandbox detonation: Dynamic detonation can reveal behaviors not evident from a static file hash. The corrective action limits unnecessary changes to unaffected systems.
C:Revoke the unauthorized privilege and rotate the compromised identity if indicated. It belongs to a different unexpected administrator grant case where A service account is added to a local administrators group by a nonapproved remote-management process. That situation concerns An unexplained privilege grant suggests potential elevation or unauthorized change. Here the evidence instead concerns sandbox detonation: Dynamic detonation can reveal behaviors not evident from a static file hash. The corrective action limits unnecessary changes to unaffected systems.
Question 366
An incident commander requests a targeted change for this case: An identity provider shows two successful sign-ins from distant regions three minutes apart with different device fingerprints. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Revoke and rotate the token, remove exposure, and move credentials into a managed secret store.
- Separate untrusted event content from instructions and enforce external authorization on tools.
- Revoke the suspicious session and require reauthentication after validating compromise.
- Replace intrusive probing with passive monitoring or vendor-approved scheduled checks.
Explanation
Correct Answer
C:Revoke the suspicious session and require reauthentication after validating compromise. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Geographically incompatible sign-ins may indicate stolen sessions, proxies, or credential abuse. The reported evidence is: An identity provider shows two successful sign-ins from distant regions three minutes apart with different device fingerprints. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Revoke and rotate the token, remove exposure, and move credentials into a managed secret store. It belongs to a different secrets in repository case where A build service token appears in a public commit and automated scanners observe it before the commit is deleted. That situation concerns A committed secret remains compromised even if the repository history is edited. Here the evidence instead concerns impossible travel alert: Geographically incompatible sign-ins may indicate stolen sessions, proxies, or credential abuse. The corrective action limits unnecessary changes to unaffected systems.
B:Separate untrusted event content from instructions and enforce external authorization on tools. It belongs to a different prompt injection in alert case where A malicious log message contains instructions telling an AI triage system to export internal incident notes. That situation concerns Security event text is lower-trust evidence, not operational instructions for an assistant. Here the evidence instead concerns impossible travel alert: Geographically incompatible sign-ins may indicate stolen sessions, proxies, or credential abuse. The corrective action limits unnecessary changes to unaffected systems.
D:Replace intrusive probing with passive monitoring or vendor-approved scheduled checks. It belongs to a different industrial controller safety case where An OT monitoring probe causes periodic controller latency on a production line with strict timing tolerances. That situation concerns Uncoordinated active security checks can disrupt latency-sensitive industrial controllers. Here the evidence instead concerns impossible travel alert: Geographically incompatible sign-ins may indicate stolen sessions, proxies, or credential abuse. The corrective action limits unnecessary changes to unaffected systems.
Question 367
An incident commander requests a targeted change for this case: A critical SaaS vendor refuses to describe incident notification duties in its contract or provide evidence of control testing. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Limit scan rate and partition the approved scope by site and maintenance window.
- Require risk-based contract controls and compensating safeguards before onboarding.
- Reduce scan concurrency and move intrusive tests into agreed low-impact windows.
- Conduct approved external discovery against known internet-facing assets.
Explanation
Correct Answer
B:Require risk-based contract controls and compensating safeguards before onboarding. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Supplier risk includes contractual response obligations and assurance evidence. The reported evidence is: A critical SaaS vendor refuses to describe incident notification duties in its contract or provide evidence of control testing. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Limit scan rate and partition the approved scope by site and maintenance window. It belongs to a different masscan rate safety case where A discovery operator starts high-rate Masscan across remote branches and monitoring reports link saturation. That situation concerns High packet-rate port discovery can disrupt links and distort monitoring. Here the evidence instead concerns third-party security diligence: Supplier risk includes contractual response obligations and assurance evidence. The corrective action limits unnecessary changes to unaffected systems.
C:Reduce scan concurrency and move intrusive tests into agreed low-impact windows. It belongs to a different scanning maintenance schedule case where A production payment service experiences latency each time a high-concurrency authenticated scan starts. That situation concerns Scanner concurrency and timing can disrupt performance-sensitive services. Here the evidence instead concerns third-party security diligence: Supplier risk includes contractual response obligations and assurance evidence. The corrective action limits unnecessary changes to unaffected systems.
D:Conduct approved external discovery against known internet-facing assets. It belongs to a different external attack surface case where Internal scanning reports a hardened web host, but an internet-facing load balancer exposes an old public service. That situation concerns Internal-only scan vantage may miss the externally reachable attack surface. Here the evidence instead concerns third-party security diligence: Supplier risk includes contractual response obligations and assurance evidence. The corrective action limits unnecessary changes to unaffected systems.
Question 368
During an authorized response window, this condition is observed: A code scan finds SQL query strings built by concatenating untrusted web request parameters before deployment. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Restore approved scanner access and rerun affected authenticated checks.
- Restore approved assessment visibility using a local agent or scoped path.
- Prioritize the exposed identity service while scheduling isolated host remediation.
- Replace concatenated SQL with parameterized queries and regression tests.
Explanation
Correct Answer
D:Replace concatenated SQL with parameterized queries and regression tests. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Static analysis can reveal unsafe data flow without executing the application. The reported evidence is: A code scan finds SQL query strings built by concatenating untrusted web request parameters before deployment. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Restore approved scanner access and rerun affected authenticated checks. It belongs to a different nessus authentication failure case where A report shows dozens of missing local patches on servers, while scan logs reveal credential failure across the same hosts. That situation concerns Scanner authentication failure can produce incomplete results rather than verified local patch states. Here the evidence instead concerns sast source finding: Static analysis can reveal unsafe data flow without executing the application. The corrective action limits unnecessary changes to unaffected systems.
B:Restore approved assessment visibility using a local agent or scoped path. It belongs to a different scanner false negative case where A network scan shows no vulnerabilities on an inaccessible subnet but firewall logs show every scan request denied. That situation concerns Lack of scan reachability is not evidence of patched or secure targets. Here the evidence instead concerns sast source finding: Static analysis can reveal unsafe data flow without executing the application. The corrective action limits unnecessary changes to unaffected systems.
C:Prioritize the exposed identity service while scheduling isolated host remediation. It belongs to a different critical asset exception case where Two hosts share the same CVE; one is a high-value identity service and the other an isolated nonproduction test node. That situation concerns Business criticality and attacker reachability determine different priorities for identical CVEs. Here the evidence instead concerns sast source finding: Static analysis can reveal unsafe data flow without executing the application. The corrective action limits unnecessary changes to unaffected systems.
Question 369
During an authorized response window, this condition is observed: A web server shows suspicious POST requests followed by a new script file in a writable upload directory. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Remove persistence and malicious artifacts, rotate affected credentials, and correct entry vector.
- Disable the malicious script and repair the upload execution path after preserving evidence.
- Notify the security incident lead and legal/privacy decision makers through approved channels.
- Report observed behavior and tentative attribution separately with confidence qualifiers.
Explanation
Correct Answer
B:Disable the malicious script and repair the upload execution path after preserving evidence. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: A dropped server-side script with command execution can indicate web-shell persistence. The reported evidence is: A web server shows suspicious POST requests followed by a new script file in a writable upload directory. 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 web shell evidence: A dropped server-side script with command execution can indicate web-shell persistence. The corrective action limits unnecessary changes to unaffected systems.
C:Notify the security incident lead and legal/privacy decision makers through approved channels. It belongs to a different escalation authority case where An analyst detects a suspected theft of regulated personal data but notifies only the local help desk. That situation concerns Privacy-sensitive incidents may require prompt specialized escalation and documented legal assessment. Here the evidence instead concerns web shell evidence: A dropped server-side script with command execution can indicate web-shell persistence. The corrective action limits unnecessary changes to unaffected systems.
D:Report observed behavior and tentative attribution separately with confidence qualifiers. It belongs to a different attribution confidence case where A ransom note claims a famous group name but collected malware and infrastructure do not match prior reporting. That situation concerns Self-declared attacker identity is unreliable without corroborating evidence. Here the evidence instead concerns web shell evidence: A dropped server-side script with command execution can indicate web-shell persistence. The corrective action limits unnecessary changes to unaffected systems.
Question 370
An incident commander requests a targeted change for this case: A board asks whether cyber exposure is improving, but the current report lists thousands of CVE identifiers without business context. Which focused action most directly reduces the documented risk without unnecessary disruption?
- Publish an internal intelligence brief with relevant coverage gaps and owners.
- Identify supported systemic causes and differentiate them from immediate indicators.
- Escalate to the incident commander and declare the appropriate severity under policy.
- Publish a concise risk scorecard with material decisions and unresolved exposure.
Explanation
Correct Answer
D:Publish a concise risk scorecard with material decisions and unresolved exposure. This addresses the task to select the targeted corrective or containment action in this case. The relevant technical principle is: Executive risk communication should aggregate exposure, trend, ownership, and decisions rather than raw scan output. The reported evidence is: A board asks whether cyber exposure is improving, but the current report lists thousands of CVE identifiers without business context. The corrective action limits unnecessary changes to unaffected systems.
Incorrect Answers
A:Publish an internal intelligence brief with relevant coverage gaps and owners. It belongs to a different internal threat intelligence report case where The SOC distributes an external threat newsletter without mapping any listed techniques to local systems or detections. That situation concerns Actionable internal intelligence should connect external reporting to local exposure and controls. Here the evidence instead concerns executive vulnerability summary: Executive risk communication should aggregate exposure, trend, ownership, and decisions rather than raw scan output. The corrective action limits unnecessary changes to unaffected systems.
B:Identify supported systemic causes and differentiate them from immediate indicators. It belongs to a different root cause versus trigger case where A database outage followed a malicious credential use, and the report labels an individual login IP as the root cause. That situation concerns An observable trigger does not by itself explain the underlying access-control failure. Here the evidence instead concerns executive vulnerability summary: Executive risk communication should aggregate exposure, trend, ownership, and decisions rather than raw scan output. The corrective action limits unnecessary changes to unaffected systems.
C:Escalate to the incident commander and declare the appropriate severity under policy. It belongs to a different incident severity declaration case where A SOC analyst detects authenticated access to regulated data from an unknown source but leaves the case as low-priority informational alert. That situation concerns Incident declaration criteria should reflect verified exposure and business impact. Here the evidence instead concerns executive vulnerability summary: Executive risk communication should aggregate exposure, trend, ownership, and decisions rather than raw scan output. The corrective action limits unnecessary changes to unaffected systems.