Question 300
During an operational security assessment at a public-sector technology agency, the team documents this issue: A rebuild unexpectedly downloads a newer library because no package version was pinned. The affected delivery process supports citizen applications and reusable infrastructure; accountability and service availability depend on controlled delivery. Choose TWO statements that provide both the appropriate correction and a meaningful test of its success. (Select TWO.)
Explanation
Correct Answers
Correct corrective action. Publish temporary build outputs as pipeline artifacts and reusable versioned libraries to an appropriate package feed with separate retention policies. The action targets the recorded failure (A rebuild unexpectedly downloads a newer library because no package version was pinned), and is intended to reduce the corresponding risk: Treating ephemeral artifacts as durable dependencies leads to failed rebuilds after pipeline retention expires.
Correct verification. A deployed release retrieves retained build outputs while downstream projects restore their pinned versioned packages independently. The measurement or controlled test provides evidence for the issue (A rebuild unexpectedly downloads a newer library because no package version was pinned) and complements the selected corrective action rather than simply repeating a recommendation.
Incorrect Answers
Apply semantic versioning rules and automated release notes so breaking APIs, additive features and fixes are signaled by appropriate version increments. The paired controls concern pipeline artifacts versus package feeds, not that measure.
Two same-day builds have unambiguous, traceable versions and each maps to the source revision and pipeline that produced it. It is not the complementary risk control for pipeline artifacts versus package feeds.
Commit ecosystem lockfiles, authenticate feeds and enforce locked dependency restore in automated builds to control transitive package changes. This does not supply the required pipeline artifacts versus package feeds action-and-control pair.