Interview Prep/Real-World Interview/Cloud provider issues

During a DR test you take the primary region down, but Route 53 never fails over to the secondary.

AdvancedTroubleshootingCloud provider issues
Answer

Likely causes → The failover record's health check doesn't measure what matters: it checks a static page served by CloudFront or a load balancer that stays up, it checks the secondary instead of the primary, evaluate_target_health is off on the ALIAS, or the health check has inverted or calculated settings that never go unhealthy.

Diagnose →

aws route53 list-resource-record-sets --hosted-zone-id $ZONE --query "ResourceRecordSets[?Name=='api.example.com.']"
aws route53 get-health-check-status --health-check-id $HC
aws route53 get-health-check --health-check-id $HC --query 'HealthCheck.HealthCheckConfig'

Fix → Point the health check at a deep endpoint in the primary region that checks real dependencies (/healthz/ready that touches the DB), and attach it to the primary failover record.

Prevent → Test failover on a schedule, use Route 53 ARC routing controls for a manual, reliable switch that doesn't depend on control-plane changes during a crisis, and keep secondary capacity and data replication verified.

All Real-World Interview questions Roadmap: Interview readiness

More on Cloud provider issues