A company serves static files through CloudFront from a primary S3 bucket and maintains identical files in a secondary bucket. Which configuration lets CloudFront retry GET requests against the secondary bucket when the primary returns HTTP 503?
Show the answer
Correct answerB. Create an origin group with failover configured for HTTP 503.
AWhy not this: Cache behaviors select origins by request path, not by the response status from another origin.
BWhy this is right: An origin group can retry eligible requests against its secondary origin when the primary returns a configured status code.
CWhy not this: Origin Shield adds a caching layer; it does not establish a secondary origin for status-code-based failover.
DWhy not this: Replication maintains object copies but does not make CloudFront retry requests against another origin.
A CloudFront origin group defines primary and secondary origins and the status codes that trigger failover for eligible methods, including GET. S3 Cross-Region Replication copies objects but does not configure CloudFront request failover.