Certified Argo Project Associate (CAPA) Practice Questions

Certified Argo Project Associate (CAPA) exam preparation

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

Certified Argo Project Associate (CAPA) free question 3 / 10 · Domain 1: Argo Workflows

In a DAG with default settings, one task fails while two other independent branches are still running and a third branch has not started. What happens?

  1. The failed task is retried until it succeeds, and the DAG continues with the third branch afterward
  2. No new tasks are scheduled, the running tasks are allowed to complete, and then the DAG is marked as failed
  3. The unstarted branch is still scheduled, and the DAG is marked as failed after the other branches have run
  4. The running tasks are killed right away, and the DAG is marked as failed without waiting for them
Show the answer and explanation

Answer: B

Why this is correct
The Fail Fast section says that by default DAGs fail fast: when one task fails, no new tasks will be scheduled. Tasks that are already running are not interrupted, and once all running tasks are completed the DAG is marked as failed. The unstarted branch in the scenario therefore never starts.

Why the other options are wrong
"The running tasks are killed right away, and the DAG is marked as failed without waiting for them" … The page says the DAG waits for running tasks to complete before it is marked as failed. It does not describe killing them.
"The unstarted branch is still scheduled, and the DAG is marked as failed after the other branches have run" … That is the behavior with failFast set to false. By default no new tasks are scheduled after a failure.
"The failed task is retried until it succeeds, and the DAG continues with the third branch afterward" … Retries come from a retryStrategy. Fail fast describes scheduling after a task failure and does not retry anything.

Key points
Default is fail fast: stop scheduling, let running tasks finish, then mark failed.

Go to the Certified Argo Project Associate (CAPA) practice app (10 free questions; purchase unlocks all questions)

See the full practice set