An engineer left the company three weeks ago and you find their access key was used yesterday. How do you respond and fix the process?

BeginnerScenarioSecurity incidents
Answer

Situation read → It's an incident (an unauthorised credential in use) and also a process failure in offboarding.

What I'd do →

  1. Deactivate the key and disable the user now; check CloudTrail for what was done yesterday.
  2. Sweep for other access: GitHub org membership, kubeconfigs, VPN, SSH keys on servers, CI tokens, SaaS consoles.
  3. Rotate shared secrets they knew (break-glass passwords, shared tokens).
  4. Fix the root cause: no long-lived IAM users. Use IAM Identity Center with the corporate IdP, so disabling them in the IdP removes AWS, GitHub and Kubernetes access in one step.
  5. Add an automated monthly report of credentials unused for 90 days and accounts not linked to an active employee.

Why → SSO makes offboarding one action instead of a checklist that people forget.

Interview tip → Frame it as "the person isn't the problem, the process is".

All Real-World Interview questions Roadmap: Interview readiness

More on Security incidents