DVA-C02 · Question #215
DVA-C02 Question #215: Real Exam Question with Answer & Explanation
The correct answer is A: Configure routing on the alias of the new function by using a weighted alias.. Weighted aliases allow you to route traffic to different versions of a function based on weights that you assign. This allows you to implement a canary deployment, where you initially route a small percentage of your traffic to the new version of the function, and then gradually
Question
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?
Options
- AConfigure routing on the alias of the new function by using a weighted alias.
- BConfigure a canary deployment type for Lambda.
- CConfigure routing on the new versions by using environment variables.
- DConfigure a linear deployment type for Lambda.
Explanation
Weighted aliases allow you to route traffic to different versions of a function based on weights that you assign. This allows you to implement a canary deployment, where you initially route a small percentage of your traffic to the new version of the function, and then gradually increase the percentage as you gain confidence in the new version.
Community Discussion
No community discussion yet for this question.