The company registered 10 domains used for marketing. Each domain should redirect visitors to a specific target URL; the domains and their target URLs are stored in a JSON document. DNS is managed in Amazon Route 53. You must implement a redirect service that accepts HTTP and HTTPS requests and requires minimal operational effort. Which combination of steps should you take? (Choose three.)
Choose an answer
Tap an option to check your answer.
Correct answer: Create an AWS Lambda function that reads the JSON document and responds with the appropriate redirect URL based on the incoming request., Create an Amazon CloudFront distribution and deploy a Lambda@Edge function to perform redirects based on the JSON document., Request an SSL/TLS certificate from AWS Certificate Manager that includes all domains as Subject Alternative Names..
Why this is the answer
To meet the requirements for minimal operational effort and support HTTP/HTTPS, a serverless approach is ideal. Requesting an SSL/TLS certificate from AWS Certificate Manager (ACM) that includes all domains as Subject Alternative Names (SANs) is crucial for HTTPS support across all 10 domains. An Amazon CloudFront distribution, combined with a Lambda@Edge function, provides a highly scalable and low-latency solution for redirecting requests at the edge. The Lambda@Edge function can read the JSON document (perhaps stored in S3) and return the appropriate redirect response (e.g., HTTP 301 or 302) based on the incoming domain and path. This combination avoids managing EC2 instances or dedicated servers. While an AWS Lambda function can perform redirects, it needs a front-end like API Gateway or CloudFront to handle HTTP/HTTPS requests and custom domains. Using an Application Load Balancer alone would still require backend compute (like EC2) to perform the redirects, increasing operational overhead.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed