nerdexam
Google

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.

Submitted by obi.ng· Apr 18, 2026ML pipeline operationalization

Question

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. What should you do?

Options

  • A
    1. Create a new service account and grant it the Notebook Viewer role
  • B
    1. Grant the Vertex AI User role to the default Compute Engine service account
  • C
    1. Create a new service account and grant it the Vertex AI User role
  • D
    1. Grant the Vertex AI User role to the primary team member

How the community answered

(41 responses)
  • A
    71% (29)
  • B
    10% (4)
  • C
    15% (6)
  • D
    5% (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.

A1. Create a new service account and grant it the Notebook Viewer roleCorrect

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.

B1. Grant the Vertex AI User role to the default Compute Engine service account

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.

C1. Create a new service account and grant it the Vertex AI User role

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.

D1. Grant the Vertex AI User role to the primary team member

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

#Vertex AI Workbench#IAM#Service Accounts#Access Control

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-MACHINE-LEARNING-ENGINEER Practice