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.
A pipeline runner was compromised and an attacker inserted a malicious build step that pushed a backdoored image to production. Describe detection methods to identify the compromise, containment steps across CI and production (including registry and K8s), evidence collection for forensics, remediation actions (revocation, rebuild, redeploy), and long-term controls to prevent recurrence.
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.
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.
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.
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.
Unlock Full Question Bank
Get access to all 47 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.