SAP-C02 · Question #383
A company has an asynchronous HTTP application that is hosted as an AWS Lambda function. A public Amazon API Gateway endpoint invokes the Lambda function. The Lambda function and the API Gateway…
The correct answer is D. Deploy the Lambda function and an API Gateway endpoint to the us-west-2 Region. Configure. This solution allows for deploying the Lambda function and API Gateway endpoint to another region, providing a failover option in case of any issues in the primary region. Using Route 53's failover routing policy allows for automatic routing of traffic to the healthy endpoint…
Question
A company has an asynchronous HTTP application that is hosted as an AWS Lambda function. A public Amazon API Gateway endpoint invokes the Lambda function. The Lambda function and the API Gateway endpoint reside in the us-east-1 Region. A solutions architect needs to redesign the application to support failover to another AWS Region. Which solution will meet these requirements?
Options
- ACreate an API Gateway endpoint in the us-west-2 Region to direct traffic to the Lambda function
- BCreate an Amazon Simple Queue Service (Amazon SQS) queue. Configure API Gateway to
- CDeploy the Lambda function to the us-west-2 Region. Create an API Gateway endpoint in us-
- DDeploy the Lambda function and an API Gateway endpoint to the us-west-2 Region. Configure
How the community answered
(59 responses)- A8% (5)
- B2% (1)
- C5% (3)
- D85% (50)
Explanation
This solution allows for deploying the Lambda function and API Gateway endpoint to another region, providing a failover option in case of any issues in the primary region. Using Route 53's failover routing policy allows for automatic routing of traffic to the healthy endpoint, ensuring that the application is available even in case of issues in one region. This solution provides a cost- effective and simple way to implement failover while minimizing operational overhead.
Community Discussion
No community discussion yet for this question.