CS FundamentalsVery hardGATE CS · TCS NQT Prime · Product Company SDE

Why is 'testing in production' (e.g. canary releases combined with real monitoring) increasingly used alongside, not instead of, pre-release testing?

  1. A. Because pre-release testing is now considered completely obsolete
  2. B. Some issues (real traffic patterns, scale, third-party integration quirks) are impractical to fully reproduce in a staging environment, but production testing must still be paired with safe rollout controls (like canaries) to limit blast radius
  3. C. Because it is always cheaper than any other form of testing
  4. D. Because it removes the need for any monitoring

Correct answer: B. Some issues (real traffic patterns, scale, third-party integration quirks) are impractical to fully reproduce in a staging environment, but production testing must still be paired with safe rollout controls (like canaries) to limit blast radius

Certain classes of problems only surface under genuine production conditions, so teams combine careful progressive rollout (canary, feature flags) with real-user monitoring to catch these safely, without abandoning earlier test stages.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic