AWS Certified Developer Associate DVA-C02 Practice Question
A software company utilizes AWS Lambda for deploying a mission-critical application. In their upcoming release, they plan to incorporate a canary release strategy to introduce a new feature incrementally while mitigating risks. Assuming they already have a Lambda alias for their production environment, how should the company configure the alias to slowly route a small percentage of user traffic to the new feature while the majority still accesses the stable version?
Adjust the production alias to serve both the old and the new Lambda versions, and configure the alias routing with a small weight towards the new version, gradually increasing it based on the monitoring results.
Deploy the new feature as a new Lambda function and update the production alias configuration to point solely to the new function, relying on Lambda's inherent traffic shifting capabilities.
Configure the Lambda alias to immediately redirect 100% of traffic to the new version to test the new feature in live conditions.
Deploy the new version as a separate Lambda function without an alias and manually invoke the new function to represent a percentage of total traffic.
The team should update their production alias to point to both the old and new versions of the Lambda function and then use version weights within the alias configuration to specify the percentage of traffic that each version receives. This setup allows them to control the traffic flow and incrementally increase the weight towards the new version as confidence in stability increases. Assigning 100% to one version, updating the function code directly, or deploying without aliases, does not provide the gradual traffic shifting capability required for a canary release strategy. Therefore, careful allocation of weights to the alias is the correct approach.
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 canary release strategy in software deployment?
Open an interactive chat with Bash
How does AWS Lambda support traffic shifting for versions?
Open an interactive chat with Bash
What are the risks of not using a canary release strategy?
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...
Information Technology Package Join Premium for Full Access