Interview › Security & DevSecOps
How do you verify the provenance of a build artifact? [Intermediate]
Answer
To verify artifact provenance, I check the artifact digest, the signed provenance attestation, the builder identity, source repository, commit SHA, workflow identity, build parameters, and whether the attestation was issued by a trusted CI system. Then I enforce those checks in promotion or admission policy.
Technical explanation
Provenance should answer where, when, how, and from which source the artifact was built.
Verification should use immutable digests and trusted identities, not tags or untrusted metadata.
Policies should reject artifacts built from unprotected branches, unknown builders, missing provenance, or mismatched source repositories.
Hands-on example
Example: verify that image digest sha256:abc was built by GitHub Actions workflow release.yml from org/checkout at commit 1234 on a protected tag. If the provenance source or builder identity does not match policy, block promotion to production.
Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.
More Security & DevSecOps interview questions
- What is workload identity, and how does it remove static credentials? [Intermediate]
- What is OPA, and what is the Rego language used for? [Intermediate]
- What is vulnerability management as a lifecycle (discover, prioritise, remediate, verify)? [Intermediate]
- How do you reduce the noise of thousands of vulnerability findings? [Intermediate]
- How do you apply least privilege to service-to-service communication (e.g., with Istio mTLS)? [Intermediate]
- What is secrets management, and how does HashiCorp Vault work at a high level? [Intermediate]
- What is the difference between a CVE, a CVSS score, and exploitability (EPSS/KEV)? [Basic]
- How would you use Wiz findings to drive remediation across teams? [Basic]