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.
Describe supply chain attacks against software: how attackers compromise dependencies, CI/CD pipelines, or vendor updates. Provide two historical examples, indicators of compromise to hunt for, and three proactive controls you would implement across procurement and engineering to reduce risk.
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.
Provide a detailed pre-merge security gate checklist for pull requests in a modern CI/CD environment. Include automated checks, manual reviews, required approvals, artifact verification, and considerations for third-party contributions. Explain how gates can be enforced without significantly slowing developer productivity.
Write a GitHub Actions workflow YAML named 'dependency-scan.yml' that runs a software composition analysis (SCA) using Trivy (or Snyk) for a Node.js repository. The workflow must run on pull_request events, scan dependencies, upload a JSON or SARIF report as an artifact, and fail the job if any vulnerability of severity 'CRITICAL' is discovered. Keep the workflow minimal but functional.
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?
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 ContinueJoin thousands of developers preparing for their dream job.