Question 790
A repository includes secret-bearing .env files and CI logs expose the repository contents. Which long-term safeguard BEST reduces recurrence?
Explanation
Correct Answer
Enforce secret scanning and commit protections. This is the most directly relevant preventive control because a Git commit persists secrets beyond the intended live environment. A concrete acceptance check is: History scans and CI logs no longer contain active secrets after rotation. To reduce recurrence: Enforce secret scanning and commit protections.
Incorrect Answers
A stored transformation can fail when upstream column names or types drift. That consideration does not remove the current constraint: a Git commit persists secrets beyond the intended live environment.
Checkpoints preserve incremental progress and state across cluster changes. For the observed behavior, a Git commit persists secrets beyond the intended live environment.
Repair runs can reuse successful task outcomes instead of indiscriminately restarting all work. The controlling issue in this question is that a Git commit persists secrets beyond the intended live environment.