A financial services company is launching a global trading dashboard. The application consists of dynamic JSON APIs hosted on Amazon ECS containers behind an Application Load Balancer (ALB) in the us-east-1 Region, and static web assets stored in an Amazon S3 bucket in the same Region. For disaster recovery and high availability, the company has deployed a replica of the ECS application and a replicated S3 bucket in the us-west-2 Region. The company wants to minimize latency for global users and ensure that both static and dynamic requests automatically fail over to the secondary Region with minimal downtime if the primary Region becomes unavailable.
Which combination of actions should a solutions architect take to meet these requirements? (Select two.)
- Configure an Amazon CloudFront distribution with two origin groups: one containing the primary and secondary S3 buckets, and another containing the primary and secondary ALBs, with failover criteria set for 5xx status codes.Cevap
- Create two cache behaviors in the CloudFront distribution: one for static paths routing to the S3 origin group with caching enabled, and another for dynamic API paths routing to the ALB origin group with caching disabled (TTL set to 0).Cevap
- CConfigure Amazon Route 53 latency-based routing policies pointing directly to the ALBs in both regions, and enable Route 53 health checks to route dynamic API requests during a regional outage.
- DDeploy AWS Global Accelerator to route dynamic API traffic to the ALB endpoints, and configure Route 53 with failover routing to switch CloudFront static traffic to the backup S3 bucket.
- ECreate a single CloudFront origin group that combines both the primary ALB and the primary S3 bucket, and configure an AWS WAF rule to redirect traffic to the secondary Region.