Question 110
In preparation for a security governance workshop, engineers supporting a local council IT team notice: A CI job restores an incompatible dependency cache after the project's lockfile changes. What ongoing guardrail best prevents recurrence?
Explanation
Correct Answer
The failure it prevents is: A broad cache key ignores changes that affect dependency contents.
Incorrect Answers
The proposed routine targets Branch filtered push. At a local council IT team, recurrence is more directly prevented by: Include cache-key reviews in dependency management changes.
This safeguard protects a different workflow involving YAML anchor reuse; the actual root cause requires: Include cache-key reviews in dependency management changes.
The proposed routine targets Job needs dependency. At a local council IT team, recurrence is more directly prevented by: Include cache-key reviews in dependency management changes.



GitHub Actions (GH-200) Practice Tests