Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud DevOps Engineer All Questions

View all questions & answers for the Professional Cloud DevOps Engineer exam

Exam Professional Cloud DevOps Engineer topic 1 question 7 discussion

Actual exam question from Google's Professional Cloud DevOps Engineer
Question #: 7
Topic #: 1
[All Professional Cloud DevOps Engineer Questions]

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.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
rinkeshgala1
Highly Voted 3 years, 5 months ago
i guess A
upvoted 16 times
DucLee3110
3 years, 5 months ago
A is correct. https://cloud.google.com/architecture/automated-canary-analysis-kubernetes-engine-spinnaker https://spinnaker.io/guides/user/canary/best-practices/#compare-canary-against-baseline-not-against-production
upvoted 3 times
akg001
3 years, 5 months ago
Agree with - A is the correct one. https://cloud.google.com/architecture/automated-canary-analysis-kubernetes-engine-spinnaker
upvoted 2 times
...
...
giammydell
3 years ago
Correct in the link: "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."
upvoted 3 times
...
...
francisco_guerra
Highly Voted 3 years, 5 months ago
Ans A https://spinnaker.io/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 for version and configuration only, and you reduce factors that could affect the analysis, like the cache warmup time, the heap size, and so on.
upvoted 10 times
MF2C
3 years ago
yes correct
upvoted 1 times
...
AzureDP900
2 years ago
Agree with A
upvoted 1 times
...
...
RuchiMishra
Most Recent 1 month, 4 weeks ago
Selected Answer: A
Explanation taking into account the in-memory cache: In-memory Cache Impact: The in-memory cache loading at start time means that both the canary and the current production version could have different data in their caches. This difference could skew the comparison if you compare the canary directly to the existing production version (Option C). Leveling the Playing Field: By deploying a fresh instance of the current production version (Option A), you ensure that both the canary and the comparison baseline have the same starting point in terms of cache data. This makes the comparison more accurate and reliable.
upvoted 1 times
...
JonathanSJ
1 year, 10 months ago
Selected Answer: A
Answer A
upvoted 1 times
...
floppino
1 year, 11 months ago
Selected Answer: A
Ans: A
upvoted 1 times
...
hanweiCN
2 years ago
and apply " a new deployment production " for analysis is against canary test purpose.
upvoted 1 times
...
hanweiCN
2 years ago
i think i will go with D the baseline version must have : Ensure that the baseline and production versions of your application are identical. Deploy the baseline version at the same time that you deploy the canary. Ensure that the baseline deployment (such as the number of application instances and autoscaling policies) matches the canary deployment. Use the baseline version to serve the same traffic as the canary. in this case , the " new deployment of production" as a baseline version is violating the third rules ? the new deployment of production is not matching canary deployment
upvoted 1 times
...
abhishrek
2 years ago
A is correct
upvoted 1 times
...
AzureDP900
2 years ago
A is right 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 for version and configuration only, and you reduce factors that could affect the analysis, like the cache warmup time, the heap size, and so on.
upvoted 2 times
...
zellck
2 years, 1 month ago
Selected Answer: A
A is the answer. https://cloud.google.com/architecture/application-deployment-and-testing-strategies#canary_test_pattern We recommend that you compare the canary against an equivalent baseline and not the live production environment.
upvoted 1 times
...
Vlad_dryha
2 years, 1 month ago
Selected Answer: A
answer is A
upvoted 1 times
...
GCP72
2 years, 4 months ago
Selected Answer: A
Ans : A
upvoted 1 times
...
Halimb
2 years, 4 months ago
Selected Answer: A
Correct with most comments here. It must be A.
upvoted 1 times
...
americoleonardo
2 years, 6 months ago
Selected Answer: A
A is ok
upvoted 1 times
...
gomezzang
2 years, 7 months ago
A is correct!!!
upvoted 1 times
...
gcpz
2 years, 10 months ago
Selected Answer: A
A is the correct answer
upvoted 1 times
...
alaahakim
2 years, 11 months ago
Ans : A
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...