exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 824 discussion

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.)

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: CEF 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
bobsmith2000
Highly Voted 2 years, 6 months ago
Selected Answer: CEF
The dumbest a the worst worded question I've ever read throughout four exams I've passed so far. But anyway. the LEAST operation = Serverless. So it's Lambda, CloudFront and ACM, hence CEF
upvoted 11 times
...
tkanmani76
Highly Voted 2 years, 11 months ago
Sure about B and C. Guess E is the 3rd option.
upvoted 5 times
...
onepunchfinish
Most Recent 7 months ago
Lambda would need a change every time config file changes and would increase effort, hence this is not an efficient option BEF
upvoted 1 times
...
DavidC
1 year, 1 month ago
Selected Answer: CDF
the requirement is this: A solutions architect must implement a redirect service that accepts HTTP and HTTPS requests. if it's a service, then API gateway is the way to go. how does cloudfront implement a redirect service? what is the origin of the cloudfront?
upvoted 2 times
...
uC6rW1aB
1 year, 3 months ago
A. Using a dynamic webpage on EC2 seems to be the only option explicitly indicating it can directly store and process JSON files. B. ALB itself does not store or directly handle JSON files. C. Lambda can process, but it's not clear from where it reads the JSON. D. API Gateway is primarily for exposing Lambda, not for processing JSON. E. CloudFront and Lambda@Edge both don't mention how to store or retrieve JSON. F. The SSL certificate is for supporting HTTPS. Therefore, considering the need to handle the JSON file, option A (EC2) appears to be the appropriate choice. To support HTTP and HTTPS requests, option B (ALB) and option F (SSL certificate from ACM) are also necessary. So, from this perspective, the best three choices seem to be A, B, and F.
upvoted 1 times
...
MHD84
1 year, 5 months ago
Selected Answer: CEF
E: Amazon S3 static web hosting supports only the HTTP protocol. You must use a CloudFront distribution for redirection from HTTP to HTTPS. F:You can't associate more than one SSL or Transport Layer Security (TLS) certificate to an individual CloudFront distribution. However, certificates provided by AWS Certificate Manager (ACM) support up to 10 subject alternative names, including wildcards. To turn on SSL or HTTPS for multiple domains served through one CloudFront distribution, assign a certificate from ACM that includes all the required domains.
upvoted 1 times
...
Jesuisleon
1 year, 5 months ago
Selected Answer: CDF
The question requires customer communicates with 10 domains with https, you should have 10 certificates each for one domain. But CloudFront distribution ONLY support ONE certificate, see the link https://repost.aws/de/knowledge-center/associate-ssl-certificates-cloudfront So here CloudFront is out. Both ALB and API Gateway can support multiple certificates, so I choose API gateway. The correct answer should be C,D,F
upvoted 1 times
...
pitakk
1 year, 10 months ago
Selected Answer: BCF
You need SSL cert so F and you need to put it somewhere so B. Then you have to get the URL from JSON so C.
upvoted 1 times
...
ggrodskiy
1 year, 11 months ago
Correct BEF
upvoted 2 times
ggrodskiy
1 year, 4 months ago
updated BCF
upvoted 1 times
...
...
Kende
1 year, 11 months ago
Selected Answer: BCE
BCE for me too.
upvoted 2 times
...
mrgreatness
2 years ago
okay going CEF -- it addresses the full question. Cloudfront + Lambda, we need https so cert manager, then I chose C over B, because the cert will be attached to the Cloudfront not an alb, and it addresses the JSON doc. Final answer CEF
upvoted 1 times
...
mrgreatness
2 years ago
definitely E & F , not sure then between B & C
upvoted 1 times
...
Rocketeer
2 years ago
BCE F is to confuse people.
upvoted 2 times
...
joancarles
2 years, 1 month ago
Selected Answer: BEF
B and F, no discussion here , load and cert. I choose B , because you can use lambda@edge to get the redirections directly from a json file as the question states. Example: https://aws.amazon.com/es/blogs/networking-and-content-delivery/handling-redirectsedge-part2/
upvoted 1 times
...
dcdcdc3
2 years, 2 months ago
Selected Answer: BEF
E: (just as third option is needed) https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-examples.html B F: (Load balancer + cert) https://aws.amazon.com/premiumsupport/knowledge-center/elb-redirect-to-another-domain-with-alb/
upvoted 2 times
...
gnic
2 years, 3 months ago
BCF F is for the HTTPS listner that need at least one certificate. A, E are unuseful
upvoted 5 times
...
foureye2004
2 years, 3 months ago
Selected Answer: CEF
Must be CEF, like bobsmith2000 comments: - C. Create Lambda first - D. Create Cloudfront distribution, CloudFront trigger to run the function (Lambda function above) - E. use ACM to add SSL into Cloudfront distribution for https support. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-edge-how-it-works-tutorial.html
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...