
Ultimate access to all questions.
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.