Interview Prep/CI/CD/Secrets, Security and Pipeline Performance

Build time doubled after adding a security scan. How do you recover time?

IntermediateTroubleshootingSecrets, Security and Pipeline Performance
Answer

Likely causes → Serial execution and uncached DB downloads.

Diagnose → Stage timing breakdown.

Fix → Run in parallel to unit tests, cache scanner DBs, scan only changed paths on PRs and the full scan nightly.

Prevent → Performance budget for the pipeline.

All CI/CD questions

More on Secrets, Security and Pipeline Performance