Soru

Zorluk: ZorEdge Caching and Content Delivery for Resilient Architectures

A company hosts a media portal on AWS that serves high-traffic static images and video clips. The static assets are stored in an Amazon S3 bucket in the us-east-1 Region. To ensure maximum availability, the company replicates these assets to another S3 bucket in the us-west-2 Region. The company wants to implement a solution that caches content globally to reduce latency for users. The architecture must automatically serve assets from the backup Region if the primary S3 bucket returns server errors (HTTP 500-class). Additionally, the portal must be protected against application-layer (Layer 7) HTTP flood attacks. The solution should minimize latency and operational overhead.

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

  1. Create an Amazon CloudFront distribution. Configure a CloudFront origin group with the primary S3 bucket as the primary origin and the backup S3 bucket as the secondary origin, setting the failover criteria to include HTTP status codes 500, 502, 503, and 504.Cevap
  2. Create an AWS WAF web ACL with a rate-based rule to limit requests from individual client IP addresses. Associate the web ACL with the CloudFront distribution.Cevap
  3. C
    Configure Amazon Route 53 latency-based routing with health checks to resolve the portal's domain name directly to the S3 website endpoints in both Regions, allowing clients to fail over during disruptions.
  4. D
    Enable AWS Shield Standard on the S3 buckets to mitigate Layer 7 HTTP flood attacks, and configure Route 53 failover routing to point to the backup S3 bucket when the primary S3 bucket is unavailable.
  5. E
    Deploy AWS Global Accelerator to route user traffic to the S3 buckets, and use Route 53 latency-based routing to switch traffic to the backup S3 bucket in the event of an outage.

Cevap

To meet the requirements, the solutions architect must create an Amazon CloudFront distribution and configure an origin group with the primary S3 bucket as the primary origin and the backup S3 bucket as the secondary origin (failing over on 5xx status codes). Additionally, the solutions architect must create an AWS WAF web ACL with a rate-based rule and associate it with the CloudFront distribution.
Configuring Amazon CloudFront with an origin group enables automatic failover to a backup S3 bucket in a different Region when the primary bucket returns 5xx errors, ensuring continuous availability of static content at the edge. Integrating AWS WAF with CloudFront allows the solutions architect to apply rate-limiting rules at the edge, blocking Layer 7 HTTP flood attacks before they impact the origin buckets.

Adım Adım Çözüm

1
Configure global content delivery and caching using Amazon CloudFront.
Static assets are cached at CloudFront edge locations worldwide, drastically reducing latency for global users.
This establishes the core caching mechanism required to optimize performance for static assets.
2
Configure a CloudFront Origin Group with the primary S3 bucket as primary and backup S3 bucket as secondary, enabling failover on 500, 502, 503, and 504 codes.
If the primary S3 bucket becomes unavailable or returns a 5xx error, CloudFront seamlessly fetches the asset from the secondary S3 bucket without exposing the error to the user.
This configuration provides automated, low-latency origin failover to ensure content resiliency.
3
Create an AWS WAF web ACL with a rate-based rule and associate it with the CloudFront distribution.
Individual client IPs exceeding the specified request rate threshold are blocked at the CloudFront edge.
AWS WAF is the correct service for protecting the application from Layer 7 HTTP flood attacks, mitigating threats before they reach S3.

Anahtar Kavram

Using Amazon CloudFront origin groups to achieve automated, high-availability origin failover for static assets combined with AWS WAF for edge security against Layer 7 HTTP flood attacks.
Bu soruyu puanla