Question 470
During an operational security assessment at a public-sector technology agency, the team documents this issue: A packaging step consumes yesterday's artifact because the current build was still running. The affected delivery process supports citizen applications and reusable infrastructure; accountability and service availability depend on controlled delivery. Which TWO responses form a sound implementation-and-verification pair for this issue? (Select TWO.)
Explanation
Correct Answers
Correct corrective action. Define explicit job dependencies and stage conditions so tests, packaging and deployment execute only in the intended order. The action targets the recorded failure (A packaging step consumes yesterday's artifact because the current build was still running), and is intended to reduce the corresponding risk: Jobs may race to use unavailable artifacts or deploy despite failed prerequisite checks when dependency edges are missing.
Correct verification. A failed test job blocks the dependent production job, while independent lint and build tasks run concurrently. The measurement or controlled test provides evidence for the issue (A packaging step consumes yesterday's artifact because the current build was still running) and complements the selected corrective action rather than simply repeating a recommendation.
Incorrect Answers
Use explicit branch and path trigger filters with tested PR triggers so only relevant changes run the intended pipeline actions. It is not the complementary risk control for pipeline job dependencies and needs graph.
The same digest moves from a green build through staging to a protected production environment with recorded approval. This does not supply the required pipeline job dependencies and needs graph action-and-control pair.
Centralize versioned YAML templates for mandatory security and build steps, and require tested template adoption for dependent pipelines. The pipeline job dependencies and needs graph implementation and safeguard are still missing.