Interview Prep/Real-World Interview/Cloud provider issues

Every Tuesday around 02:00 UTC the Redis-backed session service drops all sessions and errors spike for a minute.

IntermediateTroubleshootingCloud provider issues
Answer

Likely causes → A managed-service maintenance window: ElastiCache (or RDS) applies patches and fails over or restarts nodes. If the cluster has a single node, or the client doesn't handle failover, sessions vanish and connections reset.

Diagnose →

aws elasticache describe-events --source-type cache-cluster --duration 10080
aws elasticache describe-replication-groups --replication-group-id sessions \
  --query 'ReplicationGroups[0].[AutomaticFailover,MultiAZ,NodeGroups[0].NodeGroupMembers]'
aws elasticache describe-cache-clusters --query 'CacheClusters[].PreferredMaintenanceWindow'

Fix → Move the maintenance window to the lowest-traffic period, enable Multi-AZ with automatic failover and at least one replica, and make the client reconnect and retry.

Prevent → Treat maintenance windows as known events on the on-call calendar, subscribe to service events via EventBridge, and test client behaviour during failover (aws elasticache test-failover).

All Real-World Interview questions Roadmap: Interview readiness

More on Cloud provider issues