Interview Prep/Networking/Network Operations & Change Management

A route table was changed by mistake and production lost internet access. How do you recover and learn?

IntermediateScenarioNetwork Operations & Change Management
Answer

Situation read → First restore, then find the cause.

What I'd do →

  1. Find the change: aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventName,AttributeValue=ReplaceRoute
  2. Restore the route (aws ec2 create-route --route-table-id rtb-0abc --destination-cidr-block 0.0.0.0/0 --nat-gateway-id nat-0abc)
  3. Verify from an instance with curl -sI https://example.com
  4. Reconcile with Terraform to remove drift
  5. Write a post-incident review and restrict console edits with SCPs or IAM

Why → CloudTrail records who changed what and when, which makes rollback exact.

Interview tip → Say manual console fixes must be backported to code immediately.

All Networking questions Roadmap: Networking for DevOps

More on Network Operations & Change Management