InterviewStack.io LogoInterviewStack.io

Container and Kubernetes Security Questions

Securing containerized and orchestrated workloads. Covers container image scanning and hardening, Kubernetes security (RBAC, network policies, pod security, secrets), runtime protection, and cloud-native security patterns. The specific attack surface and controls introduced by containers and orchestration platforms.

HardSystem Design
71 practiced

Design a scalable image-scanning architecture that can handle scanning 1 million images per day, including caching, incremental scanning for layers, differentiation between OS-package CVEs and language-dependency vulnerabilities, and integration with registries and CI. Discuss storage, rate-limits, and triage workflows.

MediumTechnical
93 practiced

Write a script (Bash or Python) that lists Kubernetes Secret objects that have not been modified in the last 180 days and outputs their namespace/name and creationTimestamp. Explain how you would safely test this script in a production-like environment.

MediumTechnical
80 practiced

Discuss strategies to manage vulnerabilities found in base images used across many services. Compare patching existing images, rebuilding images on updated base layers, and switching to minimal distros (e.g., distroless). Which is preferable and why?

HardTechnical
140 practiced

Compare detection approaches for container intrusions: signature-based detection, rule-based behavioral detection (Falco), and machine-learning anomaly detection. For each, discuss precision/recall trade-offs, operational costs, and types of attacks they excel at detecting.

EasyTechnical
87 practiced

Explain what container image signing is and why it matters for a secure supply chain. Describe at least two image signing solutions (for example, Sigstore/cosign and Notary), how signatures are verified at deployment time, and the risks if signing keys are compromised.

Unlock Full Question Bank

Get access to all 46 Container and Kubernetes Security interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.