The interview problem

Practice prompt

A dependency advisory arrives. Identify which deployed artifacts contain the affected component without confusing source manifests with what was actually shipped.

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 signed or authenticated artifact inventories with component identifiers, versions and dependency relationships. Ingest an SBOM tied to an immutable artifact digest, then join deployment records to that digest. Index components to artifacts and artifacts to environments. Preserve unresolved version ranges and missing inventory coverage; absence of evidence is not evidence of absence. Advisory matching is a candidate filter followed by validation of the affected conditions.

2. Trace the design or derivation

Ingest artifact manifest
  → resolve dependencies
  → join deployed digests
  → classify impact
  → request missing evidence

Use immutable artifact digests for deployment joins; a mutable image tag can point to different contents over time. Track the SBOM generator and coverage limits. A component version match identifies a candidate for investigation, while exploitability and runtime reachability may require additional evidence beyond the inventory graph.

3. Calculate the example

Suppose 400 deployments reference 80 artifact digests and an affected component appears in five digests used by 30 deployments. Rebuilding five artifacts may address 30 deployments, but all 30 still need rollout verification. If ten deployments lack inventories, a report of 30 affected must also show ten unknown rather than 370 confirmed safe.

4. Failure cases and trade-offs

A dependency declared in source may be removed during build, while a transitive binary may be added. Version normalization errors cause missed matches. Full graph storage supports investigation but adds ingestion cost; a flat package list is simpler and less explanatory.

5. Validation, follow-ups and self-review

Trace a known component from build to live deployment and test missing or stale inventories. Follow-up: how are patched-but-version-identical builds distinguished? Reward immutable artifact identity, unknown coverage and rollout verification.

Sources and related practice

Technical reference: cyclonedx.org — Component inventory and dependency representation; impact-query workflow is original.

Source publication/update: Specification release listed: October 21, 2025; page date 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 Deliver reproducible pilot evidence to a customer; Design a container artifact registry.

Continue your preparation

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