An application uses an Amazon CloudFront distribution with a public Application Load Balancer (ALB) in a Region as the default origin. The app is deployed to a secondary Region in a warm-standby setup and the business requires zero-second RTO for HTTP GET requests. How can failover to the secondary Region be automated so HTTP GETs meet that RTO?
Choose an answer
Tap an option to check your answer.
Correct answer: Add a new origin on the existing distribution for the secondary ALB and create an origin group with the original ALB as primary. Configure the origin group to fail over on HTTP 5xx responses and update the default behavior to use the origin group..
Why this is the answer
The correct solution leverages CloudFront's origin groups, which are designed for high availability and failover. By adding the secondary ALB as a new origin and creating an origin group with the primary ALB and a failover condition for HTTP 5xx errors, CloudFront automatically directs traffic to the secondary ALB when the primary fails. This provides a zero-second RTO for GET requests because CloudFront handles the failover internally without DNS propagation delays. Creating a second CloudFront distribution and using Route 53 failover would introduce DNS propagation delays, violating the zero-second RTO. Route 53 failover directly to ALBs, even with a 0 TTL, still incurs DNS lookup and propagation time. A CloudFront function for redirection would add latency and complexity, and might not be truly "zero-second" as it relies on the client to follow the redirect.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed