Question 520
During an operational security assessment at a public-sector technology agency, the team documents this issue: Cache cleanup purges an artifact needed for an authorized rollback. The affected delivery process supports citizen applications and reusable infrastructure; accountability and service availability depend on controlled delivery. Select TWO: one corrective action and one test that confirms its effectiveness. (Select TWO.)
Explanation
Correct Answers
Correct corrective action. Configure dependency caches keyed by immutable lockfile and toolchain inputs while using signed or hashed artifacts for promoted release outputs. The action targets the recorded failure (Cache cleanup purges an artifact needed for an authorized rollback), and is intended to reduce the corresponding risk: Overbroad cache reuse can serve stale dependencies and confuse cache optimization with release artifact integrity.
Correct verification. A changed dependency lockfile causes a cache miss and subsequent builds reproduce the expected package checksum. The measurement or controlled test provides evidence for the issue (Cache cleanup purges an artifact needed for an authorized rollback) and complements the selected corrective action rather than simply repeating a recommendation.
Incorrect Answers
The same digest moves from a green build through staging to a protected production environment with recorded approval. The pipeline caching and artifact identity implementation and safeguard are still missing.
Centralize versioned YAML templates for mandatory security and build steps, and require tested template adoption for dependent pipelines. It is not the complementary risk control for pipeline caching and artifact identity.
Use explicit branch and path trigger filters with tested PR triggers so only relevant changes run the intended pipeline actions. The two-part pipeline caching and artifact identity control remains unsatisfied.