Soru

Zorluk: OrtaEdge Caching and Content Delivery for Resilient Architectures

A media company is designing a globally distributed video-on-demand (VOD) streaming application. The application delivers HTTP Live Streaming (HLS) video files, which consist of static media segments stored in an Amazon S3 bucket. The company requires a highly resilient architecture that minimizes delivery latency for global viewers and automatically handles S3 origin failures. The solution must minimize operational overhead.

Which TWO actions should a solutions architect take to meet these requirements? (Select TWO.)

  1. Create an Amazon CloudFront origin group that contains the primary S3 bucket as the primary origin and a replicated secondary S3 bucket in another AWS Region as the failover origin.Cevap
  2. Update the default cache behavior of the CloudFront distribution to target the origin group instead of individual S3 origins.Cevap
  3. C
    Configure an Amazon Route 53 latency-based routing policy to fail over traffic directly between the primary and secondary S3 bucket website endpoints.
  4. D
    Deploy AWS Global Accelerator in front of the S3 buckets to cache the video segments closer to the users and handle regional failover.
  5. E
    Associate an AWS WAF web ACL with the primary S3 bucket to monitor origin status codes and redirect requests to the secondary S3 bucket when HTTP 503 errors are detected.

Cevap

Create an Amazon CloudFront origin group containing the primary S3 bucket and a replicated secondary S3 bucket as the failover origin, and configure the cache behavior to target this origin group.
To design a resilient edge caching architecture with minimal latency and low operational overhead, Amazon CloudFront must be used. By creating an origin group containing the primary S3 bucket and a secondary S3 bucket, CloudFront natively manages failover if the primary origin is unavailable. The cache behavior must target the origin group to direct incoming viewer requests to the correct group.

Adım Adım Çözüm

1
Analyze the requirements for global low-latency delivery and high origin availability of static assets.
Amazon CloudFront is identified as the optimal tool to cache static media segments at global edge locations to minimize latency.
Direct S3 endpoint access or network routing services do not provide caching capabilities.
2
Establish origin redundancy by replicating content to a secondary S3 bucket in another AWS Region.
A secondary S3 bucket is prepared to act as a fallback origin.
A secondary origin is required to enable failover capability.
3
Group the primary and secondary origins within CloudFront.
A CloudFront origin group is created with the primary S3 bucket as the primary origin and the secondary S3 bucket as the failover origin.
This enables native origin failover within CloudFront without adding custom application logic.
4
Configure the distribution's cache behavior to target the origin group.
The default cache behavior is updated to point to the origin group.
CloudFront cache behaviors must be explicitly pointed to the origin group to leverage failover routing.

Anahtar Kavram

CloudFront Origin Groups and Origin Failover
Bu soruyu puanla