QuestionQ62

VerifiedDesign High-Performing Architectures

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
Explanation

Amazon CloudFront can cache separate versions of the same content for different device types, using CloudFront device headers that are derived from the viewer’s User-Agent. Lambda@Edge can then inspect request information such as the User-Agent header and direct viewers to the appropriate device-specific objects. This combination satisfies the requirement to deliver different content versions by device. The Network Load Balancer options are not suitable because NLB operates at Layer 4 and does not provide host-based or path-based routing for this use case; those are Application Load Balancer capabilities.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!