Question 220
During an application modernization project at Lakeview Insurance, engineers say that they resolved this finding: An automation script posts configuration updates to a firewall API without validating the HTTP response. Which result provides the STRONGEST acceptance evidence?
Explanation
Correct Answer
A simulated 401 or 500 response is reported as failure and a successful change is read back. This is the decisive evidence for the original problem: An automation script posts configuration updates to a firewall API without validating the HTTP response. It verifies that the intended corrective control—Check HTTP status, parse structured errors, and confirm device state after the request—works in the relevant environment; a completed change ticket alone would not prove the outcome at Lakeview Insurance.
Incorrect Answers
An integration test confirms read calls cannot mutate resources and a correct write is audited. This would be relevant evidence for a different failure: A security automation calls a REST endpoint with GET to perform a state change and ignores the documented API semantics, usually addressed by Use the documented HTTP method and schema and validate desired operation before execution. It does not demonstrate that the current problem at Lakeview Insurance was resolved. The specific required evidence is: A simulated 401 or 500 response is reported as failure and a successful change is read back.
The collected count matches the API's reported total without duplicate events. This would be relevant evidence for a different failure: A script calls a paginated security events endpoint once and silently omits later pages, usually addressed by Iterate documented pagination links or continuation tokens until the bounded result set is exhausted. It does not demonstrate that the current problem at Lakeview Insurance was resolved. The specific required evidence is: A simulated 401 or 500 response is reported as failure and a successful change is read back.
A schema-change test fails safely with a useful diagnostic rather than applying an incorrect policy. This would be relevant evidence for a different failure: An orchestration script receives JSON from a firewall API but assumes a field is always present and crashes, usually addressed by Validate response structure and handle missing fields and error codes explicitly. It does not demonstrate that the current problem at Lakeview Insurance was resolved. The specific required evidence is: A simulated 401 or 500 response is reported as failure and a successful change is read back.