nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #124

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Question #124: Real Exam Question with Answer & Explanation

The correct answer is A: Compare the canary with a new deployment of the current production version.. Because the application uses an in-memory cache loaded at start time, the canary and its baseline comparison target must be on equal footing - both freshly started so both have the same warm-up state. Comparing the canary against a newly deployed instance of the current productio

Submitted by kev92· Apr 18, 2026Building and implementing CI/CD pipelines for a service

Question

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?

Options

  • ACompare the canary with a new deployment of the current production version.
  • BCompare the canary with a new deployment of the previous production version.
  • CCompare the canary with the existing deployment of the current production version.
  • DCompare the canary with the average performance of a sliding window of previous production

Explanation

Because the application uses an in-memory cache loaded at start time, the canary and its baseline comparison target must be on equal footing - both freshly started so both have the same warm-up state. Comparing the canary against a newly deployed instance of the current production version (A) ensures both are starting cold, giving a fair apples-to-apples comparison. Option C (existing production deployment) is wrong because the existing instance's cache is already warmed and its performance may differ due to runtime state. Option B (previous version) would detect regressions, not equivalence. Option D (sliding window average) does not account for cache warm-up bias.

Topics

#Canary deployments#Spinnaker#CI/CD pipelines#Performance analysis

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER PracticeBrowse All PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Questions