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.

MediumTechnical
149 practiced

For a containerized platform, propose host hardening and runtime defense controls. Include baseline OS hardening, container image policies, runtime configuration (seccomp, namespaces), and detection/response for container escape attempts in a managed Kubernetes environment.

HardTechnical
82 practiced

Design a scalable secret rotation strategy for Kubernetes workloads at hundreds of clusters: include how applications consume secrets (Kubernetes Secrets vs CSI Secrets Store), how to rotate TLS certs and API keys without downtime, and how to coordinate rolling updates and operator tooling.

HardTechnical
96 practiced

Design controls and operational practices to secure serverless functions and ephemeral container workloads at enterprise scale (assume 2,000 functions deployed daily). Cover identity for workloads, secrets injection, telemetry and tracing for short-lived invocations, supply-chain security for dependencies, and limiting attack surface.

MediumTechnical
81 practiced

Given a Kubernetes manifest and a requirement to block container images from unapproved registries, explain how you would implement a Gatekeeper/OPA constraint that denies deployments that reference images from public Docker Hub. Provide an example Rego or Constraint template snippet (Kubernetes YAML or Rego).

MediumTechnical
89 practiced

Provide a checklist and a Kubernetes Pod manifest snippet demonstrating at least five security best practices for a production workload: non-root user, resource requests/limits, readOnlyRootFilesystem, liveness/readiness probes, and network policy labels. Explain why each control matters.

That is every published Container and Kubernetes Security question for Solutions Architect so far. Browse the other topics in this category, or practice this one interactively.