
Answer-first summary for fast verification
Answer: Creating a function alias to manage traffic distribution between Lambda function versions.
The correct answer is B. By creating a function alias in AWS Lambda, you can configure the alias to distribute traffic between the two versions of the Lambda function. This approach is designed specifically for this purpose and is more efficient and cost-effective than other options. Using a function alias allows you to easily control and adjust the traffic distribution, reducing deployment risks.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
How can a developer test a new AWS Lambda function version by splitting traffic between the current and new versions?
A
Using Amazon Route 53 to set up a weighted routing policy for Lambda function versions.
B
Creating a function alias to manage traffic distribution between Lambda function versions.
C
Utilizing an Application Load Balancer to direct traffic to different Lambda function versions.
D
Implementing the new Lambda function as a layer on the existing version to control traffic split.