AWS Certified Developer – Associate — Question 76
A company is migrating a legacy application to a serverless application on AWS. The legacy application consists of a set of web services that are exposed by an Amazon API Gateway API. A developer needs to replace the existing implementation of web services with AWS Lambda functions. The developer needs to test a new version of the API that uses the functions in production. The developer must minimize the impact of the testing on the application's users.
Which solution will meet these requirements?
Answer options
- A. Create a beta stage for the new version of the API. Send the updated endpoint to the users.
- B. Create a development stage for the new version of the API. Use a canary deployment.
- C. Create a development stage for the new version of the API. Promote a canary release.
- D. Create a deployment stage. Enable mutual TLS for the new version of the API.
Correct answer: B
Explanation
The correct answer is B, as a canary deployment allows for gradual exposure of the new API version to a small percentage of users, minimizing potential impact on the entire user base. Option A does not provide a testing mechanism that limits user exposure, while options C and D do not specifically address the requirement for minimizing user impact during testing.