InterviewStack.io LogoInterviewStack.io

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.

MediumTechnical
74 practiced

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.

EasyTechnical
89 practiced

In the context of CI/CD, explain the difference between 'secrets' and general configuration values. Provide concrete examples of each, describe why secrets require special handling, and list three practical controls you would apply in a pipeline to protect secrets from accidental exposure.

MediumTechnical
69 practiced

Describe the common ways secrets accidentally end up in Git history or CI artifacts. For each leakage vector, provide two concrete preventive controls you would implement (tooling, process, or policy) to stop that class of leak.

MediumTechnical
88 practiced

In Python 3, sketch pseudocode for a CI/CD pipeline step that retrieves a per-build ephemeral secret from a Vault-compatible API, uses it to decrypt build artifacts in-memory, and ensures the secret is never written to logs or persisted to disk. Include comments explaining integration points, error handling, and safe cleanup.

MediumSystem Design
91 practiced

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.

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 Continue

Join thousands of developers preparing for their dream job.