
Answer-first summary for fast verification
Answer: Set up canary deployments for the production API, adjusting traffic distribution and deploying updates accordingly.
The correct answer is D. Amazon API Gateway supports canary release deployments, allowing you to route a small percentage of traffic to a new version while the rest continues to use the current version. This approach lets you test changes with minimal impact on users. By configuring canary settings for the production stage API and directing 20% of traffic to the canary deployment, you can monitor and ensure stability before fully rolling out the changes. This method minimizes the number of errors that any single customer experiences, providing a safer deployment strategy.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company deploys an application using AWS CloudFormation, integrating Amazon API Gateway REST API with AWS Lambda and Amazon DynamoDB for data. The app has development, testing, and production stages, each with a separate DynamoDB table. After successful changes in development and testing, the company faces issues in production deployment. How should a developer route traffic to minimize customer impact, directing a portion to the new production API and the rest to the existing one?
A
Incrementally update and deploy changes to the production stage, monitoring after each iteration.
B
Use Route 53 weighted routing policies for the production API, introducing a secondary record with adjusted weights.
C
Implement an ALB to manage traffic distribution between production stages with specified weights.
D
Set up canary deployments for the production API, adjusting traffic distribution and deploying updates accordingly.
No comments yet.