Google Cloud Professional Machine Learning Engineer — Question 92

You are the Director of Data Science at a large company, and your Data Science team has recently begun using the Kubeflow Pipelines SDK to orchestrate their training pipelines. Your team is struggling to integrate their custom Python code into the Kubeflow Pipelines SDK. How should you instruct them to proceed in order to quickly integrate their code with the Kubeflow Pipelines SDK?

Answer options

Correct answer: A

Explanation

The correct answer is A, as using the func_to_container_op function allows the team to directly convert their Python functions into components that can be used in Kubeflow Pipelines. Options B, C, and D involve more complex processes that do not directly address the integration of custom Python code with the SDK as efficiently as option A.