Interview › Security & DevSecOps
How do you prevent vulnerable images from being deployed (admission control, registry policy)? [Intermediate]
Answer
I prevent vulnerable images from being deployed by combining CI scan gates, registry policies, image signing, and Kubernetes admission control. The cluster should admit only trusted images that meet vulnerability and policy thresholds.
Technical explanation
CI should fail high-risk images before they reach the registry.
The registry should prevent promotion of images that fail policy or lack required metadata/signatures.
Admission controllers such as Kyverno, OPA Gatekeeper, or Sigstore policy-controller can enforce allowed registries, signatures, and vulnerability attestations at deploy time.
Hands-on example
Example Kyverno-style policy outcome: deny Pods if image registry is not approved, image tag is latest, signature verification fails, or the attached scan attestation contains critical KEV findings. Allow emergency override only through audited break-glass.
Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.
More Security & DevSecOps interview questions
- What is vulnerability management as a lifecycle (discover, prioritise, remediate, verify)? [Intermediate]
- How do you reduce the noise of thousands of vulnerability findings? [Intermediate]
- What is the difference between a CVE, a CVSS score, and exploitability (EPSS/KEV)? [Basic]
- What is workload identity, and how does it remove static credentials? [Intermediate]
- How would you use Wiz findings to drive remediation across teams? [Basic]
- What is OPA, and what is the Rego language used for? [Intermediate]
- What is a toxic combination (attack path) in Wiz, and why prioritise it? [Basic]
- What is the Wiz Security Graph, and why is context important for prioritisation? [Basic]