Question 750
Before granting routine access again, the team reviews this case: An application accepts any HTTP method on its administrative routes even though only GET and POST are needed. What must the response owner validate as part of safe recovery?
- Use explicit route-method allowlists and automated negative tests
- Install a trusted staging certificate and validate production trust configuration
- Update router configuration and verify authorized methods still work
- Reject unapproved methods at the application or gateway
Explanation
Correct Answer
C:Recovery should align implementation with intended API contract; the recovery decision is tied to whether excess methods expose unintended functionality, not merely to reduced alert volume.
Incorrect Answers
A:Least functionality reduces attack surface; when judging whether excess methods expose unintended functionality, future hardening is not current-state recovery; this is instead recurrence prevention.
B:Correct trust repair avoids an insecure global workaround; the relevant condition for that step is whether client connections authenticate the remote service, which is not shown for whether excess methods expose unintended functionality.
D:Method constraints reduce exposed operations immediately; the goal is trusted restoration for whether excess methods expose unintended functionality. Temporary protection does not complete correction.
Question 751
After technical restoration, responders document the weakness exposed by: A server renders a user-supplied template and leaks environment values when special template expressions are submitted. Which long-term control would reduce exposure to this specific pattern?
- Use sandboxed or data-only templates and review leaked configuration
- Compare submitted template syntax with rendered output and application exceptions
- Require secure query construction and automated injection testing
- Restrict template features and test untrusted rendering inputs
Explanation
Correct Answer
D:Data separation prevents expression execution; the control owner can test whether this reduces repeat conditions affecting whether server-side template injection exposes secrets.
Incorrect Answers
A:Recovery must treat environment secrets as possibly compromised; for whether server-side template injection exposes secrets, case recovery is not future-risk control; recurrence prevention remains necessary.
B:Unexpected evaluation of expressions indicates an unsafe template engine context; the requirement concerns whether server-side template injection exposes secrets, so an investigation is not recurrence prevention.
C:Preventive development controls reduce recurrence; it is meant to address whether SQL injection reached an unsafe query path, not recurrence prevention for whether server-side template injection exposes secrets.
Question 752
The incident is not yet closed. Response staff report: The incident runbook gives a WAF administrator broad production database privileges to investigate suspicious traffic. Which short-term measure protects the affected process or asset?
- Start protected log export while maintaining application availability
- Restrict the emergency role to approved security actions with auditing
- Compare assigned privileges with each planned WAF and database investigation action
- Delegate any needed data investigation to scoped database specialists
Explanation
Correct Answer
B:Least privilege reduces errors and abuse during high-pressure response; it protects the affected workflow while investigators continue resolving whether response roles respect separation of duties.
Incorrect Answers
A:Early off-host preservation protects volatile transaction evidence; it is meant to address whether web incident readiness includes sufficient evidence, not initial containment or preservation for whether response roles respect separation of duties.
C:Edge filtering rarely requires blanket database administration rights; the requirement concerns whether response roles respect separation of duties, so investigation alone does not control current conditions.
D:Role separation enables evidence collection without excessive permissions; the goal is initial containment or preservation for whether response roles respect separation of duties. Corrective follow-through follows initial protection.
Question 753
The team requires traceable proof for an event described as follows: A reverse proxy trusts an unverified X-Forwarded-For header and attackers bypass source-IP access rules. What should be correlated to determine whether the case finding is justified?
- Test reverse-proxy trust boundaries in configuration reviews
- Compare raw proxy connection address with forwarded header and trust configuration
- Stop trusting unapproved forwarded headers and restrict sensitive routes
- Compare backend order totals with server-side catalog price computations
Explanation
Correct Answer
B:Client-supplied headers are not authoritative unless set by trusted intermediaries; this evidence is scoped to whether client IP spoofing defeats application access control, not a generic system-health reading.
Incorrect Answers
A:Header provenance matters to access-control decisions; when judging whether client IP spoofing defeats application access control, prevention is not incident verification; this is instead recurrence prevention.
C:Containment restores actual network identity as the access basis; the requirement concerns whether client IP spoofing defeats application access control, so immediate protection does not substantiate findings.
D:Manipulated client fields can bypass intended purchase validation; the other incident centers on whether business logic trusts client-calculated pricing, not this evidence validation question about whether client IP spoofing defeats application access control.
Question 754
The incident is resolved, but its root weakness still requires policy attention: A compromised web service account has permission to modify unrelated databases in the same cluster. What durable process or monitoring change would make a repeat less likely?
- Reissue a scoped credential and review unauthorized changes across accessible schemas
- Revoke unnecessary grants and rotate the exposed application secret
- Audit effective database grants and service account query history
- Sign release artifacts and enforce pipeline approvals and integrity checks
- Separate application identities and grant only required database operations
Explanation
Correct Answer
E:Service isolation reduces lateral effects; a periodic review of this safeguard can track the risk described by whether excessive backend privilege expands attack impact.
Incorrect Answers
A:Remediation needs both entitlement correction and breach scoping; case recovery is not future-risk control in the decision about whether excessive backend privilege expands attack impact.
B:Least-privilege containment limits additional queries; the case needs recurrence prevention addressing whether excessive backend privilege expands attack impact; one-time protection is not durable prevention.
C:Cross-database privileges let a web compromise move beyond its own data; when judging whether excessive backend privilege expands attack impact, an investigation is not recurrence prevention; this is instead evidence validation.
D:Software supply-chain controls reduce unauthorized publication; this serves whether a build artifact was compromised, whereas the requested result is recurrence prevention involving whether excessive backend privilege expands attack impact.
Question 755
The incident owner requests a defensible factual determination after hearing: A web team cannot roll back an emergency code fix because database migrations are irreversible. What fact-checking activity tests the observed failure most directly?
- Design reversible migrations and validate backups before high-risk deployments
- Pause further migrations and preserve database state before emergency remediation
- Compare assigned privileges with each planned WAF and database investigation action
- Review deployment artifacts, migration scripts and restore test evidence
Explanation
Correct Answer
D:A code rollback alone may be unsafe after schema or data changes; it makes the determination of whether recovery procedures cover schema changes defensible and reviewable by the incident owner.
Incorrect Answers
A:Release engineering improves incident recovery options; prevention is not incident verification in the decision about whether recovery procedures cover schema changes.
B:Capturing state protects against compounding corruption; the case needs evidence validation addressing whether recovery procedures cover schema changes; immediate protection does not substantiate findings.
C:Edge filtering rarely requires blanket database administration rights; this serves whether response roles respect separation of duties, whereas the requested result is evidence validation involving whether recovery procedures cover schema changes.
Question 756
A triage analyst needs to test a report involving these details: A clean application instance is deployed while a compromised database credential remains stored in configuration backups. Which evidence collection or correlation is most relevant to this claim?
- Rotate secrets in deployments, backup templates and dependent services
- Use centralized secret management with rotation and inventory
- Check deployed and archived secret versions against the exposure timeline
- Compare API audit activity with token issue times and incident scope
- Block the exposed secret at the database and stop deployments that reuse it
Explanation
Correct Answer
C:Reusing a stolen credential can immediately reenable access to a rebuilt application; the review should retain source and timing information relevant to whether restoration inherited a compromised secret.
Incorrect Answers
A:Sustainable recovery eliminates stale secret references; the goal is evidence validation for whether restoration inherited a compromised secret. Recovery is not factual verification.
B:A managed lifecycle prevents forgotten copies from reintroducing compromise; prevention is not incident verification in the decision about whether restoration inherited a compromised secret.
D:Restored files do not invalidate externally usable credentials; it is meant to address whether restored service credentials remain compromised, not evidence validation for whether restoration inherited a compromised secret.
E:Containment targets the shared authentication path; for whether restoration inherited a compromised secret, immediate protection does not substantiate findings; evidence validation remains necessary.
Question 757
The owner must verify the return to a trusted state for the following: A development team disables TLS certificate verification in a payment integration to avoid a staging certificate error. What corrective work is needed before routine operations resume?
- Test certificate validation and pinning policies where appropriate in CI
- Restore certificate checks and pause unsafe payment calls
- Update router configuration and verify authorized methods still work
- Install a trusted staging certificate and validate production trust configuration
Explanation
Correct Answer
D:Correct trust repair avoids an insecure global workaround; technical closure should demonstrate that the control gap behind whether client connections authenticate the remote service is actually corrected.
Incorrect Answers
A:Transport verification should not be bypassed to fix compatibility; the requirement concerns whether client connections authenticate the remote service, so future hardening is not current-state recovery.
B:Authenticated transport is necessary before sensitive transaction exchange; the goal is trusted restoration for whether client connections authenticate the remote service. Temporary protection does not complete correction.
C:Recovery should align implementation with intended API contract; the activity targets whether excess methods expose unintended functionality; trusted restoration here concerns whether client connections authenticate the remote service.
Question 758
The incident is resolved, but its root weakness still requires policy attention: An application accepts any HTTP method on its administrative routes even though only GET and POST are needed. What durable process or monitoring change would make a repeat less likely?
- Update router configuration and verify authorized methods still work
- Test allowed verbs and handler behavior against the route specification
- Use explicit route-method allowlists and automated negative tests
- Review browser security policy exceptions and test each release
Explanation
Correct Answer
C:Least functionality reduces attack surface; its effectiveness can be exercised against the warning conditions associated with whether excess methods expose unintended functionality.
Incorrect Answers
A:Recovery should align implementation with intended API contract; case recovery is not future-risk control in the decision about whether excess methods expose unintended functionality.
B:Unexpected methods can reach unreviewed code paths or change server behavior; the case needs recurrence prevention addressing whether excess methods expose unintended functionality; an investigation is not recurrence prevention.
D:Narrow allowances reduce future abuse; it is meant to address whether broad browser-policy relaxation created exposure, not recurrence prevention for whether excess methods expose unintended functionality.
Question 759
A tabletop exercise is being updated using the following real-world failure: A user profile field reflects unescaped script markup and browsers execute it when other users view the profile. Which improvement should be tracked through the next control-assurance cycle?
- Use secure templating and CSP as defense in depth
- Compare stored profile content with rendered DOM and browser execution evidence
- Apply context-aware output encoding and assess impacted sessions
- Restrict template features and test untrusted rendering inputs
Explanation
Correct Answer
A:Code-level output controls are primary; browser policy provides additional limits; it closes a repeatable gap revealed by whether stored cross-site scripting occurs without removing useful monitoring.
Incorrect Answers
B:Persistent malicious markup can execute in other users' sessions; an investigation is not recurrence prevention in the decision about whether stored cross-site scripting occurs.
C:Encoding at the output context addresses the underlying flaw; the case needs recurrence prevention addressing whether stored cross-site scripting occurs; case recovery is not future-risk control.
D:Data separation prevents expression execution; it is meant to address whether server-side template injection exposes secrets, not recurrence prevention for whether stored cross-site scripting occurs.
Question 760
The team has retained the initial evidence and is assessing recovery from: Developers suppress security headers globally to resolve a single embedded-widget compatibility issue. What restoration task closes the identified integrity or control gap?
- Restore protective defaults and permit only reviewed widget origins
- Review browser security policy exceptions and test each release
- Refactor the integration and validate required behavior under safe headers
- Inspect CSP, iframe and mixed-content behavior on affected routes
- Move archives to restricted storage and rotate any exposed secrets
Explanation
Correct Answer
C:Compatibility should not depend on removing every browser defense; this goes beyond temporary protection and addresses the failure identified through whether broad browser-policy relaxation created exposure.
Incorrect Answers
A:A scoped rule limits unintended execution and framing; the goal is trusted restoration for whether broad browser-policy relaxation created exposure. Temporary protection does not complete correction.
B:Narrow allowances reduce future abuse; future hardening is not current-state recovery in the decision about whether broad browser-policy relaxation created exposure.
D:Removing all headers increases attack surface beyond the one integration; when judging whether broad browser-policy relaxation created exposure, verification is not the corrective step; this is instead evidence validation.
E:Recovery must account for content already obtainable; this serves whether sensitive files are retrievable without authentication, whereas the requested result is trusted restoration involving whether broad browser-policy relaxation created exposure.