PMLE Automating and Orchestrating ML Pipelines • Timed 30 Questions
This is a timed practice session. You have 30 minutes to answer 30 questions — approximately 1 minute per question, matching real PMLE exam pace. Answer every question before time expires.
Time remaining
30:00
Exam-pace drill
Allow 1 minute per question. On the real PMLE exam you have approximately 72 seconds per question — this session trains you to maintain that pace under pressure.
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?