Question 700
The team needs temporary protection and must retain evidence. The observed event is: A support portal lets users modify the role field in their own profile update request and become administrators. What narrowly scoped action would best control the immediate risk?
- Disable the vulnerable endpoint or enforce emergency per-object checks
- Use an allowlist of editable fields and restore legitimate roles
- Compare accepted request fields with server-side authorization and model binding
- Disable role mutation on the vulnerable endpoint and review newly elevated accounts
Explanation
Correct Answer
D:Containment removes the direct privilege escalation path; it restricts the path implicated in whether mass assignment permits privilege escalation; later eradication and restoration remain separate decisions.
Incorrect Answers
A:Immediate access control stops further cross-account disclosure; the other incident centers on whether broken object-level authorization permits cross-account access, not this initial containment or preservation question about whether mass assignment permits privilege escalation.
B:Server-owned privilege attributes need independent authorization; the case needs initial containment or preservation addressing whether mass assignment permits privilege escalation; corrective follow-through follows initial protection.
C:Client-controlled fields must not be allowed to write protected roles; when judging whether mass assignment permits privilege escalation, investigation alone does not control current conditions; this is instead evidence validation.
Question 701
After technical restoration, responders document the weakness exposed by: A deployment pipeline publishes a backdoored static JavaScript bundle to all customers. Which long-term control would reduce exposure to this specific pattern?
- Separate application identities and grant only required database operations
- Sign release artifacts and enforce pipeline approvals and integrity checks
- Rebuild from trusted source with reviewed dependencies and rotate exposed keys
- Compare artifact hashes, build provenance and release promotion records
Explanation
Correct Answer
B:Software supply-chain controls reduce unauthorized publication; the control owner can test whether this reduces repeat conditions affecting whether a build artifact was compromised.
Incorrect Answers
A:Service isolation reduces lateral effects; that method could help with whether excessive backend privilege expands attack impact; the recurrence prevention decision here involves whether a build artifact was compromised.
C:A known-good release must not reuse tainted artifacts; the goal is recurrence prevention for whether a build artifact was compromised. Case recovery is not future-risk control.
D:A tampered bundle can execute in customer browsers across many sessions; an investigation is not recurrence prevention in the decision about whether a build artifact was compromised.
Question 702
The recurrence-prevention decision is based on this report: After a patch, an API endpoint returns correct data but its authorization tests now allow cross-tenant requests. What measure strengthens readiness against the observed event?
- Fix object authorization and restore service only after negative tests pass
- Automate security regression suites for high-risk access paths
- Run negative authorization tests with independent tenant identities
- Monitor high-risk administrative data changes with approval workflows
Explanation
Correct Answer
B:Continuous tests reduce security regressions during emergency patches; the ongoing control is targeted at whether regression testing covers security boundaries, rather than a one-time emergency fix.
Incorrect Answers
A:Correct recovery validates security requirements as well as function; the requirement concerns whether regression testing covers security boundaries, so case recovery is not future-risk control.
C:Functional success does not prove cross-tenant isolation remains intact; an investigation is not recurrence prevention in the decision about whether regression testing covers security boundaries.
D:Business integrity auditing catches malicious edits; the activity targets whether restored data has business integrity; recurrence prevention here concerns whether regression testing covers security boundaries.
Question 703
A post-incident audit examines the following failure mode: The incident runbook gives a WAF administrator broad production database privileges to investigate suspicious traffic. What recurring check or restriction would best address the weakness?
- Include telemetry retention in application release and response readiness checks
- Maintain time-bound break-glass roles with tested approval workflows
- Delegate any needed data investigation to scoped database specialists
- Compare assigned privileges with each planned WAF and database investigation action
Explanation
Correct Answer
B:Prepared access balances speed with control; this turns the weakness behind whether response roles respect separation of duties into a measurable prevention requirement.
Incorrect Answers
A:New services should not ship with invisible attack paths; that method could help with whether web incident readiness includes sufficient evidence; the recurrence prevention decision here involves whether response roles respect separation of duties.
C:Role separation enables evidence collection without excessive permissions; the goal is recurrence prevention for whether response roles respect separation of duties. Case recovery is not future-risk control.
D:Edge filtering rarely requires blanket database administration rights; an investigation is not recurrence prevention in the decision about whether response roles respect separation of duties.
Question 704
Before making any disruptive change, an investigator is handed these observations: A commerce site returns database syntax errors after crafted query parameters containing SQL metacharacters. Which source best supports the incident finding before responders modify the environment?
- Require secure query construction and automated injection testing
- Correlate HTTP parameters, SQL error detail and database statement audit
- Correlate crafted requests with application child-process creation and command logs
- Block the abusive request pattern while preserving application and database logs
Explanation
Correct Answer
B:Matching inputs and query behavior support a code injection hypothesis; for this investigation, the relevant uncertainty is whether SQL injection reached an unsafe query path, so independent confirmation matters.
Incorrect Answers
A:Preventive development controls reduce recurrence; the case needs evidence validation addressing whether SQL injection reached an unsafe query path; prevention is not incident verification.
C:A web parameter causing shell execution supports command injection; that method could help with whether OS command injection is occurring; the evidence validation decision here involves whether SQL injection reached an unsafe query path.
D:A targeted WAF rule limits exploitation while development remediates; the requirement concerns whether SQL injection reached an unsafe query path, so immediate protection does not substantiate findings.
Question 705
The initial scene or threat protection decision concerns the following: A retail application is back online but attackers altered product prices during the intrusion. How should responders limit the damage while retaining the investigation trail?
- Monitor high-risk administrative data changes with approval workflows
- Restrict order processing until affected price fields are reconciled
- Compare affected catalog records with approved price histories and audit logs
- Restore verified pricing and obtain merchant-owner validation
- Revoke and replace exposed API tokens before reopening access
Explanation
Correct Answer
B:Business containment prevents corrupted pricing from driving transactions; the protective decision should be recorded and its effect tested against whether restored data has business integrity.
Incorrect Answers
A:Business integrity auditing catches malicious edits; for whether restored data has business integrity, prevention cannot replace immediate action; initial containment or preservation remains necessary.
C:Availability does not show whether price data is trustworthy; the goal is initial containment or preservation for whether restored data has business integrity. Investigation alone does not control current conditions.
D:Recovery must correct attacker modifications, not just restore uptime; corrective follow-through follows initial protection in the decision about whether restored data has business integrity.
E:Identity containment closes the attacker's independent access path; the other incident centers on whether restored service credentials remain compromised, not this initial containment or preservation question about whether restored data has business integrity.
Question 706
Following initial stabilization, the team must prove recovery for this case: A clean application instance is deployed while a compromised database credential remains stored in configuration backups. Choose THREE actions that separately (1) verify the reported facts, (2) protect against immediate harm and (3) correct the underlying failure before service returns. (Choose THREE.)
- Automate security regression suites for high-risk access paths
- Use scoped short-lived credentials and secret-rotation procedures
- Rotate secrets in deployments, backup templates and dependent services
- Block the exposed secret at the database and stop deployments that reuse it
- Check deployed and archived secret versions against the exposure timeline
- Use centralized secret management with rotation and inventory
Explanation
Correct Answers
C:Sustainable recovery eliminates stale secret references; within the combined response for whether restoration inherited a compromised secret, this supplies trusted restoration: the change should be tested before unrestricted operations resume for the event involving whether restoration inherited a compromised secret.
D:Containment targets the shared authentication path; within the combined response for whether restoration inherited a compromised secret, this supplies initial containment or preservation: the protective decision should be recorded and its effect tested against whether restoration inherited a compromised secret.
E:Reusing a stolen credential can immediately reenable access to a rebuilt application; within the combined response for whether restoration inherited a compromised secret, this supplies evidence validation: that evidence directly tests the concern about whether restoration inherited a compromised secret, rather than relying on a single unverified indicator.
Incorrect Answers
A:Continuous tests reduce security regressions during emergency patches; the other incident centers on whether regression testing covers security boundaries, not this trusted restoration question about whether restoration inherited a compromised secret.
B:Controlled secrets reduce lasting impact from web compromises; the relevant condition for that step is whether restored service credentials remain compromised, which is not shown for whether restoration inherited a compromised secret.
F:A managed lifecycle prevents forgotten copies from reintroducing compromise; when judging whether restoration inherited a compromised secret, future hardening is not current-state recovery; this is instead recurrence prevention.
Question 707
While full remediation remains pending, the commander receives this incident report: A production application has no access-log retention beyond an hour, yet its incident playbook expects a week of request history. Which first protective measure directly limits the situation without assuming cleanup is finished?
- Increase scoped retention and exercise event retrieval for test incidents
- Start protected log export while maintaining application availability
- Review gateway, application and database audit retention against expected investigation windows
- Restrict the emergency role to approved security actions with auditing
Explanation
Correct Answer
B:Early off-host preservation protects volatile transaction evidence; the action limits the impact connected to whether web incident readiness includes sufficient evidence without assuming the underlying flaw is already gone.
Incorrect Answers
A:Readiness requires that investigators can actually obtain necessary logs; the case needs initial containment or preservation addressing whether web incident readiness includes sufficient evidence; corrective follow-through follows initial protection.
C:Short histories can erase intrusion traces before discovery; for whether web incident readiness includes sufficient evidence, investigation alone does not control current conditions; initial containment or preservation remains necessary.
D:Least privilege reduces errors and abuse during high-pressure response; the other incident centers on whether response roles respect separation of duties, not this initial containment or preservation question about whether web incident readiness includes sufficient evidence.
Question 708
The incident is resolved, but its root weakness still requires policy attention: An API logs full authorization tokens to a shared monitoring dashboard during troubleshooting. What durable process or monitoring change would make a repeat less likely?
- Exclude backups from web roots and scan builds for secret-bearing artifacts
- Inspect log fields, dashboard access lists and token validity
- Purge or protect historical token logs and revoke affected credentials
- Apply structured log redaction and secret scanning
- Stop logging secrets and restrict existing log access
Explanation
Correct Answer
D:Logging policy should preserve diagnostics without credentials; a periodic review of this safeguard can track the risk described by whether telemetry itself leaks credentials.
Incorrect Answers
A:Deployment checks prevent accidental publication; this serves whether sensitive files are retrievable without authentication, whereas the requested result is recurrence prevention involving whether telemetry itself leaks credentials.
B:Sensitive headers can become available to users beyond the token owner; the case needs recurrence prevention addressing whether telemetry itself leaks credentials; an investigation is not recurrence prevention.
C:Previous records may still contain usable authorization material; when judging whether telemetry itself leaks credentials, case recovery is not future-risk control; this is instead trusted restoration.
E:Limiting further collection and viewing reduces exposure; the requirement concerns whether telemetry itself leaks credentials, so one-time protection is not durable prevention.
Question 709
Before granting routine access again, the team reviews this case: A web upload endpoint accepts a script file that later executes inside the application's public directory. What must the response owner validate as part of safe recovery?
- Block executable uploads and disable script execution in the upload area
- Remove malicious uploads and store future files outside executable document roots
- Allowlist file types, verify content and use non-executable object storage
- Replace parser settings with secure defaults and assess accessed files
Explanation
Correct Answer
B:Safe storage breaks the upload-to-execution chain; the affected workflow should not be considered trusted until the issue of whether unrestricted upload permits remote execution is resolved.
Incorrect Answers
A:Containment prevents newly uploaded files from running; when judging whether unrestricted upload permits remote execution, temporary protection does not complete correction; this is instead initial containment or preservation.
C:Layered upload validation reduces abuse; the requirement concerns whether unrestricted upload permits remote execution, so future hardening is not current-state recovery.
D:Recovery includes both flaw remediation and exposure review; that method could help with whether XML external entities are enabled; the trusted restoration decision here involves whether unrestricted upload permits remote execution.
Question 710
Responders are preparing to reinstate operations after this situation: A reverse proxy trusts an unverified X-Forwarded-For header and attackers bypass source-IP access rules. What should be corrected before technical closure of the incident?
- Configure explicit trusted proxies and review affected privileged requests
- Stop trusting unapproved forwarded headers and restrict sensitive routes
- Recalculate price and discount server-side and reconcile impacted orders
- Test reverse-proxy trust boundaries in configuration reviews
Explanation
Correct Answer
A:Correct parsing requires known proxy topology and header stripping; the change should be tested before unrestricted operations resume for the event involving whether client IP spoofing defeats application access control.
Incorrect Answers
B:Containment restores actual network identity as the access basis; the requirement concerns whether client IP spoofing defeats application access control, so temporary protection does not complete correction.
C:Authoritative server checks repair transactional integrity; the other incident centers on whether business logic trusts client-calculated pricing, not this trusted restoration question about whether client IP spoofing defeats application access control.
D:Header provenance matters to access-control decisions; future hardening is not current-state recovery in the decision about whether client IP spoofing defeats application access control.