Q54 — AWS DVA-C02 Ch.3
Question 54 of 100 | ← Chapter 3
A company’s new mobile application uses Amazon API Gateway. When the development team completes a new version of the API, developers must deploy the API changes safely and transparently. What is the simplest solution for developers to release the new API version to a limited number of users using API Gateway?
- A. Create a new API in API Gateway. Use an Amazon Route 53 weighted routing policy to route a portion of traffic to the new API.
- B. Validate the new API version and promote it to production during the window of lowest expected utilization.
- C. Implement Amazon CloudWatch alarms to trigger rollback when the observed HTTP 500 status code rate exceeds a predefined threshold.
- D. Use the canary release deployment option in API Gateway. Use the canarySettings to route a percentage of API traffic. ✓
Correct Answer: D. Use the canary release deployment option in API Gateway. Use the canarySettings to route a percentage of API traffic.
Explanation
Canary release is a proven, low-risk deployment strategy. API Gateway’s built-in canary release feature, configured via canarySettings, allows precise, incremental traffic shifting to the new API version—enabling safe validation with real user traffic before full rollout. Option A introduces unnecessary complexity with separate APIs and DNS-level routing. Option B lacks granular control and monitoring during rollout. Option C addresses failure response but not controlled initial deployment. Therefore, Option D is the simplest and most direct solution.