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
83 practiced

A newly deployed SAST scanner is producing a high volume of findings, many of which appear to be false positives. Describe a systematic approach to triage and reduce the noise while preserving detection efficacy. Include automation, baseline creation, developer review flows, rule tuning, and how to validate that tuning hasn't removed true positives.

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
98 practiced

Write an OPA (Rego) policy snippet that enforces two Kubernetes admission rules: 1) container images must come from registries 'mycompany.registry/' or 'gcr.io/mycompany/', and 2) containers must not be allowed to run as root (either securityContext.runAsNonRoot == true or securityContext.runAsUser != 0). Include brief comments explaining your logic. (Assume input is the Kubernetes admission review JSON.)

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.

HardTechnical
69 practiced

Assess the pros and cons of automatically blocking PR merges for vulnerabilities above a CVSS threshold vs allowing merges and auto-creating prioritized remediation tickets. Consider developer productivity, attack window, context-aware exploitability, and false positives. Recommend a policy that balances security and velocity and describe an exception process.

Unlock Full Question Bank

Get access to all 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.