Interview Prep/DevSecOps/Kubernetes Security

kube-bench reports 40 CIS benchmark failures on your managed EKS nodes. How do you prioritise?

IntermediateScenarioKubernetes Security
Answer

Situation read → Many CIS controls cover the control plane, which the provider manages. Use the right benchmark first.

What I'd do →

  1. Run the managed profile: kube-bench run --benchmark eks-1.5.0 (or the current EKS benchmark) instead of the generic one.
  2. Separate node findings (kubelet config, file permissions) from things AWS owns.
  3. Fix high-impact ones: kubelet anonymous-auth=false, authorization-mode=Webhook, protectKernelDefaults.
  4. Bake fixes into the node AMI or Bottlerocket settings, not hand-edits.
  5. Document accepted exceptions with reasons.

Why → Running the wrong benchmark creates noise and wastes effort on controls you cannot change.

Interview tip → Mention shared responsibility for managed Kubernetes.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Kubernetes Security