AWS Certified Developer Associate DVA-C02 Practice Question
A development team is implementing a strategy to gradually introduce a feature update in their serverless function. They wish to monitor the feature's impact by initially exposing it to a small fraction of their user base. Which approach should they employ to control the traffic between the current and new function code?
Assign an alias to the new function code and specify the percentage of traffic to distribute to this alias.
Update the serverless function's execution role to include permissions for accessing the new feature code.
Adjust the serverless function's environment variables to point to the new version for a subset of the user base.
Using an alias for the serverless function that points to the new function version, and configuring traffic shifting to direct a set percentage of user requests to that version, will manage the gradual rollout of the feature. Doing so allows the team to gradually increase the traffic percentage as confidence in the feature grows, while monitoring for unforeseen issues. Directly modifying environment variables or updating the function code without traffic control would result in all traffic immediately using the new feature, which can be risky for a production environment. Modifying the execution role does not relate to traffic routing and would not achieve the desired outcome.
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 is a function alias in AWS Lambda and how is it used?
Open an interactive chat with Bash
How does traffic shifting work with AWS Lambda aliases?
Open an interactive chat with Bash
Why is using an alias for traffic routing safer than modifying environment variables in 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...
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 .