Ultimate access to all questions.
Your team is introducing new functionality and plans to roll it out gradually to monitor for errors, especially since the update includes significant changes to the user interface. You've decided on a canary deployment using traffic splitting, starting with 15% of your users. How should you configure traffic splitting to ensure users have a consistent experience?
Explanation:
The correct approach is to deploy the new version using the --no-promote
flag to prevent it from receiving all traffic initially. After deployment and testing, traffic can be split using cookies to ensure a consistent user experience. This method is more precise than IP-based splitting. Options A and B are incorrect because deploying without the --no-promote
flag would direct all traffic to the new version immediately. Option C is incorrect because random distribution does not guarantee a consistent user experience.