Interview › Security & DevSecOps
What is an SBOM, and how do you generate and use one? [Intermediate]
Answer
An SBOM, or Software Bill of Materials, is an inventory of the components inside software: packages, versions, suppliers, hashes, and relationships. I generate SBOMs during build and use them for vulnerability matching, license review, incident response, and supply-chain evidence.
Technical explanation
SBOMs make it faster to answer whether a product contains a vulnerable component after a new CVE is disclosed.
They should be tied to an immutable artifact digest so the inventory matches the exact build deployed.
SBOMs are most useful when stored, searchable, and linked with vulnerability intelligence and ownership data.
Hands-on example
Hands-on:
syft packages registry.example.com/checkout@sha256:abc -o cyclonedx-json > sbom.json
grype sbom:sbom.json
cosign attest --predicate sbom.json --type cyclonedx registry.example.com/checkout@sha256:abc
Then store the SBOM with the release record.
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 vulnerability management as a lifecycle (discover, prioritise, remediate, verify)? [Intermediate]
- How do you reduce the noise of thousands of vulnerability findings? [Intermediate]
- What is workload identity, and how does it remove static credentials? [Intermediate]
- What is the difference between a CVE, a CVSS score, and exploitability (EPSS/KEV)? [Basic]
- What is OPA, and what is the Rego language used for? [Intermediate]
- How would you use Wiz findings to drive remediation across teams? [Basic]
- What is a toxic combination (attack path) in Wiz, and why prioritise it? [Basic]
- What is the Wiz Security Graph, and why is context important for prioritisation? [Basic]