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
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.

HardTechnical
144 practiced

Write an OPA/Rego policy that denies creation or modification of object storage buckets that do not have server-side encryption enabled or that allow public access. Explain how you would integrate this policy into CI (pre-commit hooks and pipeline checks) and into runtime enforcement (admission controller or cloud governance). Describe unit and integration tests you would write to validate the policy.

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.

MediumTechnical
81 practiced

You discover a third-party library used in production may have licensing or security exposure. Describe how you would investigate the risk, propose remediation options, communicate trade-offs to product and legal, and implement a plan to remediate while minimizing disruption to shipping schedules.

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.)

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.