The interview problem

Practice prompt

A deployment platform receives a signed container image. Explain what must be checked before allowing deployment.

Original practice, not a reported company interview. Scenarios and numbers are illustrative. Interview date: not applicable. Sources retrieved October 1, 2026.

1. Scope and worked approach

Assume immutable artifact digests and an approved signer policy. Verify the signature binds the exact digest, then validate signer identity, issuer and relevant certificate or key constraints. Check required provenance and freshness policy separately. Pin the verified digest in deployment so a mutable tag cannot change between verification and pull. Store the policy decision and evidence references for audit.

2. Trace the design or derivation

Resolve digest
  → verify signature
  → evaluate identity policy
  → validate provenance
  → deploy pinned digest

The exception path must be as auditable as the ordinary path. Record who approved a deviation, its exact digest and its expiration; avoid a global disable switch that silently applies to future releases. Reproducible evidence lets reviewers understand what was verified even after a tag or repository changes.

3. Calculate the example

Tag release points to digest A during verification but is moved to digest B before deployment. A valid signature on A says nothing about B. Deploying the pinned A digest closes that substitution race; merely recording the tag does not.

4. Failure cases and trade-offs

A cryptographically valid signature from an unapproved identity is insufficient. Signed malicious software remains malicious. Strict online checks can depend on unavailable services; a cached evidence policy needs expiry and revocation behavior. Verification proves bounded provenance claims, not universal code safety.

5. Validation, follow-ups and self-review

Test wrong digest, wrong issuer, expired evidence and tag movement. Follow-up: how should emergency releases satisfy policy? Self-review: distinguish integrity, signer authorization and software trustworthiness.

Sources and related practice

Technical reference: docs.sigstore.dev — Artifact signature verification and signer identity constraints.

Source publication/update: Not established. Retrieved October 1, 2026. The workflow, calculations and review exercises are original; this reference is not evidence that a company asked this question.

Continue with Design a container artifact registry; Find deployments affected by a dependency advisory.

Continue your preparation

Choose a connected learning path or browse more System design questions. Read our editorial method and attribution policy.