Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Observability & productionMiddleOccasionalPractical

What should post-deployment production smoke tests verify beyond a 200 health response?

Answer

Verify the intended version and configuration, a small set of critical user paths, authentication and authorization, an authoritative read and safe write where feasible, dependency connectivity and the telemetry needed to diagnose failures. Use identifiable synthetic accounts or idempotent data with cleanup and strict rate limits. Compare key signals with the pre-deploy baseline, confirm alarms and rollback criteria, and avoid tests that trigger real notifications, payments or other harmful side effects.

Strong answer includes

  • checks version, configuration and critical outcomes
  • uses safe identifiable synthetic data
  • connects results to rollback criteria

Practical example

After deploying a new version of an e-commerce API, the smoke suite checks the /version endpoint matches the deployed build, logs in as a dedicated synthetic test user tagged is_synthetic=true, adds a real item to the cart, and completes checkout using a test payment method the provider treats as non-charging, then deletes the resulting test order. It also compares the error rate for the five minutes after deploy against the five minutes before, and if it rises past a threshold, the pipeline automatically triggers a rollback instead of waiting for a human to notice.

#deployment#smoke-testing#production#rollback

Sources

Google SRE booksGoogle · Reliability, SLOs, monitoring, incidents and resilienceDORA research programGoogle Cloud · Software delivery performance (current five-metric model) and organizational capabilities