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?
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.
Assign an alias to the new function code and specify the percentage of traffic to distribute to this alias.
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 are AWS Lambda aliases and how do they work?
Open an interactive chat with Bash
What is traffic shifting in AWS Lambda and how is it done?
Open an interactive chat with Bash
Why is it risky to modify environment variables for traffic control?
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