Interview Prep/Linux/Patching, Automation & Golden Images

How do you handle a critical zero-day (e.g. OpenSSH or glibc) across the fleet in hours?

AdvancedProductionPatching, Automation & Golden Images
Answer
  1. Assess exposure: which versions are affected, which hosts are internet-facing (inventory + scanner data).
  2. Mitigate immediately where possible: restrict network access, config workarounds (e.g. LoginGraceTime 0 was the regreSSHion mitigation).
  3. Patch in fast rings: canary → internet-facing → internal, with automation (SSM Run Command / Ansible) and restarts of affected services or reboots for kernel/glibc.
  4. Verify with package version queries fleet-wide, and rebuild golden images so new instances are not vulnerable.
  5. Write a post-incident review on time-to-patch.
All Linux questions Roadmap: Linux

More on Patching, Automation & Golden Images