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 10 / 10 · Domain 5: Tooling

A team wants a Flux Alert to forward only events of the error severity. What does the Flux documentation say to do?

  1. Leave `.spec.eventSeverity` unset, as errors are the events that are forwarded by default to the provider
  2. Set `.spec.eventSeverity` to info to limit the forwarded events to the important ones
  3. Set `.spec.exclusionList` to a regular expression that matches the word info in the message
  4. Set `.spec.eventSeverity` to error, as the unset value and info forward the errors with the others
Show the answer and explanation

Answer: D

Why this is correct
The Event severity section says .spec.eventSeverity is an optional field to filter events based on severity. When it is not specified, or when the value is set to info, all events are forwarded to the alert provider API, including errors. To receive alerts only on errors, set the field value to error.

Why the other options are wrong
"Leave .spec.eventSeverity unset, as errors are the events that are forwarded by default to the provider" … The page says that when the field is not specified, or set to info, all events are forwarded, including errors.
"Set .spec.eventSeverity to info to limit the forwarded events to the important ones" … The page says that the value info forwards all events to the alert provider API, including errors.
"Set .spec.exclusionList to a regular expression that matches the word info in the message" … The exclusion list filters events by message content with regular expressions. The severity field is the one that filters by severity.

Key points
When .spec.eventSeverity is not specified or is info, all events are forwarded to the alert provider API, including errors.

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

See the full practice set