DevSecOps interview questions
100 Cloud & DevOps practice questions. Read what a strong answer covers, then practise it out loud against the clock.
Practise DevSecOps questionsBeginner
- A critical vulnerability is announced in a library you use
- A developer wants to disable a failing security check
- A hard-coded password is found in old code
- A new engineer needs production access
- A penetration test report arrives with findings
- A SAST tool flags code that is not vulnerable
- Adding security checks to an existing pipeline
- Authentication vs authorisation in DevOps tooling
- Choosing whether to use a third-party CI action
- Compliance as code
- Container image hardening basics
- Container image has many outdated operating system packages
- CVEs and CVSS scores
- Defence in depth
- Dynamic application security testing (DAST)
- Encryption in transit and at rest
- First scan reports hundreds of vulnerabilities
- Forgotten cloud resources and accounts
- Internal configuration published in a public repository
- Lockfiles and dependency pinning for security
- Patch management for servers and images
- Scanning infrastructure as code for misconfigurations
- Secret scanning and push protection
- Security champions programmes
- Security in code review
- Security logging and SIEM basics
- Shift-left security
- Software composition analysis (SCA)
- Static application security testing (SAST)
- Strong identity for engineers
- The OWASP Top 10 for web applications
- The vulnerability management lifecycle
- Web application firewalls
- What DevSecOps is
Intermediate
- A bug bounty report describes an SSRF vulnerability
- A contractor left, and their access must be removed
- A customer asks for an SBOM
- A debug endpoint exposes environment variables
- A dependency with a restrictive licence slipped in
- A developer's laptop may be compromised
- A security finding affects a service nobody owns
- A security tool flags hundreds of Kubernetes misconfigurations
- A team insists their container must run privileged
- A vulnerability in your base image has no fix yet
- A widely used Terraform module creates insecure resources
- An admin interface is exposed to the internet
- Annual penetration tests are not enough
- Automating security testing in staging
- Choosing a secrets management approach
- Cloud security posture management
- Developers ignore security findings
- Fuzz testing in a DevSecOps pipeline
- IAST and RASP
- Measuring a DevSecOps programme
- Pipelines use long-lived deployment credentials
- Policy as code across the delivery pipeline
- Reachability analysis for dependency vulnerabilities
- Repository security settings
- Rolling out static analysis across 100 repositories
- Runtime security for containers
- Secure defaults and paved roads
- Security scans make the pipeline much slower
- STRIDE threat modelling in design reviews
- Types of software supply chain attacks
- VEX: communicating vulnerability exploitability
- Vulnerability remediation timelines
- Workload identity and mutual TLS between services
Experienced
- A code signing key was compromised
- A Kubernetes cluster was compromised through an exposed component
- A malicious version of your published package appeared
- An attacker gained access through an exposed CI token
- An LLM-powered feature introduces new security risks
- Balancing strict security requirements with fast delivery in fintech
- Breach through a compromised third-party integration
- Building security into an internal developer platform
- Continuous compliance for SOC 2 and ISO 27001
- Designing an end-to-end secure software supply chain
- Detecting and preventing insider code exfiltration
- Detection engineering and detection as code
- DevSecOps maturity models
- Engineering teams push back against security requirements
- Integrating an acquired company's insecure infrastructure
- Kubernetes security from cluster to container
- Making your cloud and DevOps environment resilient to ransomware
- Managing non-human identities
- Preparing engineering for a first SOC 2 audit
- Reporting DevSecOps effectiveness to the board
- Responding to a Log4Shell-scale zero-day across the organisation
- Risk-based vulnerability prioritisation
- Rolling out mutual TLS across all services
- Runtime security detects a container escape attempt
- Secrets found across years of Git history
- Secure by design and memory-safe languages
- Security chaos engineering
- Security risks of AI-assisted coding
- Software attestations and in-toto
- The NIST Secure Software Development Framework
- Threat modelling a CI/CD pipeline
- Too many security tools producing overlapping findings
- Zero-day in a VPN or edge appliance