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?
Deploy the new Lambda function version to a separate AWS account and test with mirror traffic
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
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
How does weighted traffic shifting benefit deployment strategies?
Open an interactive chat with Bash
Why is creating a new Lambda function not recommended in this scenario?
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...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .