
Answer-first summary for fast verification
Answer: Blue/green deployment
Blue/green deployment is the correct strategy for this scenario because it allows for the immediate routing of all production traffic to the new version while keeping the previous version deployed and ready for a quick rollback if necessary. This method involves maintaining two identical production environments, one (blue) running the current version and the other (green) running the new version. Traffic is switched from blue to green once the new version is ready and tested. This approach minimizes downtime and risk, as the switch is instantaneous and the old version remains available for immediate rollback if issues are detected with the new version.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You have a production-deployed application. When deploying a new version, you need to route all production traffic to the new version while keeping the previous version available for rollback in case of issues.
Which deployment strategy should you use?
A
Blue/green deployment
B
Canary deployment
C
Rolling deployment
D
Recreate deployment
No comments yet.