CS FundamentalsHardProduct-company DevOps interview

A mobile app shows the error rate of a new release, rolled out to 10% of users as a canary, at 1.2% against 0.4% for the old version on the other 90%. The rollout policy says to stop if the canary's error rate is more than twice the baseline. What should the pipeline do?

  1. A. Continue to 50%, since 1.2% is a small number
  2. B. Roll back or halt the canary: 1.2% is three times the baseline, above the 2x threshold
  3. C. Continue, because only 10% of users are affected
  4. D. Promote to 100% to get more data

Correct answer: B. Roll back or halt the canary: 1.2% is three times the baseline, above the 2x threshold

1.2/0.4 = 3x, which breaches the 2x guardrail. Automated canary analysis compares the canary to the baseline on the same metric and stops promotion on regression.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic