PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #231
You are collaborating on a model prototype with your team. You need to create a Vertex AI Workbench environment for the members of your team and also limit access to other employees in your project…
The correct answer is A. 1. Create a new service account and grant it the Notebook Viewer role. To provide team members with a Vertex AI Workbench environment while restricting access, create a new service account and assign it the Notebook Viewer role.
Question
Options
- A
- Create a new service account and grant it the Notebook Viewer role
- B
- Grant the Vertex AI User role to the default Compute Engine service account
- C
- Create a new service account and grant it the Vertex AI User role
- D
- Grant the Vertex AI User role to the primary team member
How the community answered
(41 responses)- A71% (29)
- B10% (4)
- C15% (6)
- D5% (2)
Why each option
To provide team members with a Vertex AI Workbench environment while restricting access, create a new service account and assign it the Notebook Viewer role.
Granting the `Notebook Viewer` role to a service account provides read-only access to Vertex AI Workbench notebooks and instances, which is appropriate for team collaboration on a prototype and aligns with the principle of least privilege to limit access to other employees.
Granting the `Vertex AI User` role to the default Compute Engine service account provides overly broad permissions to a widely used account, which contradicts the goal of limiting access.
Granting the `Vertex AI User` role to a new service account provides broader management permissions for Vertex AI resources, exceeding the requirement for simply viewing and interacting with a Workbench environment.
Granting the `Vertex AI User` role to an individual team member does not facilitate shared environment access management for the team and doesn't explicitly address limiting access for other employees effectively.
Concept tested: Vertex AI Workbench IAM roles
Source: https://cloud.google.com/vertex-ai/docs/general/access-control#iam_roles
Topics
Community Discussion
No community discussion yet for this question.