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.

MediumTechnical
81 practiced

How would you implement least privilege for Kubernetes service accounts using RBAC and OPA Gatekeeper? Describe how to design roles, bind them safely, write admission control policies to prevent privilege escalation, and a rollout plan to retrofit an existing cluster with minimal disruption.

EasyTechnical
96 practiced

What is an SBOM (Software Bill of Materials) for a container image? Describe the key elements an SBOM should contain and explain how SRE teams can use SBOMs to reduce supply chain risk.

EasyTechnical
96 practiced

Describe the difference between static image scanning (build-time) and runtime vulnerability detection. Give examples of tools for each category and when each should be used in an SRE practice.

EasyTechnical
119 practiced

Compare and contrast three approaches to storing secrets for applications running in Kubernetes: (1) Kubernetes Secrets (base64), (2) envelope-encrypted secrets with KMS, and (3) an external secret store like HashiCorp Vault. Describe strengths and weaknesses of each.

HardSystem Design
78 practiced

Design a highly available and performant admission webhook service that validates image signatures and SBOMs for every pod creation. Address scaling (concurrency, caching), resilience (timeouts, circuit breakers), data sources (signature transparency logs), and how to avoid introducing a single point of failure in the API server flow.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.