Teams complain that the platform team changes Kyverno policies without warning and breaks deployments. How do you govern policy changes?
IntermediateScenarioIncident Response and Governance
Answer
Situation read → Policies are code that affects every team. They need the same change process as code.
What I'd do →
- Keep policies in Git with PR review, including a reviewer from consuming teams for major changes.
- Test policies in CI against sample manifests (
kyverno test) and a dry run against live resources.kyverno apply policies/ --cluster --policy-report - Roll out every new policy in
Auditmode first, publish the violations, then switch toEnforceon an announced date. - Publish a changelog and a channel for policy announcements.
Why → Audit-first rollout turns surprises into planned migrations.
Interview tip → "Audit, communicate, enforce" is the rollout pattern.
More on Incident Response and Governance
You find a ransom note in an S3 bucket and most objects have been deleted. What do you do in the first hour?AdvancedYour company has its first real security incident and people are all talking at once in Slack. How do you organise the response?BeginnerAn EC2 instance is confirmed compromised. A colleague wants to terminate it immediately. What do you do instead?IntermediateFalco reports a reverse shell from a pod in EKS. How do you contain it while keeping evidence?AdvancedAfter a security incident, leadership wants to know who to blame. How do you run the post-incident review?BeginnerYou are asked to run a security tabletop exercise for the engineering team. How do you design it?Intermediate