AWS Certified Solutions Architect – Professional — Question 614
A company has registered 10 new domain names. The company uses the domains for online marketing. The company needs a solution that will redirect online visitors to a specific URL for each domain. All domains and target URLS are defined in a JSON document. All DNS records are managed by Amazon Route 53.
A solutions architect must implement a redirect service that accepts HTTP and HTTPS requests.
Which combination of steps should the solutions architect take to meet these requirements with the LEAST amount of operational effort? (Choose three.)
Answer options
- A. Create a dynamic webpage that runs on an Amazon EC2 instance. Configure the webpage to use the JSON document in combination with the event message to look up and respond with a redirect URL.
- B. Create an Application Load Balancer that includes HTTP and HTTPS listeners.
- C. Create an AWS Lambda function that uses the JSON document in combination with the event message to look up and respond with a redirect URL.
- D. Use an Amazon API Gateway API with a custom domain to publish an AWS Lambda function.
- E. Create an Amazon CloudFront distribution. Deploy a Lambda@Edge function.
- F. Create an SSL certificate by using AWS Certificate Manager (ACM). Include the domains as Subject Alternative Names.
Correct answer: C, E, F
Explanation
To support HTTPS traffic for multiple domains, an SSL certificate containing the domains as Subject Alternative Names must be generated via AWS Certificate Manager (ACM) and associated with an Amazon CloudFront distribution. Utilizing CloudFront with Lambda@Edge allows the redirection logic to run at edge locations close to users, invoking an AWS Lambda function that parses the JSON mapping to trigger HTTP redirects. This serverless approach minimizes operational overhead compared to managing EC2 instances or load balancers.