System Design · Junior · Question 28 of 75
What are dev, staging and production environments for?
- ✓Correct answer: Development, testing on a copy of production, and serving real users
- 2Different programming languages for the frontend, backend and databases
- 3Different browser versions in which the site is tested
Explanation
Staging mirrors production's configuration to catch problems before release. Configuration (API URLs, keys) is passed via environment variables rather than stored in code - a 12-factor app principle.