Q98 — AWS DVA-C02 Ch.2
Question 98 of 100 | ← Chapter 2
A company is migrating a legacy application to a serverless application on AWS. The legacy application includes a web service exposed via an Amazon API Gateway API. Developers want to replace the existing web service implementation with AWS Lambda functions. Developers need to test the new version of the API in production while minimizing impact on application users. Which solution meets these requirements?
- A. Create a beta stage for the new API version. Send the updated endpoint to users.
- B. Create a development stage for the new API version. Use canary deployment. ✓
- C. Create a development stage for the new API version. Promote the canary version.
- D. Create a deployment stage. Enable mutual TLS for the new API version.
Correct Answer: B. Create a development stage for the new API version. Use canary deployment.
Explanation
Option B is the safer approach because it allows controlled, gradual traffic routing under the developer’s control rather than exposing users directly to untested changes.