Docker and CI/CD · Senior · Question 46 of 75
When is rolling forward preferred over rolling back?
- 1Only when the deploy happened more than a week ago
- 2Always, because rolling back is never supported by tools
- ✓Correct answer: When the change, like a migration, can't be safely undone
Explanation
Rollback is fastest when it's safe. With irreversible data changes, a quick fix deployed through a fast pipeline is often the safer recovery.