PMLE Automating and Orchestrating ML Pipelines • Set 1
PMLE Automating and Orchestrating ML Pipelines Practice Test 1 — 15 questions with explanations. Free, no signup.
A data scientist creates a custom Python function component for a Vertex AI pipeline using the Kubeflow Pipelines SDK v2. The component takes a string parameter 'input_text' and outputs a Metrics artifact. The scientist wants to include a lightweight Python function without building a container. Which code snippet correctly defines this component?