Which combination of actions will meet these requirements?
(Choose two.)
Create a primary failover routing policy record. Configure the value to be the ALB.
Create an AWS Lambda function to switch from the primary website to the secondary website when the health check fails.
Create a primary failover routing policy record. Configure the value to be the ALB. Associate the record with a Route 53 health check.
Create a secondary failover routing policy record. Configure the value to be the static website. Associate the record with a Route 53 health check.
Create a secondary failover routing policy record. Configure the value to be the static website.
Explanations:
While creating a primary failover routing policy record and pointing to the ALB is correct, this option does not mention associating it with a Route 53 health check, which is required.
Using an AWS Lambda function is not necessary for this solution, as Route 53 can automatically handle failover based on health check status without manual intervention.
Creating a primary failover routing policy record pointing to the ALB and associating it with a Route 53 health check enables automated health-based failover control.
Secondary failover routing policies should not have health checks. Only primary policies need them for monitoring the main application status, as secondary is only for fallback.
Creating a secondary failover routing policy record and pointing it to the S3 static website enables automatic failover when the primary health check fails.