Question 60
A client-side framework reads an attacker-controlled URL fragment and inserts it as HTML. What XSS variant is plausible?
- Investigate reflected cross-site scripting in the response
- Investigate stored cross-site scripting in persisted content
- Assess DOM-based cross-site scripting in browser code
- Require the Secure attribute for session cookies
- Deploy a restrictive tested Content Security Policy
Explanation
Correct Answer
C:DOM XSS can arise entirely in client-side sinks even when server responses are unchanged. Safe DOM APIs and context-aware encoding are important.
Incorrect Answers
A:Reflected XSS occurs when untrusted request input is returned without safe contextual encoding; here the immediate decision turns on client-side rendering of unsafe URL-derived content, not the separate objective served by this response.
B:Untrusted content saved by the application can execute in subsequent visitors' browsers; it leaves the stated requirement—client-side rendering of unsafe URL-derived content—unresolved, even though it can help in another response stage.
D:Secure instructs compliant browsers to send the cookie over protected HTTPS connections; the scenario asks for client-side rendering of unsafe URL-derived content. This alternative does not provide that particular investigation or containment result.
E:CSP can constrain script sources and execution behavior; it can support an adjacent task, but it does not satisfy the scenario’s core need for client-side rendering of unsafe URL-derived content.
Question 61
An EC2 instance made unexpected outbound connections, and investigators need source and destination metadata. What AWS log source is relevant?
- Review resource configuration history using AWS Config where enabled
- Review Amazon VPC Flow Logs for affected interfaces
- Analyze GuardDuty threat-detection findings and their supporting context
- Examine AWS CloudTrail management events
- Secure root access and investigate root-level changes urgently
Explanation
Correct Answer
B:VPC Flow Logs describe IP traffic flows at supported network interfaces. They do not capture the full packet payload or every application-level action.
Incorrect Answers
A:AWS Config can record supported resource configuration changes and compliance context; it leaves the stated requirement—network-flow evidence from AWS virtual networking—unresolved, even though it can help in another response stage.
C:GuardDuty identifies potentially malicious behavior using supported AWS telemetry and intelligence; the scenario asks for network-flow evidence from AWS virtual networking. This alternative does not provide that particular investigation or containment result.
D:CloudTrail records many AWS API activities with principal, time, and request context; it can support an adjacent task, but it does not satisfy the scenario’s core need for network-flow evidence from AWS virtual networking.
E:Root access has unusually broad authority and warrants immediate credential and MFA review; by itself, it cannot deliver network-flow evidence from AWS virtual networking, which is the decision point distinguished by the available evidence.
Question 62
A printer audit shows a sudden spike in confidential document output by a single employee. What investigative step is useful?
- Treat timing as one risk indicator requiring corroboration
- Assess access outside the employee's normal authorization purpose
- Investigate anomalous bulk access with business and HR context
- Minimize personal-data inputs and document legitimate monitoring purposes
- Correlate print jobs with document labels and approvals
Explanation
Correct Answer
E:Print records can connect documents, times, and users to physical disclosure opportunities. They do not prove the destination of the paper copies.
Incorrect Answers
A:Off-hours access may be legitimate for global teams or deadlines; for the described evidence and constraints, contextual review of unusual sensitive printing must be achieved first; this pursues a different result.
B:Anomalous resource selection may reveal inappropriate access even with valid credentials; the scenario asks for contextual review of unusual sensitive printing. This alternative does not provide that particular investigation or containment result.
C:Unusual download volume can signal exfiltration but may reflect legitimate handoff work; it can support an adjacent task, but it does not satisfy the scenario’s core need for contextual review of unusual sensitive printing.
D:Proportional monitoring reduces privacy and fairness risks; by itself, it cannot deliver contextual review of unusual sensitive printing, which is the decision point distinguished by the available evidence.
Question 63
An analyst suspects software execution through a path no longer present and seeks application compatibility evidence. What Windows artifact may be relevant?
- Review Windows Security authentication events such as event 4624
- Inspect systemd unit files and their executable paths
- Inspect available Prefetch artifacts with interpretation limits
- Examine Amcache metadata alongside other execution evidence
- Review Windows SRUM data where available
Explanation
Correct Answer
D:Amcache can contain file and program metadata useful for historical analysis. Its presence does not automatically prove that every referenced file ran.
Incorrect Answers
A:Successful logon events can record account and logon type details if auditing is enabled; the scenario asks for historical Windows application metadata for investigation. This alternative does not provide that particular investigation or containment result.
B:Unit definitions govern service startup and execution settings; it can support an adjacent task, but it does not satisfy the scenario’s core need for historical Windows application metadata for investigation.
C:Prefetch can indicate program execution and associated paths on supported systems; by itself, it cannot deliver historical Windows application metadata for investigation, which is the decision point distinguished by the available evidence.
E:SRUM can provide application and network resource usage information on supported systems; that is separate from historical Windows application metadata for investigation, so it would leave the responder without the required control or evidence.
Question 64
Customers are receiving inconsistent descriptions of a service breach from different engineers. What coordination measure is appropriate?
- Assign a dedicated incident scribe
- Run a scenario-based tabletop with decision owners
- Appoint an incident commander with decision authority
- Route external messaging through an approved communications lead
- Involve legal counsel and authorized HR leadership
Explanation
Correct Answer
D:A designated spokesperson can reconcile verified facts and notification approvals. Consistent controlled messaging prevents speculation and avoids releasing sensitive investigative details.
Incorrect Answers
A:A designated recorder maintains a defensible chronology of actions and reasons; that is separate from approved and consistent external incident messaging, so it would leave the responder without the required control or evidence.
B:A tabletop makes people rehearse escalation, authority, and business trade-offs without disrupting live systems; because the case hinges on approved and consistent external incident messaging, this option would be an incomplete or mistimed response.
C:A named incident lead resolves competing objectives and maintains a single operational picture; this action does not meet approved and consistent external incident messaging under the circumstances specified in the question.
E:Counsel and HR can determine lawful scope, preservation duties, and employee-process safeguards; here the immediate decision turns on approved and consistent external incident messaging, not the separate objective served by this response.
Question 65
A sealed evidence package arrives with visible damage to the tamper tape. What response best protects the investigation?
- Document the seal condition and escalate the discrepancy
- Record a cryptographic hash of the acquired image
- Assign unique evidence identifiers and labels
- Create a dated chain-of-custody record with each handoff
- Use an order-of-volatility plan suited to the device
Explanation
Correct Answer
A:A broken or altered seal is a custody anomaly that requires contemporaneous recording. Ignoring it would conceal information relevant to authenticity and handling quality.
Incorrect Answers
B:A suitable hash supports repeatable integrity comparisons of digital evidence; this action does not meet transparent handling of a damaged evidence seal under the circumstances specified in the question.
C:Unique identifiers link each physical item to photographs, notes, and acquisition records; the case requires transparent handling of a damaged evidence seal; that distinct outcome is not produced by this measure alone.
D:Custody records establish possession, timing, purpose, and receiving parties; here the immediate decision turns on transparent handling of a damaged evidence seal, not the separate objective served by this response.
E:Collection order should prioritize artifacts that will disappear soonest while respecting safety and authorization; it leaves the stated requirement—transparent handling of a damaged evidence seal—unresolved, even though it can help in another response stage.
Question 66
A worm outbreak ends after patching, but the team needs to know why monitoring detected it late. What review is appropriate?
- Investigate autonomous worm-like propagation
- Search for additional compromised nodes and independent propagation chains
- Create behavior-based rules for the persistence sequence
- Examine service inventory and detection coverage gaps
- Restrict lateral reachability to the vulnerable service
Explanation
Correct Answer
D:A post-incident gap analysis compares vulnerable exposure with sensor placement and alerting. It improves readiness rather than assuming patching alone solved every process weakness.
Incorrect Answers
A:Worms can move through vulnerable services or network paths without each victim's direct user action; this action does not meet explanation of delayed worm outbreak detection under the circumstances specified in the question.
B:A spreading worm may establish several secondary sources; the case requires explanation of delayed worm outbreak detection; that distinct outcome is not produced by this measure alone.
C:Behavioral detection focuses on attacker effects rather than fixed file bytes; here the immediate decision turns on explanation of delayed worm outbreak detection, not the separate objective served by this response.
E:Temporary segmentation interrupts cross-segment propagation; for the described evidence and constraints, explanation of delayed worm outbreak detection must be achieved first; this pursues a different result.
Question 67
A security engineer wants reports showing which services send mail using the organization's domain. Which feature supports this discovery?
- Publish an appropriate SPF policy for authorized mail servers
- Review DMARC aggregate reports from receiving domains
- Use DKIM signing and validate its signature
- Publish a DMARC policy with domain alignment rules
- Require dual approval and independent confirmation for account changes
Explanation
Correct Answer
B:Aggregate reports summarize authentication and alignment outcomes by sending source. They help identify legitimate third-party senders and spoofing patterns before stricter enforcement.
Incorrect Answers
A:SPF associates sending IPs with the envelope domain using DNS records; the case requires visibility into domain-level mail authentication results; that distinct outcome is not produced by this measure alone.
C:DKIM verifies signed message components with a public key published in DNS; it leaves the stated requirement—visibility into domain-level mail authentication results—unresolved, even though it can help in another response stage.
D:DMARC evaluates aligned SPF or DKIM authentication and publishes requested disposition and reporting preferences; for the described evidence and constraints, visibility into domain-level mail authentication results must be achieved first; this pursues a different result.
E:A second authorized approver and a trusted verification channel create separation of duties; the scenario asks for visibility into domain-level mail authentication results. This alternative does not provide that particular investigation or containment result.
Question 68
A detection engineer wants to identify rare east-west flows across the enterprise rather than just signatures. What analysis capability helps?
- Apply a narrowly scoped firewall deny rule
- Investigate potential lateral movement through remote access
- Use an inline intrusion prevention policy
- Use network detection and response behavior analytics
- Deploy network intrusion detection in a monitoring position
Explanation
Correct Answer
D:NDR can find anomalous communication patterns and support investigation of lateral movement. Its models still need environment baselines and contextual validation.
Incorrect Answers
A:Firewall policy can restrict defined sources, destinations, and services; here the immediate decision turns on behavioral detection of unusual internal network paths, not the separate objective served by this response.
B:Sequential administrative connections can reflect attacker progression after credential theft; it leaves the stated requirement—behavioral detection of unusual internal network paths—unresolved, even though it can help in another response stage.
C:An IPS can drop or reset matching traffic when placed on the forwarding path; for the described evidence and constraints, behavioral detection of unusual internal network paths must be achieved first; this pursues a different result.
E:An IDS observes traffic and reports suspicious patterns without directly blocking a flow; it can support an adjacent task, but it does not satisfy the scenario’s core need for behavioral detection of unusual internal network paths.
Question 69
An application must reduce the ability of injected inline scripts to run while developers fix an XSS flaw. What browser policy can provide defense in depth?
- Regenerate the session identifier upon authentication
- Assess DOM-based cross-site scripting in browser code
- Deploy a restrictive tested Content Security Policy
- Investigate stored cross-site scripting in persisted content
- Investigate reflected cross-site scripting in the response
Explanation
Correct Answer
C:CSP can constrain script sources and execution behavior. It is not a substitute for fixing unsafe rendering paths and must be tuned for the application.
Incorrect Answers
A:Rotating the ID at privilege transition reduces the value of attacker-planted pre-login identifiers; it leaves the stated requirement—restriction of unintended browser script execution—unresolved, even though it can help in another response stage.
B:DOM XSS can arise entirely in client-side sinks even when server responses are unchanged; for the described evidence and constraints, restriction of unintended browser script execution must be achieved first; this pursues a different result.
D:Untrusted content saved by the application can execute in subsequent visitors' browsers; it can support an adjacent task, but it does not satisfy the scenario’s core need for restriction of unintended browser script execution.
E:Reflected XSS occurs when untrusted request input is returned without safe contextual encoding; by itself, it cannot deliver restriction of unintended browser script execution, which is the decision point distinguished by the available evidence.
Question 70
An AWS account's S3 bucket policy was changed unexpectedly, and the team needs to compare it with an approved state. What record helps?
- Review Amazon VPC Flow Logs for affected interfaces
- Narrow the instance role policy to required resources and actions
- Review resource configuration history using AWS Config where enabled
- Examine AWS CloudTrail management events
- Analyze GuardDuty threat-detection findings and their supporting context
Explanation
Correct Answer
C:AWS Config can record supported resource configuration changes and compliance context. It complements CloudTrail attribution by showing configuration state over time.
Incorrect Answers
A:VPC Flow Logs describe IP traffic flows at supported network interfaces; for the described evidence and constraints, history of a cloud resource's security configuration must be achieved first; this pursues a different result.
B:Role policies define which AWS APIs and secrets a workload may access; the scenario asks for history of a cloud resource's security configuration. This alternative does not provide that particular investigation or containment result.
D:CloudTrail records many AWS API activities with principal, time, and request context; by itself, it cannot deliver history of a cloud resource's security configuration, which is the decision point distinguished by the available evidence.
E:GuardDuty identifies potentially malicious behavior using supported AWS telemetry and intelligence; the stated observations instead call for history of a cloud resource's security configuration; using this approach would address a different failure mode.