AWS Certified Developer – Associate (DVA-C02) — Question 196

A company has a serverless application on AWS that uses a fleet of AWS Lambda functions that have aliases. The company regularly publishes new Lambda function by using an in-house deployment solution. The company wants to improve the release process and to use traffic shifting. A newly published function version should initially make available only to a fixed percentage of production users.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

The correct answer is A because configuring routing on the alias with a weighted alias allows for traffic shifting to a specific percentage of users. Option B, canary deployment, is not the most straightforward approach for this specific requirement, while options C and D do not provide the necessary functionality for controlling user traffic distribution.