PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #282
You recently created a new Google Cloud project. After testing that you can submit a Vertex AI Pipeline job from the Cloud Shell, you want to use a Vertex AI Workbench user-managed notebook instance…
The correct answer is C. Ensure that the Vertex AI Workbench instance is assigned the Identity and Access Management. When a Vertex AI Workbench notebook fails with insufficient permissions, ensure the notebook's underlying service account has the necessary IAM roles to interact with Vertex AI services.
Question
Options
- AEnsure that the Workbench instance that you created is in the same region of the Vertex AI
- BEnsure that the Vertex AI Workbench instance is on the same subnetwork of the Vertex AI
- CEnsure that the Vertex AI Workbench instance is assigned the Identity and Access Management
- DEnsure that the Vertex AI Workbench instance is assigned the Identity and Access Management
How the community answered
(17 responses)- A6% (1)
- B12% (2)
- C76% (13)
- D6% (1)
Why each option
When a Vertex AI Workbench notebook fails with insufficient permissions, ensure the notebook's underlying service account has the necessary IAM roles to interact with Vertex AI services.
The region of the Workbench instance does not typically cause an 'insufficient permissions' error; permissions are managed via IAM roles.
The subnetwork configuration of the Workbench instance is related to network access, not directly to 'insufficient permissions' for Vertex AI services.
The 'Vertex AI User' IAM role grants permissions to manage and use Vertex AI resources, including submitting pipeline jobs, which is required for the Workbench instance's service account to successfully interact with other Vertex AI services.
The 'Service Account User' role allows impersonating a service account, but the Workbench instance's own service account needs the direct permissions to perform Vertex AI operations.
Concept tested: Vertex AI Workbench IAM permissions
Source: https://cloud.google.com/vertex-ai/docs/workbench/user-managed/create-instance#permissions
Topics
Community Discussion
No community discussion yet for this question.