System Design · Junior · Question 28 of 75

What are dev, staging and production environments for?

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.

Further reading

Problem with a question

System Design · Junior · question 28

Test yourself

Take the System Design · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz