Docker and CI/CD · Senior · Question 51 of 75
What is the idea behind immutable servers?
- 1Servers are made read-only so nobody can log into them
- 2Servers keep running forever and are never restarted
- ✓Correct answer: Never patch running servers; replace them with new images
Explanation
Hand-made changes cause configuration drift and "snowflake" servers. Rebuilding from versioned images keeps every instance identical and reproducible.