What does testing in production mean, and how would you do it safely?
What the interviewer wants to hear
- Complements pre-release testing, does not replace it
- Synthetic monitoring of key journeys
- Feature flags, canary releases and gradual rollout
- Test accounts and data isolated from real users
- Observability with alerts and quick rollback
Model answer
Testing in production means checking the real system with real infrastructure, data volumes and integrations, which staging can never fully match. It adds to pre-release testing; it does not replace it. One part is synthetic monitoring: automated scripts, often the same Playwright journeys, run every few minutes in production using dedicated test accounts, for example logging in and searching, and alert if they fail. Another part is safe release practices: feature flags so a feature can be turned on for internal users first, canary releases to a small percentage of traffic, and automatic rollback if error rates or latency rise. Test data must be clearly marked and isolated, so test orders are never shipped or counted in revenue. Strong observability, with logs, metrics and traces, makes problems visible quickly. Destructive tests, like heavy load, need careful planning and approval.
Can you answer it under time pressure?
Take a timed hard round and get scored on every answer.
More hard Automation Test Engineer questions
- Design a test automation strategy for a product with 15 microservices, a web app and a mobile app.
- Your regression suite has grown to 3 hours. How do you bring feedback time under 15 minutes?
- What is your view on AI-based and self-healing test automation tools in 2026?
- Developers keep changing the UI and breaking your tests. How do you fix this at the team level, not just in your code?
- How do you measure whether your test automation is healthy and worth the investment?
- Your company has 2,000 Selenium tests and wants to move to Playwright. How would you plan the migration?
- The E2E suite fails on about 30% of runs and developers now ignore it. How do you turn this around?
- How do you design automated tests for an event-driven microservices system where services talk through a message broker?
- Your product adds an AI assistant built on a large language model. Its answers vary between runs. How would you automate testing for it?