
Answer-first summary for fast verification
Answer: Employ API Gateway's canary release feature to gradually route a set percentage of traffic to the new API version.
The correct answer is D. Canary deployments allow developers to gradually roll out changes to a small percentage of users, which helps in testing the new version in a real-world environment without fully replacing the existing version. This approach minimizes risk and ensures any issues can be detected and addressed before a full rollout. Utilizing API Gateway's canary release feature, you can direct a specified percentage of traffic to the new API version using the canarySettings setting, making it the simplest and safest solution for rolling out the changes to a limited number of users.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In the context of a new mobile app using Amazon API Gateway, how can a developer implement a safe and transparent rollout of API changes to a select group of users?
A
Create a new API in API Gateway, utilizing Amazon Route 53 for weighted traffic distribution to the new API.
B
Validate the new API version and deploy it during off-peak hours to minimize impact.
C
Set up an Amazon CloudWatch alarm to initiate a rollback in response to a high rate of HTTP 500 errors.
D
Employ API Gateway's canary release feature to gradually route a set percentage of traffic to the new API version.
No comments yet.