Question 730
A responder is tasked with limiting immediate impact after this report: Developers suppress security headers globally to resolve a single embedded-widget compatibility issue. The first response plan must document the reported condition AND limit near-term harm. Select TWO case-specific steps. (Choose TWO.)
- Use explicit route-method allowlists and automated negative tests
- Restore protective defaults and permit only reviewed widget origins
- Inspect CSP, iframe and mixed-content behavior on affected routes
- Refactor the integration and validate required behavior under safe headers
- Review browser security policy exceptions and test each release
Explanation
Correct Answers
B:A scoped rule limits unintended execution and framing; within the combined response for whether broad browser-policy relaxation created exposure, this supplies initial containment or preservation: the scope of this restriction follows whether broad browser-policy relaxation created exposure rather than indiscriminately changing unrelated assets.
C:Removing all headers increases attack surface beyond the one integration; within the combined response for whether broad browser-policy relaxation created exposure, this supplies evidence validation: it connects the question of whether broad browser-policy relaxation created exposure to an observable record and a reproducible check.
Incorrect Answers
A:Least functionality reduces attack surface; that method could help with whether excess methods expose unintended functionality; the initial containment or preservation decision here involves whether broad browser-policy relaxation created exposure.
D:Compatibility should not depend on removing every browser defense; for whether broad browser-policy relaxation created exposure, corrective follow-through follows initial protection; initial containment or preservation remains necessary.
E:Narrow allowances reduce future abuse; the requirement concerns whether broad browser-policy relaxation created exposure, so prevention cannot replace immediate action.
Question 731
A triage analyst needs to test a report involving these details: The incident runbook gives a WAF administrator broad production database privileges to investigate suspicious traffic. Which evidence collection or correlation is most relevant to this claim?
- Compare assigned privileges with each planned WAF and database investigation action
- Review deployment artifacts, migration scripts and restore test evidence
- Restrict the emergency role to approved security actions with auditing
- Maintain time-bound break-glass roles with tested approval workflows
Explanation
Correct Answer
A:Edge filtering rarely requires blanket database administration rights; that evidence directly tests the concern about whether response roles respect separation of duties, rather than relying on a single unverified indicator.
Incorrect Answers
B:A code rollback alone may be unsafe after schema or data changes; this serves whether recovery procedures cover schema changes, whereas the requested result is evidence validation involving whether response roles respect separation of duties.
C:Least privilege reduces errors and abuse during high-pressure response; the case needs evidence validation addressing whether response roles respect separation of duties; immediate protection does not substantiate findings.
D:Prepared access balances speed with control; when judging whether response roles respect separation of duties, prevention is not incident verification; this is instead recurrence prevention.
Question 732
The first task is to corroborate an alert. The case notes state: A user can supply a URL causing the backend to fetch a cloud instance metadata endpoint. What should the investigator examine to distinguish a substantiated finding from an assumption?
- Constrain server egress and test URL-fetch functionality for SSRF
- Correlate application outbound requests with input URLs and metadata access logs
- Compare submitted template syntax with rendered output and application exceptions
- Block metadata and internal-address access from the vulnerable fetch component
Explanation
Correct Answer
B:User-directed server fetches can reach addresses inaccessible to clients; this permits a traceable finding about whether server-side request forgery reaches internal services before the team makes a disruptive change.
Incorrect Answers
A:Network boundaries reduce the consequences of parsing mistakes; the requirement concerns whether server-side request forgery reaches internal services, so prevention is not incident verification.
C:Unexpected evaluation of expressions indicates an unsafe template engine context; the relevant condition for that step is whether server-side template injection exposes secrets, which is not shown for whether server-side request forgery reaches internal services.
D:Egress restriction limits secret retrieval while the defect is repaired; the case needs evidence validation addressing whether server-side request forgery reaches internal services; immediate protection does not substantiate findings.
Question 733
The incident is resolved, but its root weakness still requires policy attention: A support link includes a query parameter that redirects browsers to an untrusted external payment site. What durable process or monitoring change would make a repeat less likely?
- Allowlist file types, verify content and use non-executable object storage
- Replace generic redirect handling with validated internal route mappings
- Trace the redirect chain and inspect the server's destination validation
- Test redirect parameters and enforce destination allowlists in development
Explanation
Correct Answer
D:Input validation reduces phishing via trusted URLs; it makes the lesson about whether an open redirect is being abused part of normal operations.
Incorrect Answers
A:Layered upload validation reduces abuse; the other incident centers on whether unrestricted upload permits remote execution, not this recurrence prevention question about whether an open redirect is being abused.
B:A secure implementation avoids arbitrary attacker destinations; the case needs recurrence prevention addressing whether an open redirect is being abused; case recovery is not future-risk control.
C:An attacker-controlled URL parameter may send users beyond the trusted origin; when judging whether an open redirect is being abused, an investigation is not recurrence prevention; this is instead evidence validation.
Question 734
After technical restoration, responders document the weakness exposed by: A web team cannot roll back an emergency code fix because database migrations are irreversible. Which long-term control would reduce exposure to this specific pattern?
- Maintain time-bound break-glass roles with tested approval workflows
- Design reversible migrations and validate backups before high-risk deployments
- Review deployment artifacts, migration scripts and restore test evidence
- Use tested forward-fix or compatible restore procedures with application owners
Explanation
Correct Answer
B:Release engineering improves incident recovery options; this turns the weakness behind whether recovery procedures cover schema changes into a measurable prevention requirement.
Incorrect Answers
A:Prepared access balances speed with control; the other incident centers on whether response roles respect separation of duties, not this recurrence prevention question about whether recovery procedures cover schema changes.
C:A code rollback alone may be unsafe after schema or data changes; the goal is recurrence prevention for whether recovery procedures cover schema changes. An investigation is not recurrence prevention.
D:Recovery must preserve data consistency across versions; case recovery is not future-risk control in the decision about whether recovery procedures cover schema changes.
Question 735
An improvement plan must address recurrence after this case: A content-management plug-in is confirmed exploited but the host still runs the old plug-in version after a restart. What should the owner add to the normal control review to reduce recurrence?
- Inventory third-party components and apply risk-based update management
- Install a verified fixed plug-in and inspect content changes and accounts
- Disable execution in upload storage and monitor new executable files
- Inspect active plug-in version, loaded code and related persistence artifacts
Explanation
Correct Answer
A:Maintained dependencies reduce known plug-in exploitation; its effectiveness can be exercised against the warning conditions associated with whether restart removed the exploitable component.
Incorrect Answers
B:Recovery requires vulnerability removal and compromise review; the case needs recurrence prevention addressing whether restart removed the exploitable component; case recovery is not future-risk control.
C:Architecture should separate untrusted files from executable code; that method could help with whether uploaded code provided persistent remote access; the recurrence prevention decision here involves whether restart removed the exploitable component.
D:Restarting does not patch vulnerable software or undo malicious additions; for whether restart removed the exploitable component, an investigation is not recurrence prevention; recurrence prevention remains necessary.
Question 736
While full remediation remains pending, the commander receives this incident report: A WAF rule blocks a known exploit pattern but an attacker reaches the vulnerable endpoint using an alternate encoding. The current decision requires two different outcomes: evidence-based verification AND initial protection, without treating cleanup as complete. Which TWO measures provide those outcomes? (Choose TWO.)
- Patch the underlying vulnerability and verify alternate encodings fail
- Use normalized request inspection and secure coding tests
- Add tested canonicalization and emergency endpoint controls
- Compare decoded application inputs with WAF normalization and rule hits
- Reissue a scoped credential and review unauthorized changes across accessible schemas
Explanation
Correct Answers
C:Mitigation must match how the application decodes input; within the combined response for whether signature matching misses equivalent payloads, this supplies initial containment or preservation: this reduces current exposure associated with whether signature matching misses equivalent payloads and permits later corrective work.
D:Different encodings can bypass filters if the backend interprets them differently; within the combined response for whether signature matching misses equivalent payloads, this supplies evidence validation: for this investigation, the relevant uncertainty is whether signature matching misses equivalent payloads, so independent confirmation matters.
Incorrect Answers
A:Code-level remediation reduces dependence on fragile signatures; when judging whether signature matching misses equivalent payloads, corrective follow-through follows initial protection; this is instead trusted restoration.
B:Defense in depth should not assume a single WAF regex is sufficient; for whether signature matching misses equivalent payloads, prevention cannot replace immediate action; initial containment or preservation remains necessary.
E:Remediation needs both entitlement correction and breach scoping; that method could help with whether excessive backend privilege expands attack impact; the initial containment or preservation decision here involves whether signature matching misses equivalent payloads.
Question 737
Post-containment analysis identified this issue for correction: A user profile field reflects unescaped script markup and browsers execute it when other users view the profile. Which remediation is supported by the observed root-cause conditions?
- Use secure templating and CSP as defense in depth
- Remove malicious uploads and store future files outside executable document roots
- Apply context-aware output encoding and assess impacted sessions
- Disable affected rendering and sanitize the malicious stored payload carefully
Explanation
Correct Answer
C:Encoding at the output context addresses the underlying flaw; this goes beyond temporary protection and addresses the failure identified through whether stored cross-site scripting occurs.
Incorrect Answers
A:Code-level output controls are primary; browser policy provides additional limits; for whether stored cross-site scripting occurs, future hardening is not current-state recovery; trusted restoration remains necessary.
B:Safe storage breaks the upload-to-execution chain; that method could help with whether unrestricted upload permits remote execution; the trusted restoration decision here involves whether stored cross-site scripting occurs.
D:Containment removes immediate script execution without destroying evidence; temporary protection does not complete correction in the decision about whether stored cross-site scripting occurs.
Question 738
An evidence-led review starts with the following report: A deployment pipeline publishes a backdoored static JavaScript bundle to all customers. What investigation should establish the disputed activity and its timeline?
- Withdraw the affected bundle and stop pipeline promotions
- Compare artifact hashes, build provenance and release promotion records
- Sign release artifacts and enforce pipeline approvals and integrity checks
- Inspect web access logs, shell file timestamps and process ancestry
Explanation
Correct Answer
B:A tampered bundle can execute in customer browsers across many sessions; this evidence is scoped to whether a build artifact was compromised, not a generic system-health reading.
Incorrect Answers
A:Distribution containment limits additional exposure; when judging whether a build artifact was compromised, immediate protection does not substantiate findings; this is instead initial containment or preservation.
C:Software supply-chain controls reduce unauthorized publication; the requirement concerns whether a build artifact was compromised, so prevention is not incident verification.
D:Web requests connected to spawned commands support active shell usage; the activity targets whether uploaded code provided persistent remote access; evidence validation here concerns whether a build artifact was compromised.
Question 739
The incident is not yet closed. Response staff report: An XML processing endpoint unexpectedly reads a local server file after receiving an external entity declaration. The incident owner wants a corroborating check and a protective action before recovery begins. Which TWO choices fit these separate tasks? (Choose TWO.)
- Replace parser settings with secure defaults and assess accessed files
- Disable external entity resolution and restrict the parsing endpoint
- Use hardened XML libraries and regression tests for entity inputs
- Fix server-side session revocation and invalidate affected active sessions
- Inspect parser configuration and document content against file access events
Explanation
Correct Answers
B:Removing the parser feature stops additional data access; within the combined response for whether XML external entities are enabled, this supplies initial containment or preservation: it restricts the path implicated in whether XML external entities are enabled; later eradication and restoration remain separate decisions.
E:Unsafe entity expansion can read local files or access internal network resources; within the combined response for whether XML external entities are enabled, this supplies evidence validation: this evidence is scoped to whether XML external entities are enabled, not a generic system-health reading.
Incorrect Answers
A:Recovery includes both flaw remediation and exposure review; for whether XML external entities are enabled, corrective follow-through follows initial protection; initial containment or preservation remains necessary.
C:Safe parsing is stronger than ad hoc payload filtering; the goal is initial containment or preservation for whether XML external entities are enabled. Prevention cannot replace immediate action.
D:The application should reject tokens marked expired or revoked; it is meant to address whether session invalidation is ineffective, not initial containment or preservation for whether XML external entities are enabled.
Question 740
To avoid broad unnecessary disruption, responders consider this finding: Session identifiers remain valid after logout and can be replayed from a second browser. The current decision requires two different outcomes: evidence-based verification AND initial protection, without treating cleanup as complete. Which TWO measures provide those outcomes? (Choose TWO.)
- Implement server-verified CSRF tokens and review unauthorized changes
- Apply context-aware output encoding and assess impacted sessions
- Fix server-side session revocation and invalidate affected active sessions
- Test token use after server-side logout and inspect token revocation behavior
- Revoke exposed tokens and reduce session lifetimes while investigating
- Use secure session lifecycle tests in release pipelines
Explanation
Correct Answers
D:A visible logout does not guarantee the backend rejected the session; within the combined response for whether session invalidation is ineffective, this supplies evidence validation: that evidence directly tests the concern about whether session invalidation is ineffective, rather than relying on a single unverified indicator.
E:Invalidating active credentials limits session hijacking; within the combined response for whether session invalidation is ineffective, this supplies initial containment or preservation: the protective decision should be recorded and its effect tested against whether session invalidation is ineffective.
Incorrect Answers
A:Protection must be checked on the server for each sensitive action; that method could help with whether cross-site request forgery is possible; the initial containment or preservation decision here involves whether session invalidation is ineffective.
B:Encoding at the output context addresses the underlying flaw; the other incident centers on whether stored cross-site scripting occurs, not this initial containment or preservation question about whether session invalidation is ineffective.
C:The application should reject tokens marked expired or revoked; when judging whether session invalidation is ineffective, corrective follow-through follows initial protection; this is instead trusted restoration.
F:Session management should not rely only on browser cookie deletion; the goal is initial containment or preservation for whether session invalidation is ineffective. Prevention cannot replace immediate action.