Certified GitOps Associate (CGOA) Practice Questions

Certified GitOps Associate (CGOA) exam preparation

Certified GitOps Associate (CGOA) practice questions in English: 180 questions with explanations. The mock exam has 60 questions and 90 minutes.

Certified GitOps Associate (CGOA) free question 8 / 10 · Domain 4: GitOps Patterns

With traffic mirroring in Flagger, which response does a user receive, and what happens to the other one?

  1. The user gets the faster of the two responses, and the other one is dropped by the proxy in the mesh
  2. The user gets the two responses in one reply, and the client has to merge them into one result
  3. The user gets the canary's response, and the primary's response is kept for the comparison of the metrics
  4. The user gets the primary's response, and the canary's response is discarded after its metrics are taken
Show the answer and explanation

Answer: D

Why this is correct
The Blue/Green with Traffic Mirroring section says traffic mirroring is a pre-stage in a canary or blue/green deployment strategy. It copies each incoming request, sending one request to the primary and one to the canary service. The response from the primary is sent back to the user and the response from the canary is discarded, while metrics are collected on both requests so that the deployment only proceeds if the canary metrics are healthy.

Why the other options are wrong
"The user gets the canary's response, and the primary's response is kept for the comparison of the metrics" … The page says the response from the primary is sent back to the user, and the response from the canary is discarded.
"The user gets the faster of the two responses, and the other one is dropped by the proxy in the mesh" … The page does not pick a response by speed. The primary answers the user and the canary's response is discarded.
"The user gets the two responses in one reply, and the client has to merge them into one result" … The page says one request goes to the primary and one to the canary, and only the primary's response goes back to the user.

Key points
Mirroring is set with spec.analysis.mirror set to true, and it is supported with Istio and the Gateway API.

Go to the Certified GitOps Associate (CGOA) practice app (10 free questions; purchase unlocks all questions)

See the full practice set