AWS Certified Solutions Architect – Associate (SAA-C02) — Question 490
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.)
Answer options
- A. Configure Amazon CloudFront to cache multiple versions of the content.
- B. Configure a host header in a Network Load Balancer to forward traffic to different instances.
- C. Configure a Lambda@Edge function to send specific objects to users based on the User-Agent header.
- D. Configure AWS Global Accelerator. Forward requests to a Network Load Balancer (NLB). Configure the NLB to set up host-based routing to different EC2 instances.
- E. Configure AWS Global Accelerator. Forward requests to a Network Load Balancer (NLB). Configure the NLB to set up path-based routing to different EC2 instances.
Correct answer: A, C
Explanation
To serve device-specific content globally, Amazon CloudFront can be configured to cache multiple versions of the content based on device characteristics, and a Lambda@Edge function can analyze the User-Agent header at the edge to serve the correct device-specific objects. Network Load Balancers (NLBs) operate at Layer 4 and do not support HTTP host-based or path-based routing, which rules out options B, D, and E.