
Answer-first summary for fast verification
Answer: Establish an Amazon S3 bucket, configure it to serve a static webpage, and upload custom error pages to the S3 bucket., Configure a custom error response in Amazon CloudFront by setting up a CloudFront custom error page. Modify DNS records to redirect to a publicly accessible web page.
The correct answers are A and E. Option A suggests creating an Amazon S3 bucket to host a static webpage and uploading custom error pages to this bucket. This solution is straightforward and involves minimal operational overhead. Option E proposes configuring a custom error response in Amazon CloudFront, which already serves the static content for the ALB. By setting up custom error pages in CloudFront and directing DNS to a publicly accessible webpage, the company can efficiently provide custom error pages. Options B and D involve more complex configurations with AWS Lambda and modifying ALB forwarding rules, while Option C requires changes to Route 53 health checks and fallback targets, both of which add unnecessary complexity.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A retail company operates an e-commerce application on AWS, utilizing Amazon EC2 instances managed by an Application Load Balancer (ALB) for the front-end and an Amazon RDS DB instance for the database. Amazon CloudFront is set up with the ALB as its origin to cache static content, and Amazon Route 53 is employed for DNS management. Following an application update, the ALB intermittently returns a 502 status code due to malformed HTTP headers. The issue resolves upon immediate reload by a solutions architect. In the interim, the solutions architect must implement a custom error page to replace the default ALB error page for users. What actions, taken together, will fulfill this requirement with minimal operational effort? (Select two options.)
A
Establish an Amazon S3 bucket, configure it to serve a static webpage, and upload custom error pages to the S3 bucket.
B
Set up an Amazon CloudWatch alarm to trigger an AWS Lambda function when the ALB health check indicates a failed Target.FailedHealthChecks response. The Lambda function should then adjust the ALB's forwarding rule to direct traffic to a publicly accessible web server.
C
Enhance existing Amazon Route 53 records with health checks and configure a fallback target for failed health checks. Adjust DNS records to direct traffic to a publicly accessible webpage.
D
Deploy an Amazon CloudWatch alarm to activate an AWS Lambda function upon detecting an Elb.InternalError in the ALB health check response. The Lambda function should alter the ALB's forwarding rule to redirect to a publicly accessible web server.
E
Configure a custom error response in Amazon CloudFront by setting up a CloudFront custom error page. Modify DNS records to redirect to a publicly accessible web page.