You use Spinnaker to deploy your application and have created a canary deployment stage in the pipeline. Your application has an in-memory cache that loads objects at start time. You want to automate the comparison of the canary version against the production version. How should you configure the canary analysis?
A. Compare the canary with a new deployment of the current production version.
B. Compare the canary with a new deployment of the previous production version.
C. Compare the canary with the existing deployment of the current production version.
D. Compare the canary with the average performance of a sliding window of previous production versions.
Disclaimer
This is a practice question. There is no guarantee of coming this question in the certification exam.
Answer
A
Explanation
https://spinnaker.io/docs/guides/user/canary/best-practices/#compare-canary-against-baseline-not-against-production
“You might be tempted to compare the canary deployment against your current production deployment. Instead, always compare the canary against an equivalent baseline, deployed at the same time.”
The baseline uses the same version and configuration that is currently running in production, but is otherwise identical to the canary:
Same time of deployment
Same size of deployment
Same type and amount of traffic
In this way, you control version and configuration only, and you reduce factors that could affect the analysis, like the cache warmup time, the heap size, and so on.
A. Compare the canary with a new deployment of the current production version.
B. Compare the canary with a new deployment of the previous production version.
C. Compare the canary with the existing deployment of the current production version.
D. Compare the canary with the average performance of a sliding window of previous production versions.