Google Professional Machine Learning Engineer

Google Professional Machine Learning Engineer

Get started today

Ultimate access to all questions.


You recently created a new Google Cloud project and tested submitting a Vertex AI Pipeline job using the Cloud Shell successfully. Now, you want to run your code from a Vertex AI Workbench user-managed notebook instance. After creating the instance and running the code on it, the job fails with an insufficient permissions error. What should you do to resolve this error and successfully run the job from the notebook instance?




Explanation:

The insufficient permissions error suggests that your instance lacks the authorization needed to access Vertex AI Pipelines resources. The required role for ensuring proper access to Vertex AI resources is the Identity and Access Management (IAM) Vertex AI User role. The Vertex AI Notebook Runner role is primarily used for running the notebook code, not for managing or accessing Vertex AI Pipelines resources. Therefore, assigning the IAM Vertex AI User role to the Vertex AI Workbench instance will resolve the permission issue and allow you to run the job successfully.