In a blue-green deployment, if the new version (green) fails after release, what is the immediate rollback action?
Think about how blue-green deployment separates live and new versions.
Blue-green deployment keeps two identical environments. Rollback means switching traffic back to the stable blue environment.
During a canary release, a small percentage of users get the new version. If errors are detected, what is the best rollback approach?
Consider how canary releases limit exposure to new versions.
Rollback in canary releases involves stopping traffic to the new version and reverting users to the stable version to avoid impact.
You have a microservices system using blue-green deployment. To support rollback, what capacity planning approach is best?
Think about how quickly rollback must happen without downtime.
Maintaining full capacity for both environments allows instant rollback without delay or downtime.
Which rollback strategy for databases in microservices has the highest risk of data inconsistency?
Consider what happens to data created after the backup point.
Restoring from backups can lose data created after the backup, causing inconsistency and data loss.
A microservices system uses blue-green deployment with 10 services. Each service takes 30 seconds to switch traffic and 10 seconds to verify health. Estimate the minimum downtime during rollback if services are switched sequentially.
Calculate total time per service and multiply by number of services.
Each service takes 30 + 10 = 40 seconds. For 10 services sequentially: 40 * 10 = 400 seconds. However, downtime is the total time all services are switched, so 400 seconds is correct. Since the question asks minimum downtime during rollback, and switching traffic is sequential, downtime accumulates to 400 seconds.