Explain SLSA and how you would raise a pipeline's level.
AdvancedScenarioSecrets, Supply Chain and DORA
Answer
Situation read → Supply-chain maturity framework.
What I'd do →
- Build in a hosted, scripted, ephemeral environment (Build L1-L2) and generate provenance.
- Use a hardened builder where provenance is signed by the platform, not the user-controlled build (Build L3), for example GitHub's
attest-build-provenanceorslsa-github-generator. - Verify provenance before deploy.
Why → Provenance proves what source and builder produced an artifact.
Interview tip → The key point is that signing keys should not be accessible to build steps.
More on Secrets, Supply Chain and DORA
A developer committed an AWS key to a public repo. Walk through your response.BeginnerHow do you stop secrets from being committed in the first place?IntermediateThe pipeline needs access to 15 different secrets across environments. How do you manage them?IntermediateHow do you verify only signed images run in Kubernetes?AdvancedA popular npm package your build uses is reported as compromised. What do you do?AdvancedDependency update PRs pile up. How do you keep dependencies fresh without chaos?Intermediate