Secure Software Delivery: DevSecOps, Pipeline, and Supply Chain Security Questions
Embedding security into how software is built, assembled from dependencies, and shipped. Covers shift-left and secure-SDLC practices, infrastructure-as-code security, CI/CD pipeline and secrets management, integrating security scanning into build and deploy, and configuration and secret management across environments, together with software supply chain security: software composition analysis (SCA), dependency and open-source vulnerability management, build-provenance and artifact integrity, and mitigating supply-chain attack vectors. The 'secure the delivery pipeline and everything it pulls in' discipline, distinct from vendor-risk governance.
Explain how you would assess third-party dependencies and supply-chain risk for an application. Cover creation and use of an SBOM, static and dynamic SCA tools, version pinning, dependency update policies, and how to handle transitive dependencies or private packages in CI/CD.
Provide a sample CI/CD workflow (YAML or pseudocode) that enforces separation of duties: developers can build and push artifacts but cannot promote to production; release and deployment require an independent approver and only signed artifacts are promoted. Include artifact signing and verification and least-privilege runner identities.
Write a Python function that consumes a SARIF (Static Analysis Results Interchange Format) JSON file and returns a filtered SARIF JSON containing only results whose severity equals 'error' or 'high' and that are not suppressed by any id in a provided list of suppress-rule-ids. Preserve the 'runs' array and tool metadata. Include brief comments explaining key steps. (No need to handle streaming; focus on correct SARIF structure transformation.)
Write a short Open Policy Agent (Rego) policy that denies Terraform resources which create security-group-like constructs allowing inbound SSH (port 22) from 0.0.0.0/0. Provide the policy and explain where in the CI/CD pipeline it should run and how results should be reported back to developers for remediation.
What does 'shift-left security' mean in practice for a product engineering team, and what would you put on a prioritized 90-day checklist to introduce it while minimizing developer friction? Consider what a software engineer joining a team with ad hoc security practices should push for first.
Unlock Full Question Bank
Get access to all 24 Secure Software Delivery: DevSecOps, Pipeline, and Supply Chain Security interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.