Swiss Re Interview Question

How do you maintain the code in different environments (development, production, test)?