AWS Certified Developer Associate DVA-C02 Practice Question
A developer needs to deploy an updated version of a Lambda function for integration testing while ensuring traffic continues to flow uninterrupted to the current production version. The developer wants to gradually shift a small percentage of traffic to the new version to monitor the update before a full rollout. Which deployment strategy should the developer use to meet these requirements?
Update the Lambda function code directly and send all traffic to the new version
Create a new Lambda function for the new version and route traffic manually
Deploy the new Lambda function version to a separate AWS account and test with mirror traffic
Use Lambda aliases with weighted traffic shifting to direct a percentage of traffic to the new function version
Using Lambda aliases and weighted traffic shifting allows the developer to direct a specific percentage of traffic to the updated Lambda function version while the majority of traffic remains on the current production version. This approach serves the purpose of monitoring the new version's performance and stability during integration testing before moving all traffic over. Other deployment strategies like direct update or setting up a new environment do not provide the capability to gradually shift traffic between different versions of a Lambda function.
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 Lambda aliases and how do they work?
Open an interactive chat with Bash
What is weighted traffic shifting in AWS Lambda?
Open an interactive chat with Bash
What are the advantages of using a gradual deployment strategy for Lambda functions?
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