A financial services firm is rolling out a new release of its customer portal. The release includes updated third-party libraries and a modified container base image. Before promoting the build to production, the release manager must ensure the integrity and provenance of the artifacts. Which action best provides verifiable provenance and tamper detection for the container image?
Signing the image with a private key and publishing a verifiable attestation binds the artifact to a known builder identity and lets consumers detect any post-build modification. Recording build metadata such as source commit and builder details establishes provenance. Verifying with the public key before deployment ensures only trusted, unaltered images reach production, satisfying both integrity and provenance objectives.
Why this answer
Cryptographic signing of the container image, combined with an attestation of build metadata, delivers both provenance and tamper detection because consumers can verify the signature against a trusted public key before deployment. Access controls and vulnerability scans address adjacent risks but cannot prove that the artifact is unmodified or identify its origin, which is what the release gate requires.
Exam trap
The trap here is conflating access control or vulnerability scanning with artifact integrity, when only cryptographic verification of a signature and provenance metadata actually detects tampering and establishes origin.