A company recently announced the deployment of its retail website to a global audience. The website runs on multiple Amazon EC2 instances behind an Elastic Load Balancer. The instances run in an Auto Scaling group across multiple Availability Zones. The company wants to provide its customers with different versions of content based on the devices that the customers use to access the website. Which combination of actions should a solutions architect take to meet these requirements? (Choose two.)
- AConfigure Amazon CloudFront to cache multiple versions of the content. (correct answer)
- BConfigure a host header in a Network Load Balancer to forward traffic to different instances.
- CConfigure a Lambda@Edge function to send specific objects to users based on the User-Agent header. (correct answer)
- DConfigure AWS Global Accelerator. Forward requests to a Network Load Balancer (NLB). Configure the NLB to set up host-based routing to different EC2 instances.
- EConfigure AWS Global Accelerator. Forward requests to a Network Load Balancer (NLB). Configure the NLB to set up path-based routing to different EC2 instances.
Reveal answer & explanationHide answer
The correct answer is A, C. Option A: Configure Amazon CloudFront to cache multiple versions of the content. Option C: Configure a Lambda@Edge function to send specific objects to users based on the User-Agent header.
Explanation
AWS Lambda runs code without provisioning servers and scales automatically, which minimizes operational overhead. Amazon CloudFront caches content at edge locations to reduce latency and offload origins. AWS Config tracks resource configuration changes and evaluates compliance. By spanning multiple Availability Zones / adding redundancy, this option provides the high availability and resilience required.