🔥 3-day streak
Professional Machine Learning Engineer149 / 166
Question 149 of 166
You have a Vertex AI Pipeline built with the Kubeflow Pipelines (KFP v2) SDK. The pipeline trains a model, evaluates it, and conditionally uploads it to the Model Registry only if accuracy exceeds a threshold. Occasionally the training component fails partway through, leaving temporary artifacts in a staging Cloud Storage bucket. The team wants two behaviors: (1) skip the upload step when accuracy is below the threshold, and (2) always run a cleanup step that deletes the staging artifacts, regardless of whether any upstream component succeeds or fails. Which combination of KFP constructs correctly implements both requirements?
Reviewed for accuracy · Report an issueNext question