A global company hosts a dynamic financial API across Application Load Balancers (ALBs) in the us-east-1 (primary) and eu-west-1 (secondary standby) Regions. The API requires ultra-low latency SSL/TLS handshakes, protection against Layer 7 SQL injection attacks, and immediate failover to the secondary region if the primary region's ALB starts returning HTTP 502 or 504 errors. The failover process must occur within seconds without relying on client-side DNS updates, and operational complexity must be kept to a minimum. Which of the following combinations of actions should the solutions architect take to meet these requirements? (Select TWO.)
- Create an Amazon CloudFront distribution and configure an origin group containing the us-east-1 ALB as the primary origin and the eu-west-1 ALB as the secondary origin, setting the failover criteria to include 502 and 504 status codes.Cevap
- Associate an AWS WAF web ACL directly with the Amazon CloudFront distribution to inspect incoming requests at the edge before they reach the ALBs.Cevap
- CConfigure an Amazon Route 53 latency-based routing policy to distribute traffic between the two regional ALBs, and use Route 53 health checks to automatically redirect traffic to the secondary ALB during an outage.
- DConfigure an AWS Global Accelerator in front of the regional ALBs and enable AWS Shield Standard on the accelerator to block Layer 7 SQL injection attacks.
- EDeploy Amazon CloudFront and configure a Route 53 failover routing policy that points to the regional ALBs, utilizing AWS WAF on the individual ALBs.
Cevap
The solutions architect should create an Amazon CloudFront distribution with an origin group containing the primary us-east-1 ALB and the secondary eu-west-1 ALB (with failover criteria for 502 and 504 errors), and associate an AWS WAF web ACL directly with the CloudFront distribution.
Configuring CloudFront Origin Groups ensures that failover between the primary ALB in us-east-1 and the standby ALB in eu-west-1 happens within seconds at the CDN edge level, bypassing client-side DNS caching. Associating AWS WAF with CloudFront provides L7 security inspection at the edge, reducing latency and operational complexity by avoiding the management of multiple regional WAF ACLs.
Adım Adım Çözüm
Anahtar Kavram
CloudFront Origin Groups provide sub-second failover for origin endpoints, while AWS WAF at the edge provides centralized Layer 7 protection and reduces latency by filtering requests before they reach regional infrastructure.