DevOps Engineer interview question
How do you integrate SonarQube, SAST, DAST and container image scanning into CI/CD without slowing everyone down?
How you'd do it Asked in DevOps Engineer · Site Reliability Engineer (SRE) interviews
Summary
Run fast checks early and slow checks where they fit: secret scanning, SAST and dependency scanning on every pull request (incremental, only new issues), SonarQube's quality gate on new code, image scanning right after the build, and DAST against a deployed test environment on a schedule or before production. Fail builds only on high-severity, fixable findings, and route the rest to backlogs.
Keep reading with a membership
The full answer with examples, key points and comparisons is part of the membership, along with every other interview answer, progress tracking and Daily Review. Most-asked answers stay free to read.
More DevOps Engineer questions
- Every deployment produces a burst of 502s. What do you check?
- Design an end-to-end CI/CD and GitOps setup for 50 microservices, with testing, security scanning, artifact management and production deployment.
- Pods keep restarting with OOMKilled under load. How do you investigate and fix it?
- What happens when you type a URL into a browser and press Enter?
- Your ecommerce site runs 30 microservices on Kubernetes. After a deployment, customers start getting HTTP 503 errors. How do you investigate and resolve it?
- Your Kubernetes-based ecommerce site goes down during peak traffic. Walk through your first 15 minutes.
- A rollback after a release made the outage worse because the database had already been migrated. How do you design releases so rollbacks are always safe?
- After a release, checkout becomes slow. How do you use traces, JVM metrics, connection pool metrics and database monitoring to find the cause?