Question 500
Original unofficial Cisco 350-201 CBRCOR v1.2 cybersecurity operations scenario: A log-enrichment script loops over alerts but returns from inside the loop after the first IOC. Which continuing control best reduces recurrence of this problem?
Explanation
Correct Answer
For this scenario, the observed situation is: A log-enrichment script loops over alerts but returns from inside the loop after the first IOC. The most directly supported response is: Move return outside the collection loop and accumulate validated results. Technical basis: Control flow and indentation determine when Python loops terminate. Evidence of success: A test with several indicators returns all expected enriched records. Ongoing protection: Add multi-record tests to automation code reviews.
Incorrect Answers
This routine guards against another mechanism: Security automation must prevent sensitive credential leakage through its own telemetry. The recurring exposure in the current case is: Control flow and indentation determine when Python loops terminate. The matching preventive check is “Add multi-record tests to automation code reviews”.
That safeguard is relevant to: Distributed workflow retries may repeat side effects unless action state is tracked. The current failure instead follows from: Control flow and indentation determine when Python loops terminate. Its prevention measure is “Add multi-record tests to automation code reviews”.
This routine guards against another mechanism: HTTP headers carry protocol metadata distinct from resource content. The recurring exposure in the current case is: Control flow and indentation determine when Python loops terminate. The matching preventive check is “Add multi-record tests to automation code reviews”.