Interview practice question
A Kubernetes cluster was compromised through an exposed component
Cloud & DevOps · DevSecOps · Experienced
Attackers deployed crypto-mining pods in your cluster after finding an exposed, unauthenticated management interface. How do you respond and harden the cluster?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Remove exposure; delete malicious workloads; preserve evidence.
- Audit logs: what was created, secrets accessed.
- Rotate cluster credentials and secrets.
- Consider rebuilding cluster.
- Harden: private endpoints, RBAC, admission policies, runtime detection.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.