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.
Walk through a threat modeling exercise for a CI/CD pipeline. Identify key assets, trust boundaries, likely attackers, and top threats (e.g., runner compromise, supply-chain poisoning). Propose mitigations for the top five threats and prioritize them by impact and effort.
Explain 'policy-as-code' in the CI/CD context. Provide a simple example rule (textual) that would prevent merges if a commit contains high-severity SCA findings or secrets, and name two tools that can enforce such rules in pipelines.
Define 'security gate' in a CI/CD context and explain the trade-offs between 'hard' gates (blocking merges/deploys) and 'soft' gates (warnings, automated tickets). When would you adopt each approach as a Security Architect, and how would you measure the impact on security posture and developer velocity?
Describe how to safely integrate DAST scans into CI/CD for services that rely on third-party APIs and internal-only endpoints. Include strategies to avoid flaky results from external partners, protect credentials used by DAST tools, and ensure DAST tests do not cause harmful side effects in production.
Explain what a Software Bill of Materials (SBOM) is and why it matters as a security control (not just an inventory), and how artifact signing (for example cosign/Sigstore) improves supply-chain trust. Sketch a short example workflow: build -> generate SBOM -> sign artifact -> publish to registry -> verify at deploy time. Where do SLSA levels and keyless (OIDC-backed) signing fit into this picture?
Unlock Full Question Bank
Get access to all 35 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.