Google Cloud Professional Cloud DevOps Engineer — Question 7

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?

Answer options

Correct answer: A

Explanation

The correct answer is A because comparing the canary with a new deployment of the current production version allows for an accurate assessment of how the canary performs against the most up-to-date version. Options B and C do not provide a relevant comparison, as they either reference an outdated version or the existing version without new deployment context. Option D introduces a sliding window that complicates the analysis without focusing on the current production state.