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?
- A. Continue to 50%, since 1.2% is a small number
- B. Roll back or halt the canary: 1.2% is three times the baseline, above the 2x threshold
- C. Continue, because only 10% of users are affected
- 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.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- Assertion (A): A test suite that mocks every collaborator of every class can pass while the integrated system fails. Reason (R): Mocks…
- A single-page app makes 30 sequential API calls to render a dashboard, each taking about 40 ms of network round trip. The team cannot…
- A Scrum team's velocity over 6 sprints was 20, 22, 35, 21, 23 and 19 points; sprint 3 included a one-off batch of over-estimated stories…
- An enterprise service-level agreement promises 99.95% monthly availability with service credits, the internal SLO is 99.99%, and the…
- A team makes 'Developers must not deploy on Fridays' a rule after two weekend outages. A senior engineer argues the rule treats the…
- A brand-new repository's first commit contains a.txt (content 'hello'), src/b.txt and src/c.txt, where b.txt and c.txt have identical…