Question: A network engineer is configuring an Amazon CloudFront distribution for a website running on example.com. For several countries the website uses country - specific subdomains
A network engineer is configuring an Amazon CloudFront distribution for a website running on example.com. For several countries the website uses countryspecific subdomains such as usexample.com and ukexample.com. The network engineer has configured the distribution to cache based on the CloudFrontViewerCountry header and must configure a redirect for requests to example.com to the relevant subdomain.
Which actions should the network engineer take?
A Create a Lambda@Edge origin request function that generates a redirect response when a viewer requests example.com.
B Configure the CloudFront distribution behavior to conditionally forward requests based on a path pattern.
C Create a Lambda@Edge viewer response function that generates a redirect response when a viewer requests example.com.
D Configure the viewer protocol policy to redirect HTTP to HTTPS and specify separate origins for each subdomain.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
