Interview Prep/Real-World Interview/Secrets, security & access

How did you enforce security policies in the cluster?

AdvancedBehavioralSecrets, security & access
Answer

Good answer looks like → "Kyverno as an admission controller with policies for: no privileged containers, no latest tags, required resource requests, images only from our ECR registry, and signed images verified with Cosign in production. Policies ran in Audit mode for two weeks before Enforce so teams could fix violations first."

Follow-ups to expect → Kyverno versus OPA Gatekeeper? How did you handle exceptions for system namespaces?

Red flags → Enforcing policies on day one and breaking every deploy.

All Real-World Interview questions Roadmap: Interview readiness

More on Secrets, security & access