AWS Certified Developer Associate DVA-C02 Practice Question
A development team needs to redirect a portion of live traffic to a new version of an AWS Lambda function to test its behavior under load while maintaining the stability of their production environment. Which feature of AWS Lambda should the team use to achieve this goal without affecting all users at once?
Create an alias for the Lambda function and configure weighted traffic distribution between the production version and the new version.
Use an environment variable to redirect a portion of traffic to a different Lambda function.
Reference the new version of the Lambda function using its Amazon Resource Name (ARN) with a specific ratio in the production environment.
Use the $LATEST version of the Lambda function to gradually shift traffic to the new version.
Aliases in AWS Lambda enable developers to split traffic between multiple versions of a function. An alias is like a pointer to a specific Lambda function version but with the added capability of weighting traffic distribution. This allows the team to test the new function version with a subset of users before fully transitioning. Using $LATEST for this purpose would not address the requirement, as $LATEST always points to the latest uploaded version of the function rather than directing traffic between versions. On the other hand, ARNs and environment variables are used for identifying resources and configuration, not for traffic shifting.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are aliases in AWS Lambda, and how do they work?
Open an interactive chat with Bash
What is weighted traffic distribution, and how is it implemented in AWS Lambda?
Open an interactive chat with Bash
What is the difference between the $LATEST version and specific versions in AWS Lambda?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Deployment
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access